Configuring an ip address for a tunnel interface, Configuring a static route to a tunnel destination, Applying an acl or pbr to a tunnel interface – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 121

Advertising
background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

103

53-1002603-01

IPv4 point-to-point GRE tunnels

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 110.

Applying an ACL or PBR to a tunnel interface

To apply an ACL or PBR policy to a tunnel interface on a Brocade ICX 6650 device , 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)# interface ethernet 1/1/3

Brocade(config-if-e10000-1/1/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)# interface ethernet 1/1/3

Brocade(config-if-e10000-1/1/3)# 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 16

on page 107.

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.

Brocade(config)# ip route 192.168.5.0/24 192.168.8.1

Syntax: [no] ip route destination-ip/network next-hop-ip

The destination-ip/netowork variable is the destination IP address of the tunnel interface.

Advertising