Set RSTP Port Priority
Command Name
Description
Syntax
Parameters
Examples
NOTES
Get RSTP Port Priority
Command Name
Description
Syntax
Parameters
Examples
NOTES
(Revised 2011-07-21)
rstp set portpriority
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.
rstp set portpriority <vlan-id> <port no> <port priority>
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.
N-TRON/Admin#[1]> rstp set portpriority 1 4 100
N-TRON/Admin#[2]> rstp set portpriority 2 6 50
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.
rstp get portpriority
To get the priority of the port for a given port in the given vlan-id
rstp get portpriority <vlan-id> <port no>
vlan-id
Vlan Id to which the port belongs.
port no
The portnumber for which the port priority is to be set.
N-TRON/Admin#[1]> rstp get portpriority 1 4
N-TRON/Admin#[2]> rstp get portpriority 2 6
Please supply a valid Vlan Index (being greater than zero)and Port Number
page 144 of 152