Gigabyte 7014 Switch User Manual


 
Rev. 051208 page 144 of 152
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 <vlan-id> <port no> <port priority>
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 <vlan-id> <port no>
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