Wednesday, January 25, 2017

The MSTP Configuration of stp port loop-protection

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 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 enable or disable the loop protection of an Ethernet port. When you need to enable the loop protection of a port to suppress the formation of loops, run this command. After the loop protection of an Ethernet port is enabled, the device suppresses the formation of loops.

Format

stp port frameid/slotid/portid loop-protection { enable | disable }

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. When you need to set the state of the Multiple Spanning Tree Protocol (MSTP), use this parameter. Please see Differences Between Shelves.
enable Enables the loop protection of a port. -
disable Disables the loop protection of a port. -

Modes

Global config mode

Level

Operator level

Usage Guidelines

  • By default, the loop protection of a port is disabled.
  • To avoid the switching network loop due to the link congestion or unidirectional link fault, MSTP provides the loop protection function to suppress the formation of such loop.
  • The loop protection prevents the root port and blocked port from switching to the forwarding state when ports are aging. Though these two types of ports can be the specified ports when they are aging, yet they keep in the discarding state and cannot perform the processing only after receiving the BPDU (excluding the TCN packet). This prevents the generation of Spanning Tree Protocol (STP) loop caused by link congestion or unidirectional link fault.
  • When you configure a port, only one of the loop protection function, root protection function and BPDU protection function takes effect.

Example

To enable the loop protection of port 0/19/0, 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> }:
loop-protection
{ disable<K>|enable<K> }:enable 

  Command:
          stp port 0/19/0 loop-protection enable
To disable the loop protection of port 0/19/0, 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> }:
loop-protection
{ disable<K>|enable<K> }:disable

  Command: 
          stp port 0/19/0 loop-protection disable

System Response

  • The system does not display any message after the command is executed successfully.

No comments:

Post a Comment