Related Commands
set port spantree
spantree
default-path-cost,
spantree
hello-time,
spantree
version,
set port spantree cost
Use the set port spantree cost command to set the spanning tree cost of a port. This
value defines which port is allowed to forward traffic if two ports with different costs cause a
loop.
Syntax
set port spantree cost [module/port] [value]
Parameters
Parameter
module
port
value
User Level
read-write
Context
general
Example
To set the spanning tree cost of port 6/5 to 4096:
G450-001(super)# set port spantree cost 6/5 4096
port 6/5 spantree cost is 4096
cost,
set port spantree
set spantree enable |
set spantree
max-age,
show spantree
Description
The module number
The port number
Number representing the cost. A lower
value specifies precedence of a port to
forward traffic.
force-protocol-migration,
disable,
set spantree
set spantree
priority,
Spanning tree
set port spantree
priority,
forward-delay,
set
set spantree
tx-hold-count,
Possible
Default
Values
Value
1-65535
Issue 1 January 2008
set
set
1101