Configuring an ip address for a tunnel interface, Configuring keep alive support, Configuring a ttl value – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 746

Advertising
background image

716

Multi-Service IronWare Switching Configuration Guide

53-1003036-02

GRE IP tunnel

19

Configuring a tunnel interface for GRE encapsulation

To configure a specified tunnel interface for GRE encapsulation, enter the following command.

Brocade(config)# interface tunnel 1

Brocade(config-tnif-1)tunnel mode gre ip

Syntax: [no] tunnel mode gre ip

The gre parameter specifies that the tunnel will use GRE encapsulation

The Ip parameter specifies that the tunnel protocol is IP.

Configuring an IP address for a tunnel interface

To configure an IP address for a specified tunnel interface, enter the following command.

Brocade(config)# interface tunnel 1

Brocade(config-tnif-1)ip address 10.10.3.1/24

Syntax: [no] ip address ip-address

The ip-address variable is the IP address being configured for the specified tunnel interface.

Configuring keep alive support

This parameter is optional. It lets the device maintain a tunnel in an up or down state based upon
the periodic sending of keep alive packets and the monitoring of responses to the packet. If the
packets fail to reach the tunnel’s far end more frequently than the configured number of retries,
the tunnel is placed in a down state. A keep alive packet is a GRE IP packet with no payload.

To configure the keep alive option, enter the following command.

Brocade(config)# interface tunnel 1

Brocade(config-tnif-1)keepalive 5 4

Syntax: [no] keepalive seconds retries

The seconds variable specifies the number of seconds between each initiation of a keep alive
message. The range for this interval is 1 – 32767 seconds. The default value is 10 seconds.

The retries variable specifies the number of times that a packet is sent before the system places
the tunnel in the down state. Possible values are from 1 – 255. The default number of retries is 3.

Configuring a TTL value

This is an optional parameter that allows you to set the Time-to-Live value for the outer IP header of
the GRE tunnel packets.

To configure the TTL value, enter the following command.

Brocade(config)# interface tunnel 1

Brocade(config-tnif-1)tunnel ttl 100

Syntax: [no] tunnel ttl ttl-value

The ttl--value variable specifies a TTL value for the outer IP header. Possible values are 1 - 255. The
default value is 255.

Advertising