Stp Port-Log - H3C S7500E Series Command Reference Manual

Lan switching
Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

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.
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 can take 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, thus 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 2/0/3 in MSTI 2 to 16.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/3
[Sysname-GigabitEthernet2/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 }
View
System view
Default Level
2: System level
Parameters
all: Enables output of port state transition information for all MSTIs.
instance instance-id: Enables output of port state transition information for the specified MSTI. The
minimum value of instance-id is 0, representing the CIST, and the maximum value of instance-id is 31.
Description
Use the stp port-log command to enable output of port state transition information for the specified
MSTI or all MSTIs.
Use the undo stp port-log command to disable output of port state transition information for the
specified MSTI or all MSTIs.
This function is enabled by default.
11-33

Advertisement

Table of Contents
loading

Table of Contents