Function Description
The multiple spanning tree protocol (MSTP) applies to the redundant network. MSTP is an improvement of STP and RSTP. MSTP prevents the proliferation and infinite cycling of the packets in the loop network. In addition, MSTP provides multiple redundant paths for VLAN data transmission to achieve the load-sharing purpose. The MA5600T/MA5603T/MA5608T supports MSTP, which is compatible with the STP and RSTP. It supports MSTP loop network that helps meet various networking requirements.Function
The stp compliance command is used to configure the protocol
used by a port to transmit bridge protocol data unit (BPDU) packets. After this
command is executed successfully, the port uses the configured protocol to
transmit BPDU packets.
The undo stp compliance command is used to cancel the protocol used by a port to transmit BPDU packets. After this command is executed successfully, the protocol parameter used by the port to transmit BPDU packets is restored to the default value (auto).
The undo stp compliance command is used to cancel the protocol used by a port to transmit BPDU packets. After this command is executed successfully, the protocol parameter used by the port to transmit BPDU packets is restored to the default value (auto).
Format
stp compliance port frameid/slotid/portid {
auto | dot1w }
undo stp compliance port frameid/slotid/portid
undo stp compliance port frameid/slotid/portid
Parameters
Parameter | Description | Value |
---|---|---|
port frameid/slotid/portid | Indicates the shelf ID, slot ID, and port ID. Enter a slash (/) between the shelf, slot, and port IDs. | Please see Differences Between Shelves. |
auto |
Indicates that a port will auto-negotiate the protocol with the
peer port according to the protocol with which the peer port sending BPDUs
complies.
|
- |
dot1w | Indicates that the port complies with the 802.1w protocol when sending BPDUs. If the peer device connected to the port functions as a root bridge device, and the port of the peer device complies with the RSTP protocol when sending BPDUs, use this parameter. | - |
Level
Operator level
Usage Guidelines
You can run the display stp
command to query the type of the protocol with which the current port sending
BPDUs complies.
Example
To set the protocol used by port 0/19/0 to
transmit BPDU packets to dot1w, do as follows:
huawei(config)#stp compliance { port<K> }:port { frameid/slotid/portid<S><Length 5-18> }:0/19/0 { auto<K>|do1w<k> }:dot1w Command: stp compliance port 0/19/0 dot1wTo restore the protocol used by port 0/19/0 to transmit BPDU packets to auto, do as follows:
huawei(config)#undo stp compliance { port<K> }:port { frameid/slotid/portid<S><Length 5-18> }:0/19/0 Command: undo stp compliance port 0/19/0
System Response
- The system does not display any message after the command is executed successfully.
More blog:
No comments:
Post a Comment