H3C Technologies H3C S5560 Series Switches User Manual
Page 125
91
Configuring the mode a port uses to recognize and
send MSTP packets
A port can receive and send MSTP packets in the following formats:
•
dot1s—802.1s-compliant standard format
•
legacy—Compatible format
By default, the packet format recognition mode of a port is auto. The port automatically distinguishes the
two MSTP packet formats, and determines the format of packets that it will send based on the recognized
format.
You can configure the MSTP packet format on a port. Then, the port sends only MSTP packets of the
configured format to communicate with devices that send packets of the same format.
By default, a port in auto mode sends 802.1s MSTP packets. When the port receives an MSTP packet of
a legacy format, the port starts to send packets only of the legacy format. This prevents the port from
frequently changing the format of sent packets. To configure the port to send 802.1s MSTP packets, shut
down and then bring up the port.
When the number of existing MSTIs exceeds 48, the port can send only 802.1s MSTP packets.
To configure the MSTP packet format to be supported on a port:
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet or
aggregate interface view.
interface interface-type interface-number
N/A
3.
Configure the mode that the
port uses to recognize/send
MSTP packets.
stp compliance { auto | dot1s | legacy }
The default setting is auto.
Enabling outputting port state transition information
In a large-scale spanning tree network, you can enable devices to output the port state transition
information. Then you can monitor the port states in real time.
To enable outputting port state transition information:
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enable outputting port state
transition information.
•
In STP/RSTP mode:
stp port-log instance 0
•
In PVST mode:
stp port-log vlan vlan-id-list
•
In MSTP mode:
stp port-log { all | instance
instance-list }
By default, this function is
disabled.
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module