Stp Compliance - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – MSTP
H3C S7500E Series Ethernet Switches

1.1.17 stp compliance

Syntax
stp compliance { auto | dot1s | legacy }
undo stp compliance
View
Ethernet interface view, port group view
Parameters
auto: Configures the port(s) to recognize the MSTP BPDU format automatically and
accordingly determine the format of MSTP BPDUs to send.
dot1s: Configures the port(s) to receive and send only standard-format
(802.1s-compliant) MSTP BPDUs.
legacy: Configures the port(s) to receive and send only compatible-format MSTP
BPDUs.
Description
Use the stp compliance command to configure the mode the port(s) will use to
recognize and send MSTP BPDUs.
Use the undo stp compliance command to restore the system default.
The default mode is auto, namely all ports recognize the BPDU format automatically.
Note that:
Configured in Ethernet interface view, the setting is effective on the current port
only; configured in port group view, the setting is effective on all ports in the port
group.
If the mode is set to auto on a port, the port automatically recognizes and resolves
the received compatible-format BPDUs or 802.1s-compliant BPDUs, and sends,
when needed, compatible-format or 802.1s-compliant BPDUs.
If the mode is set to legacy or dot1s, on a port, the port can only receive and send
BPDUs of the specified format. If the port is configured not to detect the packet
format automatically while it works in the MSTP mode, and if it receives a packet in
the format other than as configured, that port will become a designated port, and
the port will remain in the discarding state to prevent the occurrence of a loop.
Examples
# Configure GigabitEthernet 2/0/1 to receive and send only standard-format (802.1s)
MSTP packets.
<Sysname>system-view
[Sysname] interface GigabitEthernet 2/0/1
Chapter 1 MSTP Configuration Commands
1-17

Advertisement

Table of Contents
loading

Table of Contents