The stp compliance command configures a format for sent and received Multiple Spanning Tree Protocol (MSTP) BPDUs.
The undo stp compliance command restores the default format of sent and received MST BPDUs.
By default, the format of sent and received MST BPDUs is auto.
Usage Scenario
MST BPDUs have two formats: dot1s (IEEE 802.1s standard) and legacy (proprietary). To facilitate device communication, run the stp compliance command to set an MST BPDU format for a local device based on the format of MST BPDUs from the remote device.
To allow a port to automatically accommodate to the format of MST BPDUs sent by a remote device, configure the auto format.<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi 1 [*HUAWEI-vsi-1] pwsignal ldp [*HUAWEI-vsi-1-ldp] vsi-id 33 [*HUAWEI-vsi-1-ldp] peer 1.1.1.1 [*HUAWEI-vsi-1-ldp] peer 1.1.1.1 pw pw1 [*HUAWEI-vsi-1-ldp-pw-pw1] quit [*HUAWEI-vsi-1-ldp] pw pw1 [*HUAWEI-vsi-1-ldp-pw-pw1] stp compliance dot1s