Configuration Guide User guide
FastIron Configuration Guide 1053
53-1002494-02
IPv4 point-to-point GRE tunnels
Syntax: [no] tunnel mode gre ip
• gre specifies that the tunnel will use GRE encapsulation (IP protocol 47).
• ip specifies that the tunneling protocol is IPv4.
NOTE
Before configuring a new GRE tunnel, the system should have at least one slot available for adding
the default tunnel MTU value to the system tables. Depending on the configuration, the default
tunnel MTU range is ((1500 or 10218) - 24) . To check for slot availability, or to see if the MTU value
is already configured in the IP table, use the show ip mtu command. For more information on the
show ip mtu command, refer to “Displaying multicast protocols and GRE tunneling information” on
page 1062.
Configuring a tunnel loopback port for a tunnel interface
NOTE
Configuring a tunnel loopback port for a tunnel interface is not applicable on FCX devices, and
SX-FI-24GPP, SX-FI48GPP, SX-FI-24HF, SX-FI-2XG, and SX-FI-8XG modules.
For details and important configuration considerations regarding tunnel loopback ports for GRE
tunnels, refer to “Tunnel loopback ports for GRE tunnels” on page 1046 and “Configuration
considerations for tunnel loopback ports” on page 1049.
To configure a tunnel loopback port, enter commands such as the following:
Brocade(config)# interface tunnel 1
Brocade(config-tnif-1)# tunnel loopback 3/1
Syntax: [no] tunnel loopback <portnum>
The <portnum> is the slot (chassis devices) and port number of the tunnel loopback port for the
specified tunnel interface, for example 3/1.
Applying an ACL or PBR to a tunnel interface
on a FastIron X Series module
To apply an ACL or PBR policy to a tunnel interface on a FastIron X Series module other than the
SX-FI48GPP (48-port 10/100/1000 Mbps Ethernet POE interface module), enter commands such
as the following:
Applying a PBR policy to a tunnel interface
Brocade(config)# interface tunnel 1
Brocade(config-tnif-1)# tunnel mode gre ip
Brocade(config-tnif-1)# tunnel loopback 3
Brocade(config-tnif-1)# interface ethernet 3
Brocade(config-if-e1000-3)# ip policy route-map test-route
Applying an ACL policy to a tunnel interface
Brocade(config)# interface tunnel 1
Brocade(config-tnif-1)# tunnel mode gre ip
Brocade(config-tnif-1)# tunnel loopback 3
Brocade(config-tnif-1)# interface ethernet 3
Brocade(config-if-e1000-3)# ip access-group 10 in