Avaya C460 Switch User Manual


 
Chapter 2 Avaya C460 CLI Commands
Avaya C460 Reference Guide 117
set port spantree cost
User level: read-write, admin.
Use the set port spantree cost command to set the cost of a port. This value
defines which port will be allowed to forward traffic if two ports with different costs
cause a loop.
The syntax for this command is:
set port spantree cost [module/port] [value]
Example:
set port spantree force-protocol-migration
User level: read-write, admin.
Use the set port spantree force-protocol-migration command to set
the port as an RSTP port (and not as common STA port). It forces the port to send a
rapid spanning tree BPDU.
The syntax for this command is:
set port spantree force-protocol-migration <module/port>
module Number of the module (3-6).
port Number of the port on the module. If you do not specify a
number, the port spantree cost is set for all the ports on the
module.
You can also specify a range of ports separated by a dash,
for example, 4/5-13 for ports 5 to 13 on module 4.
value Number representing the cost. The cost level is set from 1
to 65535. A lower cost (lower value) specifies precedence
of a port to forward traffic.
C460-1> set port spantree cost 4/2 4096
port 4/2 spantree cost is 4096
module Number of the module (3-6).
port Number of the port on the module. If you do not specify a number,
the port spantree force protocol migration is set for all the ports on
the module.
You can also specify a range of ports separated by a dash, for
example, 4/5-13 for ports 5 to 13 on module 4.