Chapter 2 Avaya C460 CLI Commands

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]

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.

Example:

 

C460-1>set port spantree cost 4/2 4096 port 4/2 spantree cost is 4096

set port spantree force-protocol-migration

User level: read-write, admin.

Use the set port spantree force-protocol-migrationcommand 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 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.

Avaya C460 Reference Guide

117

Page 129
Image 129
Avaya C460 manual Set port spantree cost module/port value, Set port spantree force-protocol-migration