Brocade BigIron RX Series Configuration Guide User Manual

Page 283

Advertising
background image

BigIron RX Series Configuration Guide

205

53-1002484-04

Configuring forwarding parameters

7

Syntax: ip route <ip-addr> <ip-mask> | <dest-ip-addr>/<mask-bits> null0 [<metric>] [tag <num>]

[distance <num>]

To display the maximum value for your device, enter the show default values command. The
maximum number of static IP routes the system can hold is listed in the ip-static-route row in the
System Parameters section of the display. To change the maximum value, use the system-max
ip-static-route <num> command at the global CONFIG level.

The <ip-addr> parameter specifies the network or host address. The device will drop packets that
contain this address in the destination field instead of forwarding them.

The <ip-mask> parameter specifies the network mask. Ones are significant bits and zeros allow
any value. For example, the mask 255.255.255.0 matches on all hosts within the Class C subnet
address specified by <ip-addr>. Alternatively, you can specify the number of bits in the network
mask. For example, you can enter 209.157.22.0/24 instead of 209.157.22.0 255.255.255.0.

The null0 parameter indicates that this is a null route. You must specify this parameter to make
this a null route.

The <metric> parameter adds a cost to the route. You can specify from 1 – 16. The default is 1.

The tag <num> parameter specifies the tag value of the route. Possible values: 0 - 4294967295.
Default: 0.

The distance <num> parameter configures the administrative distance for the route. You can
specify a value from 1 – 255. The default is 1. The value 255 makes the route unusable.

NOTE

The last three parameters are optional and do not affect the null route, unless you configure the
administrative distance to be 255. In this case, the route is not used and the traffic might be
forwarded instead of dropped.

Dropping traffic sent to the null0 interface in hardware

Traffic sent to the null0 interface is done in hardware; that is, by programming the CAM to discard
traffic sent to the null0 interface. This improves forwarding efficiency and reduces the burden on
the device’s CPU.

Hardware dropping for IP traffic sent to the null0 interface is supported.

You can optionally configure the device to drop traffic sent to the default IP route address in
hardware. To do this, enter the following commands.

BigIron RX(config)# ip route 0.0.0.0 0.0.0.0 null0

BigIron RX(config)# ip hw-drop-on-def-route

Syntax: [no] ip hw-drop-on-def-route

Configuring the device to drop traffic sent to the default IP route address in hardware causes the
device to program 32-bit host CAM entries for each destination address using the default route,
which could consume the CAM space. To prevent this from happening, you can enable the CAM
Default Route Aggregation feature. To do this, enter the following command:

BigIron RX(config)# ip dr-aggregate

Syntax: ip dr-aggregate

Advertising