Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 361

Advertising
background image

Multi-Service IronWare Routing Configuration Guide

333

53-1003033-02

Configuring a PBR policy

Setting the Next Hop to VLAN Flooding

Setting the next hop to an IP address
You can set the next hop to an IP address as shown in the following:

Brocade(config)# route-map net10web permit 101

Brocade(config-routemap net10web)# match ip address 101

Brocade(config-routemap net10web)# set ip next-hop 10.1.1.1

Syntax: [no] set ip next-hop ip-address

The ip-address variable specifies the IP address of the next-hop IP address for traffic that matches
a match statement in the route map.

NOTE

If the IP address used in this command is the IP address of a configured GRE tunnel, the
configuration will still be accepted but the next-hop selection will never choose this next-hop so it will
not become active. If you want to set the next hop using a GRE tunnel, you must use the set
next-hop-ip-tunnel command.

Setting the next hop to a GRE tunnel
You can set the next hop to a GRE Tunnel as shown in the following:

Brocade(config)# interface tunnel 1

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

Brocade(config-tnif-1)# tunnel source ethernet 1/2

Brocade(config-tnif-1)# tunnel destination 10.0.8.108

Brocade(config-tnif-1)# ip address 10.10.3.2/24

Brocade(config-tnif-1)# exit

Syntax: [no] set next-hop-ip-tunnel tunnel-id

This command sets the next hop to the GRE tunnel identified by the tunnel-id variable. Only GRE
tunnels are supported by this command. The system will verify if a valid GRE tunnel with the
specified tunnel-id variable exists. If the tunnel-id variable points to a tunnel other than a GRE
tunnel or to a non-existent tunnel, the configuration will be rejected.

Values for the tunnel-id variable can be from 1 to the maximum number of allowed Tunnel IDs in
the system, The maximum number of Tunnel IDs allowed is set using the system-max ip-tunnels
command.

For additional examples using this command, refer to

“Setting the next hop to a GRE tunnel”

on

page 337.

Setting the next hop to a GRE physical interface

NOTE

This command is recommended only for use on the BR-MLX 24x10G-DM module.

You can set the next hop to a GRE physical interface as shown in the following:

Syntax: [no] set ip next-hop physical ip interface

This command sets the next hop to the GRE interface identified by the physical ip interface
variable. Only GRE physical interfaces are supported by this command. The system will verify if a
valid GRE interface with the specified physical ip interface variable exists.

Advertising