112
C
HAPTER
6: C
ONFIGURING
AND
M
ANAGING
IP I
NTERFACES
AND
S
ERVICES
To add two default routes and configure MSS to always use the route
through 10.2.4.69 when the WX interface to that default router is up,
type the following commands:
WX1200#
set ip route default 10.2.4.69 1
success: change accepted.
WX1200#
set ip route default 10.2.4.17 2
success: change accepted.
To add an explicit route from a WX switch to any host on the 192.168.4.
x
subnet through the local router 10.5.4.2, and give the route a cost of 1,
type the following command:
WX1200#
set ip route 192.168.4.0 255.255.255.0 10.5.4.2 1
success: change accepted.
Removing a Static
Route
To remove a static route, use the following command:
clear ip route
{
default
|
ip-addr mask
|
ip-addr
/
mask-length
}
default-router
After you remove a route, traffic that uses the route can no longer reach
its destination. For example, if you are managing the WX switch with a
Telnet session and the session needs the static route, removing the route
also removes the Telnet connection to the switch.
The following command removes the route to 192.168.4.69/24 that uses
default router 10.2.4.1:
WX1200#
clear ip route 192.168.4.69/24 10.2.4.1
success: change accepted.
The following command removes the default route that uses default
router 10.5.5.5:
WX1200#
clear ip route default 10.5.5.5
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 ...