beautypg.com

Enabling gre encapsulation on a tunnel interface – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 120

background image

Syntax: [no] tunnel source { ip-address | ethernet portnum | venumber | loopback number }

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

The ethernet portnum variable is the source slot (chassis devices only) and port number of the
physical interface being configured for the specified tunnel, for example 3/1.

The ve number variable is the VE interface number being configured for the specified tunnel.

Deleting an IP address from an interface configured as a tunnel source

To delete an IP address from an interface that is configured as a tunnel source, first remove the tunnel
source from the tunnel interface then delete the IP address, as shown in the following example.

device(config-if-e1000-1/3)# interface tunnel 8

device(config-tnif-8)# no tunnel source 10.1.83.15

device(config-tnif-8)# interface ethernet 1/3

device(config-if-e1000-1/3)# no ip address 10.1.83.15/24

If you attempt to delete an IP address without first removing the tunnel source, the console will display
an error message, as shown in the following example.

device# config terminal

device(config)# interface ethernet 1/3

device(config-if-e1000-1/3)# no ip address 10.1.83.15/24

Error - Please remove tunnel source from tnnl 8 before removing IP address

NOTE
The previous error message will also display on the CLI when an interface is part of a VLAN. A VLAN
cannot be deleted until the tunnel source is first removed.

Configuring the destination address for a tunnel interface

The destination address should be the address of the IP interface of the device on the other end of the
tunnel.

To configure the destination address for a specific tunnel interface, enter commands such as the
following.

device(config)# interface tunnel 1

device(config-tnif-1)# tunnel destination 131.108.5.2

Syntax: [no] tunnel destination ip-address

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

NOTE
Ensure a route to the tunnel destination exists on the tunnel source device. Create a static route if
necessary.

Enabling GRE encapsulation on a tunnel interface

To enable GRE encapsulation on a tunnel interface, enter commands such as the following.

device(config)# interface tunnel 1

device(config-tnif-1)# tunnel mode gre ip

Deleting an IP address from an interface configured as a tunnel source

120

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

53-1003087-04