Cisco Cisco 4100 Series Wireless LAN Controller Referências técnicas

Página de 190
3/22/05
config spanningtree port pathcost
 
OL-7427-01 Rev 1
Related Commands
show spanningtree port, config spanningtree switch mode, config spanningtree 
port pathcost, config spanningtree port priority
config spanningtree port pathcost
config spanningtree port pathcost
To set the STP path cost for an Ethernet port, use the config spanningtree port pathcost command.
>config spanningtree port pathcost [1-65535/auto] [<port>/all]
Syntax
config
Configure parameters.
spanningtree Spanning 
Tree 
Protocol.
port 
Cisco Wireless LAN Controller Ethernet port.
pathcost
STP path cost.
 [1-65535/auto]
Port pathcost, as determined by the network 
planner, or auto (default)
[<port>/all]
Port 1 through 12 or 1 through 24, or all ports.
Defaults
Pathcost = Automatic.
Examples
>config spanningtree port pathcost auto all
to have the STP algorithm automatically assign a path cost for all ports. 
>config spanningtree port pathcost 200 22
to have the STP algorithm use a port cost of 200 for port 22.
Related Commands
show spanningtree port, config spanningtree port mode, config spanningtree 
port priority
config spanningtree port priority
config spanningtree port priority
To configure the STP port priority, use the >config spanningtree port priority command.
>config spanningtree port priority [0-255] <port>
Syntax
config
Configure parameters.
spanningtree Spanning 
Tree 
Protocol.
port 
Cisco Wireless LAN Controller Ethernet port.
priority [0-255]
STP priority, 0 through 255.
<port>
Port 1 through 12 or 1 through 24.
Defaults
STP Priority = 128.
Examples
>config spanningtree port priority 100 2
to set Ethernet port 2 to STP priority 100.
Related Commands
show spanningtree port, config spanningtree switch mode, config spanningtree 
port mode, config spanningtree port pathcost
CONFIG SPANNINGTREE SWITCH COMMANDS
config spanningtree switch
Use the following config spanningtree switch commands: