Configuration Guide User guide

1054 FastIron Configuration Guide
53-1002494-02
IPv4 point-to-point GRE tunnels
Applying an ACL or PBR to a tunnel interface
on the SX-FI48GPP interface module
To apply an ACL or PBR policy to a tunnel interface on the SX-FI48GPP interface module, enter
commands such as the following:
NOTE
Configuration of tunnel loopback ports are not applicable on the SX-FI48GPP interface module.
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)# 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)# ip access-group 10 in
Configuring an IP address for a tunnel interface
An IP address sets a tunnel interface as an IP port and allows the configuration of Layer 3
protocols, such as OSPF, BGP, and Multicast (PIM-DM and PIM-SM) on the port. Note that the
subnet cannot overlap other subnets configured on other routing interfaces, and both ends of the
tunnel should be in the same subnet, as illustrated in the GRE tunnel configuration example in
Figure 125 on page 1058.
To configure an IP address for a specified tunnel interface, enter commands such as the following.
Brocade(config)# interface tunnel 1
Brocade(config-tnif-1)# ip address 10.10.3.1/24
Syntax: [no] ip address <ip-address>
The <ip-address> is the IP address being configured for the specified tunnel interface.
Configuring a static route to a tunnel destination
If a route to the tunnel destination does not already exist on the tunnel source, create a static route
and set the route to go through the tunnel interface.
Brocade(config)# ip route 131.108.5.0/24 36.0.8.1
Brocade(config)# ip route 10.10.2.0/24 tunnel 1
Syntax: [no] ip route <ip-address> tunnel <tunnel-ID>
The <ip-address> variable is the IP address of the tunnel interface.
The <tunnel-ID> variable is a valid tunnel number or name.