Stp Port Priority - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Configured in Layer 2 aggregate port view, the setting takes effect only on the aggregate port.
Configured on a member port in an aggregation group, the setting can take effect only after the port
leaves the aggregation group.
When connecting to a non-point-to-point link, a port is incapable of rapid state transition.
If the current port is a Layer 2 aggregate port or if it works in full duplex mode, the link to which the
current port connects is a point-to-point link. We recommend that you use the default setting,
namely let MSTP detect the link status automatically.
This setting takes effect on the CIST and all MSTIs. If a port is configured as connecting to a
point-to-point link or a non-point-to-point link, the setting takes effect for the port in all MSTIs. If the
physical link to which the port connects is not a point-to-point link and you force it to be a
point-to-point link by configuration, your configuration may incur a temporary loop.
Related commands: display stp.
Examples
# Configure the link connecting GigabitEthernet 1/0/3 as a point-to-point link.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/3
[Sysname-GigabitEthernet1/0/3] stp point-to-point force-true

stp port priority

Syntax
stp [ instance instance-id ] port priority priority
undo stp [ instance instance-id ] port priority
View
Layer 2 Ethernet port view, port group view, Layer 2 aggregate port view
Default Level
2: System level
Parameters
instance instance-id: Sets the priority of the current port(s) in a particular MSTI. The minimum value of
instance-id is 0, representing the CIST, and the maximum value of instance-id is 3.
priority: Port priority, in the range of 0 to 240 at the step 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.
Note that:
Configured in Layer 2 Ethernet port view, the setting takes effect on the current port only;
configured in port group view, the setting takes effect on all ports in the port group.
1-30

Advertisement

Table of Contents
loading

Table of Contents