Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 2 GRE Configuration Commands
3Com Corporation
2-5
Related command: interface tunnel.
Example
# Set up a tunnel between the interface serial 3/0/1 of the router Quidway1 and the
interface serial 2/1/1 of the router Quidway2 and enable checksum on both ends of the
tunnel.
[Quidway1-Tunnel3] gre checksum
[Quidway2-Tunnel2] gre checksum
2.1.5 gre key
Syntax
gre key key-number
undo gre key
view
Tunnel interface view
Parameter
key-number: Identification keyword of the two ends of the tunnel, an integer ranging
from 0 to 4294967295.
Description
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.
By default, the system does not assign identification keyword to the tunnel in use.
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.
Example
# Set up a tunnel between the router Quidway1 and the router Quidway2 and set the
identification keyword of the tunnel.
[Quidway1-Tunnel3] gre key 123
[Quidway2-Tunnel2] gre key 123










