beautypg.com

N-Tron 9000 Series User Manual

Page 131

background image

5/17/2007 page 131 of 138

Set RSTP Port Priority

Command Name

rstp set portpriority

Description

To set the priority of the port for a given port in the given vlan-id. STP and
RSTP use the port priority to determine which port to place into forwarding
mode when there are 2 or more ports to choose from.

Syntax

rstp set portpriority

Parameters

vlan-id
Vlan Id to which the port belongs.
port no

The portnumber for which the port priority is to be set.

port priority
The Port priority value to be set.
The valid port priority is 0-255.

Examples

N-TRON/Admin#[1]> rstp set portpriority 1 4 100
N-TRON/Admin#[2]> rstp set portpriority 2 6 50

NOTES

Please supply a valid Vlan Index (being greater than zero)and Port Number.
If the port priority is the same on both ports then the switch will resort to
the path cost to determine the best path.

Get RSTP Port Priority

Command Name

rstp get portpriority

Description

To get the priority of the port for a given port in the given vlan-id

Syntax

rstp get portpriority

Parameters

vlan-id
Vlan Id to which the port belongs.
port no
The portnumber for which the port priority is to be set.

Examples

N-TRON/Admin#[1]> rstp get portpriority 1 4
N-TRON/Admin#[2]> rstp get portpriority 2 6

NOTES

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