tunnel keyword (S-, K-Series)

Use this command to configure a GRE keyword for the tunnel.

Syntax

tunnel keyword keyword
no tunnel keyword

Parameters

keyword Specifies the GRE keyword for the tunnel. Valid values are 0 - 4294967295.

Defaults

None.

Mode

Tunnel Interface Configuration command mode.

Usage

The GRE keyword, as defined in RFC 2890, is a four octet number inserted by the encapsulator. It may be used by the receiver to authenticate the source of the packet. If a GRE keyword is configured at either end of the tunnel, the keyword configuration must match at both ends of the tunnel. If a mis-match occurs, packets are dropped and an asterisk (*) is displayed to the left of the show tunnel command tunnel entry.

The keyword configuration is only used in GRE tunnel mode.

Use the “no” option for this command to remove the GRE keyword for the tunnel.

Example

This example shows how to set the GRE keyword to 123456 for tunnel 1:

System(rw)->configure
System(rw-config)->interface tunnel 1
System(rw-config-intf-tun.0.1)->tunnel keyword 123456
System(rw-config-intf-tun.0.1)->