Set RSTP Bridge Priority

Command Name

rstp set bridgepriority

Description

Sets the Bridge Priority. The root bridge on the network will be the one

 

with the lowest bridge priority, or the lowest MAC address if the priorities

 

are the same (as per IEEE 802.1D specification).

Syntax

rstp set bridgepriority <vlan-id> <bridge priority>

Parameters

vlan-id

 

Vlan Id for which the priority to be set.

 

bridge priority

 

Priority of the Bridge to be set.

 

The value should range between 0 and 65535. (as per IEEE 802.1D

 

specification)

Examples

N-TRON/Admin#[1]> rstp set bridgepriority 1 1000

 

N-TRON/Admin#[2]> rstp set bridgepriority 2 2000

NOTES

Ensure to use a valid range of Bridge priority and Vlan Index (being greater

 

than zero)

Get RSTP Bridge Priority

 

Command Name

rstp get bridgepriority

Description

Gets the Bridge Priority of the given Vlan-Id.

Syntax

rstp get bridgepriority <vlan-id>

Parameters

vlan-id

 

Vlan Id for which the priority is to be viewed .

Examples

N-TRON/Admin#[1]> rstp get bridgepriority 1

 

N-TRON/Admin#[2]> rstp get bridgepriority 2

NOTES

 

Set RSTP Port Path Cost

 

Command Name

rstp set portpathcost

Description

To set the port path cost for a given port in the given vlan id. STP and

 

RSTP use the path cost to determine which path to use when there are 2 or

 

more available paths that both have the same port priority.

Syntax

rstp set portpathcost <vlan-id> <port no> <pathcost>

Parameters

vlan-id

 

Vlan Id for which the pathcost is to be set.

 

port no

 

The portnumber for which the path cost is to be set.

 

pathcost

 

The path cost value to be set (1-200000000).

Examples

N-TRON/Admin#[1]> rstp set portpathcost 1 4 100

 

N-TRON/Admin#[2]> rstp set portpathcost 2 6 200

NOTES

Please supply a valid Vlan Index (being greater than zero), a valid Port

 

Number, and a valid path cost.

Get RSTP Port Path Cost

 

Command Name

rstp get portpathcost

Description

To get the port path cost for a given port in the given vlan id

Syntax

rstp get portpathcost <vlan-id> <port no>

Parameters

vlan-id

 

Vlan Id to which the port belongs.

 

port no

 

The portnumber for which the path cost is to be viewed.

Examples

N-TRON/Admin#[1]> rstp get port pathcost 1 4

 

N-TRON/Admin#[2]> rstp get port pathcost 2 6

NOTES

Please supply a valid Vlan Index (being greater than zero)and Port Number

5/17/2007

page 130 of 138

Page 130
Image 130
N-Tron 9000 Series user manual 17/2007 130, Set Rstp Bridge Priority, Get Rstp Bridge Priority, Set Rstp Port Path Cost