194
BigIron RX Series Configuration Guide
53-1001810-01
Configuring forwarding parameters
7
To configure an IP static route that uses virtual interface 3 as its next hop, enter a command such
as the following.
BigIron RX
(config)# ip route 192.128.2.71 255.255.255.0 ve 3
Syntax: ip route <dest-ip-addr> <dest-mask> | <dest-ip-addr>/<mask-bits>
<next-hop-ip-addr> | ethernet <slot/port> | ve <num>
[<metric>] [tag <num>] [distance <num>]
The
<dest-ip-addr>
is the route’s destination. The <dest-mask> is the network mask for the route’s
destination IP address. Alternatively, you can specify the network mask information by entering /
followed by the number of bits in the network mask. For example, you can enter 192.0.0.0
255.255.255.0 as 192.0.0.0/.24.
The
<next-hop-ip-addr>
is the IP address of the next-hop router (gateway) for the route.
For a default route, enter 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx (use 0 for the
<mask-bits>
if you specify
the address in CIDR format).
If you do not want to specify a next-hop IP address, you can instead specify a port or interface
number on the device. The
<num>
parameter is a virtual interface number. The <slot/port> is the
port’s number of the device. If you specify an Ethernet port, the device forwards packets destined
for the static route’s destination network to the specified interface. Conceptually, this feature
makes the destination network like a directly connected network, associated with a device
interface.
NOTE
The port or virtual interface you use for the static route’s next hop must have at least one IP address
configured on it. The address does not need to be in the same subnet as the destination network.
The
<metric>
parameter specifies the cost of the route and can be a number from 1 – 16. The
default is 1.
NOTE
If you specify 16, RIP considers the metric to be infinite and thus also considers the route to be
unreachable.
The tag
<num>
parameter specifies the tag value of the route. Possible values: 0 - 4294967295.
Default: 0.
The distance
<num>
parameter specifies the administrative distance of the route. When
comparing otherwise equal routes to a destination, the device prefers lower administrative
distances over higher ones, so make sure you use a low value for your default route. Possible
values: 1 - 255. Default: 1.
NOTE
The device will replace the static route if it receives a route with a lower administrative distance.
Refer to
“Changing administrative distances”
on page 765 for a list of the default administrative
distances for all types of routes.
Configuring a “null” route
You can configure the device to drop IP packets to a specific network or host address by configuring
a “null” (sometimes called “null0”) static route for the address. When the device receives a packet
destined for the address, the device drops the packet instead of forwarding it.
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 ...