Configuration Guide User guide

FastIron Configuration Guide 1051
53-1002494-02
IPv4 point-to-point GRE tunnels
Increasing the cost of routes learned on the port (CLI command ip metric) – for configuration
details, refer to “Changing the cost of routes learned on a port” on page 1203.
After performing the configuration steps listed in Table 179, you can view the GRE configuration
and observe the routes that use GRE tunnels. For details, refer to “Displaying GRE tunneling
information” on page 1059.
Creating a tunnel interface
To create a tunnel interface, enter the following command at the Global CONFIG level of the CLI.
Brocade(config)# interface tunnel 1
Brocade(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” on page 40.
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 source interface (instead of 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.
Brocade(config)# interface tunnel 1
Brocade(config-tnif-1)# tunnel source 36.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.
Brocade(config)# interface tunnel 1
Brocade(config-tnif-1)# tunnel source ethernet 3/1
Syntax: [no] tunnel source <ip-address> | ethernet <portnum> | ve <number> | loopback
<number>
The <ip-address> variable is the source IP address being configured for the specified tunnel.