Command Reference Guide
Command Reference Guide Tunnel Configuration Command Set
5991-2114 © Copyright 2005 Hewlett-Packard Development Company, L.P. 806
tunnel key <value>
Use the tunnel key command to specify a value shared by both endpoints of the tunnel that will provide
minimal security and delineate between tunnels with the same source and destination addresses. Use the no
form of this command to disable the key.
Syntax Description
<value> Defines the key value for this tunnel (valid range: 1 to 4294967294).
Default Values
By default, a key is not configured.
Command Modes
(config-tunnel x)# Tunnel Interface Configuration Mode
Functional Notes
A matching key value must be defined on both endpoints of the tunnel or packets will be discarded.
Usage Examples
The following example sets the key on a tunnel interface to a value of 1234:
(config)#interface tunnel 1
(config-tunnel 1)#tunnel key 1234
Technology Review
When enabled, the key will be stored in the GRE header and the key present bit will be set.