Command Reference Guide

44gre key 3Com Router 5000 Family and Router 6000 Family
Command Reference
gre key
Purpose Use the gre key command to set identification keyword of the tunnel interface, and
by this feeble security mechanism avoid incorrectly identifying or receiving packets
from undesired places.
Use the undo gre key command to delete this configuration.
Syntax gre key key-number
undo gre key
Parameters key-number
Identification keyword of the two ends of the tunnel.
Valid values are any integer 0 to 4294967295.
Default By default, the system does not assign identification keyword to the tunnel in use.
Example Set up a tunnel between the router 3Com1 and the router 3Com2 and set the
identification keyword of the tunnel.
[3Com1-Tunnel3] gre key 123
[3Com2-Tunnel2] gre key 123
View This command can be used in the following views:
Tunnel interface view
Description Regarding the setting of key-number, you are required either to specify the same
key-number at both ends of the tunnel or to specify it at neither of the two ends.
Related Command: interface tunnel