EasyManua.ls Logo

H3C S5120-EI Series - Stp Port Priority; Stp Port-Log

H3C S5120-EI Series
242 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
122
stp port priority
Syntax
stp [ instance instance-id ] port priority priority
undo stp [ instance instance-id ] port priority
View
Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
instance instance-id: Sets the priority of the current port(s) in a particular MSTI. The instance-id argument
ranges from 0 to 16, where 0 represents the CIST.
priority: Specifies a port priority, ranging from 0 to 240 in steps of 16 (0, 16, 32…, for example).
Description
Use the stp port priority command to set the priority of the port(s).
Use the undo stp port priority command to restore the system default.
Port priority affects the role of a port in an MSTI.
By default, the port priority is 128.
Configured in Layer 2 Ethernet interface view, the setting takes effect on the current interface only.
Configured in port group view, the setting takes effect on all ports in the port group.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate interface.
Configured on a member port in an aggregation group, the setting takes effect only after the port leaves
the aggregation group.
Setting different priorities for the same port in different MSTIs allows VLAN traffic flows to be forwarded
along different physical links to achieve VLAN-based load balancing.
When the priority of a port is changed in an MSTI, MSTP will re-compute the role of the port and initiate
a state transition in the MSTI.
Related commands: display stp.
Examples
# Set the priority of port GigabitEthernet 1/0/3 in MSTI 2 to 16.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/3
[Sysname-GigabitEthernet1/0/3] stp instance 2 port priority 16
stp port-log
Syntax
stp port-log { all | instance instance-id }
undo stp port-log { all | instance instance-id }

Table of Contents

Other manuals for H3C S5120-EI Series

Related product manuals