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 1/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 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 configured for the specified tunnel.
The
ethernet
unit
/
slot
/
port
parameter identifies a physical interface being configured for the specified tunnel, for example 1/3/1.
The ve
number
variable is the VE interface number being configured for the specified tunnel.
IPv4 point-to-point GRE tunnels
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
109
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...