interfaces tunnel <tunx> parameters ip key <key>
Defines an authentication key for a tunnel interface.
No key is configured; authentication is not required.
- tunx
- The identifier of a tunnel interface. The identifier ranges from tun0 through tunx, where x is a nonnegative integer.
- key
- A key for authenticating the local endpoint to the remote endpoint. The key must match on both ends of the connection for the tunnel to be established.
Configuration mode
interfaces {
tunnel tunx {
parameters {
ip {
key key
}
}
}
}
Use this command to provide a simple password-like numeric key for authenticating tunnel endpoints to each other. For the tunnel to be established, keys must be identical at both ends of the tunnel.
Use the set form of this command to define an authentication key for a tunnel interface.
Use the delete form of this command to delete the authentication key for a tunnel interface.
Use the show form of this command to display the authentication key for a tunnel interface.