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. The MA5680T/MA5683T/MA5608T supports MSTP, which is compatible with the STP and RSTP. It supports MSTP loop network that helps meet various networking requirements.Function
This command is used to set the current Ethernet port as an edge port or a
non-edge port. When you need to enable a port to transit to the forwarding state
rapidly and also ensure the network security, run this command. If a port is
directly connected to the terminal, set the port as an edge port and enable the
Bridge Protocol Data Unit (BPDU) protection function. After the current Ethernet
port is set as an edge port, the device cannot receive the configuration message
transmitted from other bridges.
Parameters
Parameter | Description | Value |
---|---|---|
frameid/slotid/portid | Indicates the subrack ID, slot ID, and port ID. Enter a slash (/) between the subrack, slot, and port IDs. Only the Ethernet port is supported. When you need to set the specified port, use this parameter. | Please see Differences Between Shelves. |
enable | Sets a specified Ethernet port as an edge port. Edge port refers to a port that is not directly connected to any switch or indirectly connected to any switch through the network connected to the port. | - |
disable | Sets a specified Ethernet port as a non-edge port. | - |
Usage Guidelines
- By default, all ports are non-edged.
- Only the port connected to the terminal can be set as an edge port. The edge port cannot receive the configuration message (BPDU packets) transmitted from other bridges because the edge port is not connected to any other bridge.
- When the BPDU protection function is disabled and the port receives BPDU, the actual running value of the edge port is a non-edge port even if you set the port as an edge port.
- This setting takes effect on all spanning tree instances, that is, when a port is set as an edge port or a non-edge port, the port is set as an edge port or a non-edge port in all spanning tree instances.
- If a port is connected to a terminal instead of to other bridges or a shared network segment, the port is an edge port. The edge port does not import temporary loops when the network topology changes. Thus, if you set a specified port as an edge port, the port can transit from the blocking state to the forwarding state rapidly without any delay.
Example
To set port 0/19/0 as an edge port, do as
follows:
huawei(config)#stp port
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0
{ cost<K>|disable<K>|edged-port<K>|enable<K>|instance<K>|loop-protection<K>|mche
ck<K>|point-to-point<K>|port-priority<K>|root-protection<K>|transmit-limit<K> }:
edged-port
{ disable<K>|enable<K> }:enable
Command:
stp port 0/19/0 edged-port enable
To set port 0/19/0 as a non-edge port, do as
follows:huawei(config)#stp port
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0
{ cost<K>|disable<K>|edged-port<K>|enable<K>|instance<K>|loop-protection<K>|mche
ck<K>|point-to-point<K>|port-priority<K>|root-protection<K>|transmit-limit<K> }:
edged-port
{ disable<K>|enable<K> }:disable
Command:
stp port 0/19/0 edged-port disable
No comments:
Post a Comment