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
10.0.1.17 is down, so MSS selects the default route to 10.0.2.17.
WX1200#
display ip route
Router table for IPv4
Destination/Mask
Proto
Metric NH-Type Gateway
VLAN:Interface
__________________ _______ ______ _______ _______________ _______________
0.0.0.0/ 0 Static
1 Router 10.0.1.17
Down
0.0.0.0/ 0 Static
2 Router 10.0.2.17
vlan:2:ip
10.0.2.1/24 IP
0 Direct
vlan:2:ip
10.0.2.1/32 IP
0 Direct
vlan:2:ip:10.0.1.1/24
10.0.2.255/32 IP
0 Direct
vlan:2:ip:10.0.1.1/24
224.0.0.0/ 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 10.5.4.1 and has a cost of
1, type the following command:
WX1200#
set ip route default 10.5.4.1 1
success: change accepted.
Summary of Contents for 3CRWX120695A
Page 138: ...138 CHAPTER 6 CONFIGURING AND MANAGING IP INTERFACES AND SERVICES ...
Page 272: ...272 CHAPTER 11 CONFIGURING RF LOAD BALANCING FOR MAPS ...
Page 310: ...310 CHAPTER 13 CONFIGURING USER ENCRYPTION ...
Page 322: ...322 CHAPTER 14 CONFIGURING RF AUTO TUNING ...
Page 350: ...350 CHAPTER 16 CONFIGURING QUALITY OF SERVICE ...
Page 368: ...368 CHAPTER 17 CONFIGURING AND MANAGING SPANNING TREE PROTOCOL ...
Page 412: ...412 CHAPTER 19 CONFIGURING AND MANAGING SECURITY ACLS ...
Page 518: ...518 CHAPTER 21 CONFIGURING AAA FOR NETWORK USERS ...
Page 530: ...530 CHAPTER 22 CONFIGURING COMMUNICATION WITH RADIUS ...
Page 542: ...542 CHAPTER 23 MANAGING 802 1X ON THE WX SWITCH ...
Page 598: ...598 CHAPTER 26 ROGUE DETECTION AND COUNTERMEASURES ...
Page 706: ...706 GLOSSARY ...