Stp Port-Log - 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.
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 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 }
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 this argument is 3.
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.
Examples
# Enable output of port state transition information for MSTI 2.
<Sysname> system-view
[Sysname] stp port-log instance 2
%Aug 16 00:49:41:856 2006 Sysname MSTP/3/PDISC: Instance 2's GigabitEthernet1/0/1 has been
set to discarding state!
1-31

Advertisement

Table of Contents
loading

Table of Contents