set spantree portvlancost 343

set spantree

Changes the cost of a network port or ports on paths to the STP root

portvlancost

bridge for a specific VLAN on a wireless LAN switch.

 

Syntax set spantree portvlancost port-listcost cost {all

 

vlan vlan-id}

 

„ port-list— List of ports. MSS applies the cost change to all the

 

specified ports.

 

„ cost cost Numeric value. You can specify a value from 1 through

 

65,535. STP selects lower-cost paths over higher-cost paths.

 

„ all — Changes the cost on all VLANs.

 

„ vlan vlan-idVLAN name or number. MSS changes the cost on

 

only the specified VLAN.

 

Defaults — The default port cost depends on the port speed and link

 

type. (See Table 59 on page 319.)

 

Access — Enabled.

 

History —Introduced in MSS Version 3.0.

 

Examples — The following command changes the cost on ports 3 and 4

 

to 20 in VLAN mauve:

 

WX1200# set spantree portvlancost 3,4 cost 20 vlan mauve

 

success: change accepted.

 

See Also

 

„ clear spantree portcost on page 320

 

„ clear spantree portvlancost on page 321

 

„ display spantree on page 324

 

„ display spantree portvlancost on page 329

 

„ set spantree portcost on page 340

Page 343
Image 343
3Com 3CRWX120695A Bridge for a specific Vlan on a wireless LAN switch, „ all Changes the cost on all VLANs, Type. See on