tunnel key

Last Updated : Nov 06, 2012 |

Instructs the router to send GRE packets with a security key number. The tunnel endpoint must also be configured to use a security key, and the key numbers must be identical. If a security key is not configured on the tunnel endpoint, or a different key number is used, the packets are discarded. Use no tunnel key to specify that no security key should be sent.

Syntax

tunnel key key_id

no tunnel key

Parameters

Parameter

Description

Possible Values

Default Value

key_id

The ID number of the security key to be sent with GRE packets

0-2147483647

User level

read-write

Context

Interface: Tunnel (L2, L2-L3)

Example

To instruct the router to send GRE packets with security key number 7:

Gxxx-001(super)# tunnel key 7