beautypg.com

Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 121

background image

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.

Configuring a tunnel loopback port for a tunnel interface

NOTE
Configuring a tunnel loopback port for a tunnel interface is not applicable on ICX6610, 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 114 and

Configuration considerations for tunnel

loopback ports

on page 117.

To configure a tunnel loopback port, enter commands such as the following:

device(config)# interface tunnel 1

device(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

device(config)# interface tunnel 1

device(config-tnif-1)# tunnel mode gre ip

device(config-tnif-1)# tunnel loopback 3

device(config-tnif-1)# interface ethernet 3

device(config-if-e1000-3)# ip policy route-map test-route

Applying an ACL policy to a tunnel interface

device(config)# interface tunnel 1

device(config-tnif-1)# tunnel mode gre ip

device(config-tnif-1)# tunnel loopback 3

device(config-tnif-1)# interface ethernet 3

device(config-if-e1000-3)# ip access-group 10 in

Configuring a tunnel loopback port for a tunnel interface

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

121

53-1003087-04