Configuring and Managing IP Routes 111If a VLAN is administratively disabled or all of the links in the VLAN godown or are disabled, MSS removes the VLAN’s routes from the routetable. If the direct route required by a static route goes down, MSSchanges the static route state to Down. If the route table contains otherstatic routes to the same destination, MSS selects the resolved route thathas the lowest cost. In the following example, the default route to10.0.1.17 is down, so MSS selects the default route to 10.0.2.17.WX1200# display ip routeRouter table for IPv4Destination/Mask Proto Metric NH-Type Gateway VLAN:Interface__________________ _______ ______ _______ _______________ _______________0.0.0.0/ 0 Static 1 Router 10.0.1.17 Down0.0.0.0/ 0 Static 2 Router 10.0.2.17 vlan:2:ip10.0.2.1/24 IP 0 Direct vlan:2:ip10.0.2.1/32 IP 0 Direct vlan:2:ip:10.0.1.1/2410.0.2.255/32 IP 0 Direct vlan:2:ip:10.0.1.1/24224.0.0.0/ 4 IP 0 Local MULTICAST(For more information about the fields in the output, see the WirelessLAN 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 metricThe metric (cost) can be any number between 0 and 2,147,483,647.Lower-cost routes are preferred over higher-cost routes. When you addmultiple routes to the same destination, MSS groups the routes togetherand orders them from lowest cost at the top of the group to highest costat the bottom of the group. If you add a new route that has the samedestination and cost as a route already in the table, MSS places the newroute at the top of the group of routes with the same cost.To add a default route that uses default router 10.5.4.1 and has a cost of1, type the following command:WX1200# set ip route default 10.5.4.1 1success: change accepted.