Creating a tunnel interface – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 119

Advertising
background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

101

53-1002603-01

IPv4 point-to-point GRE tunnels

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 the “Assigning a port name” section in the Brocade ICX 6650 Administration Guide.

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 192.168.10.8

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 1/1/3 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 1/1/3

Syntax: [no] tunnel source ip-address | ethernet portnum | ve number

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

The ethernet portnum variable is the stack unit, source slot and port number of the physical
interface being configured for the specified tunnel, for example 1/1/3.

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

Advertising