R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
71
<Sysname> system-view
[Sysname] stp bridge-diameter 5
stp compliance
Syntax
stp compliance { auto | dot1s | legacy }
undo stp compliance
View
Ethernet interface view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
auto: Configures the ports to recognize the MSTP BPDU format automatically and determine the format
of MSTP BPDUs to send.
dot1s: Configures the ports to receive and send only standard-format (802.1s-compliant) MSTP BPDUs.
legacy: Configures the ports to receive and send only compatible-format MSTP BPDUs.
Description
Use the stp compliance command to configure the mode the specified ports will use to recognize and
send MSTP BPDUs.
Use the undo stp compliance command to restore the default.
By default, a port automatically recognizes the formats of received MSTP packets and determines the
formats of MSTP packets to be sent based on the recognized formats.
Configured in Ethernet interface view the setting takes effect on that interface only.
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 takes effect only after the port leaves
the aggregation group.
Examples
# Configure GigabitEthernet 0/1 to receive and send only standard-format (802.1s) MSTP packets.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] stp compliance dot1s
stp config-digest-snooping
Syntax
stp config-digest-snooping
undo stp config-digest-snooping
View
System view, Ethernet interface view, Layer 2 aggregate interface view