354
C
HAPTER
17: C
ONFIGURING
AND
M
ANAGING
S
PANNING
T
REE
P
ROTOCOL
To change the bridge priority of VLAN
pink
to 69, type the following
command:
WX1200#
set spantree priority 69 vlan pink
success: change accepted.
Changing STP Port
Parameters
You can change the STP cost and priority of an individual port, on a
global basis or an individual VLAN basis.
Changing the STP Port Cost
To change the cost of a port, use one of the following commands.
set spantree portcost
port-list
cost
cost
set spantree portvlancost
port-list
cost
cost
{
all
|
vlan
vlan-id
}
The
set spantree portcost
command changes the cost for ports in the
default VLAN (VLAN 1) only. The
set spantree portvlancost
command
changes the cost for ports in a specific other VLAN or in all VLANs.
Specify a value from 1 through 65,535 for the cost. The default depends
on the port speed and link type. (See Table 29 on page 353.)
The
all
option applies the change to all VLANs. Alternatively, specify an
individual VLAN.
To change the cost on ports 3 and 4 in the default VLAN to 20, type the
following command:
WX1200#
set spantree portcost 3,4 cost 20
success: change accepted.
To change the cost for the same ports in VLAN
mauve
, type the following
command:
WX1200#
set spantree portvlancost 3,4 cost 20 vlan mauve
success: change accepted.
Resetting the STP Port Cost to the Default Value
To reset the STP port cost to the default value, use one of the following
commands:
clear spantree portcost
port-list
clear spantree portvlancost
port-list
{
all
|
vlan
vlan-id
}
Содержание 3CRWX120695A
Страница 138: ...138 CHAPTER 6 CONFIGURING AND MANAGING IP INTERFACES AND SERVICES ...
Страница 272: ...272 CHAPTER 11 CONFIGURING RF LOAD BALANCING FOR MAPS ...
Страница 310: ...310 CHAPTER 13 CONFIGURING USER ENCRYPTION ...
Страница 322: ...322 CHAPTER 14 CONFIGURING RF AUTO TUNING ...
Страница 350: ...350 CHAPTER 16 CONFIGURING QUALITY OF SERVICE ...
Страница 368: ...368 CHAPTER 17 CONFIGURING AND MANAGING SPANNING TREE PROTOCOL ...
Страница 412: ...412 CHAPTER 19 CONFIGURING AND MANAGING SECURITY ACLS ...
Страница 518: ...518 CHAPTER 21 CONFIGURING AAA FOR NETWORK USERS ...
Страница 530: ...530 CHAPTER 22 CONFIGURING COMMUNICATION WITH RADIUS ...
Страница 542: ...542 CHAPTER 23 MANAGING 802 1X ON THE WX SWITCH ...
Страница 598: ...598 CHAPTER 26 ROGUE DETECTION AND COUNTERMEASURES ...
Страница 706: ...706 GLOSSARY ...