94undo stp complianceViewLayer 2 Ethernet interface view, port group view, Layer 2 aggregate interface viewDefault level2: System levelParametersauto: Configures the port(s) to recognize the MSTP BPDU format automatically and determine the formatof 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.DescriptionUse the stp compliance command to configure the mode the specified port(s) will use to recognize andsend MSTP BPDUs.Use the undo stp compliance command to restore the system default.By default, a port automatically recognizes the formats of received MSTP packets and determines theformats of MSTP packets to be sent based on the recognized formats.Configured in Layer 2 Ethernet interface view, the setting takes effect on the current interface only.Configured in port group view, the setting takes effect on all ports in the port group.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 leavesthe aggregation group.Examples# Configure GigabitEthernet 1/0/1 to receive and send only standard-format (802.1s) MSTP packets. system-view[Sysname] interface gigabitethernet 1/0/1[Sysname-GigabitEthernet1/0/1] stp compliance dot1sstp config-digest-snoopingSyntaxstp config-digest-snoopingundo stp config-digest-snoopingViewSystem view, Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface viewDefault level2: System levelParametersNone