NOTE
You can also use the port-name command to name the tunnel. To do so, follow the conguration 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 dened VRF. When the VRF is congured on a tunnel, all IPv4 and IPv6
addresses are removed. The tunnel loopback conguration 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.
Conguring the source address or source interface for a tunnel interface
To
congure 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 congure 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 congured on a physical, loopback, or VE interface, through which
the other end of the tunnel is reachable.
To congure the source address for a specic 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 congured on a physical, loopback, or VE interface. The source interface
should have at least one IP address congured on it. Otherwise, the interface will not be added to the tunnel conguration and an error
message similar to the following will be displayed:
ERROR - Tunnel source interface 1/3/1 has no configured IP address.
To
congure the source interface for a specic tunnel interface, enter commands such as the following.
device(config)# interface tunnel 1
device(config-tnif-1)# tunnel source ethernet 1/3/1
Syntax: [no] tunnel source { ip-address | ethernet unit / slot / port | ve number | loopback number }
The ip-address variable is the source IP address being congured for the specied tunnel.
The ethernet unit / slot / port parameter identies a physical interface being congured for the specied tunnel, for example 1/3/1.
The ve number variable is the VE interface number being congured for the specied tunnel.
IPv4 point-to-point GRE tunnels
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04 109