Creating a tunnel interface – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual
Page 119

Creating a tunnel interface
To create a tunnel interface, enter the following command at the Global CONFIG level of the CLI.
device(config)# interface tunnel 1
device(config-tnif-1)#
Syntax: [no] interface tunnel tunnel-number
The tunnel-number is a numerical value that identifies the tunnel being configured.
NOTE
You can also use the port-name command to name the tunnel. To do so, follow the configuration
instructions in "Assigning a port name" section in the FastIron Ethernet Switch Administration Guide .
Assigning a VRF routing instance to a GRE tunnel interface
A GRE tunnel interface can be assigned to an existing user defined VRF. When the VRF is configured
on a tunnel, all IPv4 and IPv6 addresses are removed. The tunnel loopback configuration is removed.
To assign the VRF named VRF1 to tunnel 1, enter the following commands.
Brocade(config)# interface tunnel 1
Brocade(config-tnif-l)# vrf forwarding VRF1
Syntax: [no] vrf forwarding vrf-name
The vrf-name variable is the name of the VRF that the interface is being assigned to.
Configuring the source address or source interface for a tunnel interface
To configure the source for a tunnel interface, specify either a source address or a source interface.
NOTE
If the destination address for a tunnel interface is not resolved, Brocade recommends that you either
configure the source interface (instead of the source address ) as the source for a tunnel interface, or
enable GRE link keepalive on the tunnel interface.
The tunnel source address should be one of the router IP addresses configured on a physical,
loopback, or VE interface, through which the other end of the tunnel is reachable.
To configure the source address for a specific tunnel interface, enter commands such as the following.
device(config)# interface tunnel 1
device(config-tnif-1)# tunnel source 10.0.8.108
The source interface should be the port number of the interface configured on a physical, loopback, or
VE interface. The source interface should have at least one IP address configured on it. Otherwise, the
interface will not be added to the tunnel configuration and an error message similar to the following will
be displayed:
ERROR - Tunnel source interface 3/1 has no configured IP address.
To configure the source interface for a specific tunnel interface, enter commands such as the following.
device(config)# interface tunnel 1
device(config-tnif-1)# tunnel source ethernet 3/1
Creating a tunnel interface
FastIron Ethernet Switch Layer 3 Routing Configuration Guide
119
53-1003087-04