Enabling The Output Of Port State Transition Information - H3C S5120-EI Series Operation Manual

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

Advertisement

Configuration procedure
Follow these steps to configure the MSTP packet format to be supported by a port or a group of ports:
To do...
Enter system view
Enter Ethernet
interface view or
Enter
Layer-2 aggregate
interface
interface view
view or
port group
Enter port group
view
view
Configure the mode the port
uses to recognize/send MSTP
packets
MSTP provides the MSTP packet format incompatibility guard function. In MSTP mode, if a port is
configured to recognize/send MSTP packets in a mode other than auto, and if it receives a packet
in a format different from the specified type, the port will become a designated port and remain in
the discarding state to prevent the occurrence of a loop.
MSTP provides the MSTP packet format frequent change guard function. If a port receives MSTP
packets of different formats frequently, this means that the MSTP packet format configuration
contains errors. In this case, if the port is working in MSTP mode, it will be disabled for protection.
Those ports closed thereby can be restored only by the network administers.
Configuration example
# Configure GigabitEthernet 1/0/1 to receive and send standard-format MSTP packets.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp compliance dot1s

Enabling the Output of Port State Transition Information

In a large-scale, MSTP-enabled network, there are a large number of MSTIs, so ports may frequently
transition from one state to another. In this situation, you can enable devices to output the port state
transition information of all MSTIs or the specified MSTI so as to monitor the port states in real time.
Use the command...
system-view
interface interface-type
interface-number
port-group manual
port-group-name
stp compliance { auto |
dot1s | legacy }
1-26
Remarks
Required
Use either command.
Configurations made in interface
view will take effect on the current
port only; configurations made in
port group view will take effect on
all ports in the port group.
Optional
auto by default

Advertisement

Chapters

Table of Contents
loading

Table of Contents