BigIron RX Series Configuration Guide
195
53-1001810-01
Configuring forwarding parameters
7
To configure a null static route to drop packets destined for network 209.157.22.x, enter the
following commands.
BigIron RX
(config)# ip route 209.157.22.0 255.255.255.0 null0
BigIron RX
(config)# write memory
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
Summary of Contents for Brocade DCX
Page 40: ...xl BigIron RX Series Configuration Guide 53 1001810 01 ...
Page 72: ...lxxii BigIron RX Series Configuration Guide 53 1001810 01 ...
Page 88: ...16 BigIron RX Series Configuration Guide 53 1001810 01 Searching and filtering output 1 ...
Page 300: ...228 BigIron RX Series Configuration Guide 53 1001810 01 Displaying IP information 7 ...
Page 318: ...246 BigIron RX Series Configuration Guide 53 1001810 01 Deploying a LAG 8 ...
Page 418: ...346 BigIron RX Series Configuration Guide 53 1001810 01 SuperSpan 12 ...
Page 482: ...410 BigIron RX Series Configuration Guide 53 1001810 01 MRP CLI example 14 ...
Page 506: ...434 BigIron RX Series Configuration Guide 53 1001810 01 Displaying VSRP information 15 ...
Page 582: ...510 BigIron RX Series Configuration Guide 53 1001810 01 Viewing Layer 2 ACLs 20 ...
Page 634: ...562 BigIron RX Series Configuration Guide 53 1001810 01 Troubleshooting ACLs 21 ...
Page 642: ...570 BigIron RX Series Configuration Guide 53 1001810 01 Trunk formation 22 ...
Page 746: ...674 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIP filters 24 ...
Page 808: ...736 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPF information 25 ...
Page 938: ...866 BigIron RX Series Configuration Guide 53 1001810 01 Displaying MBGP information 27 ...
Page 950: ...878 BigIron RX Series Configuration Guide 53 1001810 01 Using secure copy 28 ...
Page 988: ...916 BigIron RX Series Configuration Guide 53 1001810 01 Clearing IS IS information 29 ...
Page 1054: ...982 BigIron RX Series Configuration Guide 53 1001810 01 Sample 802 1x configurations 33 ...
Page 1108: ...1036 BigIron RX Series Configuration Guide 53 1001810 01 sFlow 39 ...
Page 1190: ...1118 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIPng information 44 ...
Page 1270: ...1198 BigIron RX Series Configuration Guide 53 1001810 01 Displaying ACLs 47 ...
Page 1310: ...1238 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPFv3 information 48 ...
Page 1382: ...1310 BigIron RX Series Configuration Guide 53 1001810 01 Commands That Require a Reload D ...
Page 1435: ...BigIron RX Series Configuration Guide 1363 53 1001810 01 VSRP E ...
Page 1436: ...1364 BigIron RX Series Configuration Guide 53 1001810 01 VSRP E ...