3Com WX2200 3CRWX220095A Switch User Manual

Configuring and Managing IP Routes 111
If a VLAN is administratively disabled or all of the links in the VLAN go
down or are disabled, MSS removes the VLAN’s routes from the route
table. If the direct route required by a static route goes down, MSS
changes the static route state to Down. If the route table contains other
static routes to the same destination, MSS selects the resolved route that
has the lowest cost. In the following example, the default route to is down, so MSS selects the default route to
WX1200# display ip route
Router table for IPv4
Destination/Mask Proto Metric NH-Type Gateway VLAN:Interface
__________________ _______ ______ _______ _______________ _______________ 0 Static 1 Router Down 0 Static 2 Router vlan:2:ip IP 0 Direct vlan:2:ip IP 0 Direct vlan:2:ip: IP 0 Direct vlan:2:ip: 4 IP 0 Local MULTICAST
(For more information about the fields in the output, see the Wireless
LAN Switch and Controller Command Reference.)
Adding a Static Route To add a static route, use the following command:
set ip route {default | ip-addr mask | ip-addr/mask-length}
default-router metric
The metric (cost) can be any number between 0 and 2,147,483,647.
Lower-cost routes are preferred over higher-cost routes. When you add
multiple routes to the same destination, MSS groups the routes together
and orders them from lowest cost at the top of the group to highest cost
at the bottom of the group. If you add a new route that has the same
destination and cost as a route already in the table, MSS places the new
route at the top of the group of routes with the same cost.
To add a default route that uses default router and has a cost of
1, type the following command:
WX1200# set ip route default 1
success: change accepted.