Friday, February 3, 2017

What's the MSTP Configuration of stp port point-to-point

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

The stp port point-to-point command is used to set a link connected to the current Ethernet port as a point-to-point link or a non point-to-point link. When you need to set a link as a point-to-point link or a non point-to-point link to control the time for switching the Ethernet port state, run this command. After you set a link connected to the current Ethernet port as a point-to-point link, if the specified Ethernet port sends the request for rapid transition and the port meets the requirements of point-to-point link, the port state can be transited rapidly.
The undo stp port point-to-point command is used to restore the default setting. When you need MSTP to detect whether a link connected to the current Ethernet port is a point-to-point link, run this command to restore the default setting. After the default setting is restored, MSTP automatically detects the link and decides whether to process the request for rapidly switching the state of the specified Ethernet port.
NOTE:
If the Ethernet port is set to be connected to a point-to-point link, but the actual physical link connected to the port with is a non point-to-point link, the port may import temporary loops.

Format

stp port frameid/slotid/portid point-to-point { force-true | force-false | auto }
undo stp port frameid/slotid/portid point-to-point

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.
force-true Sets the link connected to the specified Ethernet port as a point-to-point link. A point-to-point link refers to a link that directly connects two switches. -
force-false Sets the link connected to the specified Ethernet port as a non point-to-point link. -
auto Detects and specifies automatically whether the link connected to the specified Ethernet port is a point-to-point link. -

Modes

Global config mode

Level

Operator level

Usage Guidelines

  • By default, the point-to-point link is set to auto mode.
  • When the Ethernet port is connected to a non point-to-point link, the port state cannot be transited rapidly. It is recommended to use the default mode to enable MSTP detect the link automatically.
  • This setting takes effect to Common and Internal Spanning Tree (CIST) and all Multiple Spanning Tree Instances (MSTIs). When the Ethernet port is set to be connected to the point-to-point link (or non point-to-point link), the setting applies to all spanning tree instances.
  • For aggregation Ethernet ports, only the primary port can be set to be connected to a point-to-point link.
  • For the Ethernet port working in auto-negotiation mode, if the negotiated working mode is full-duplex, the Ethernet port can be set to be connected to a point-to-point link.

Example

To set the link connected to Ethernet port 0/19/0 as a point-to-point link, 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> }:
point-to-point
{ auto<K>|force-false<K>|force-true<K> }:force-true

  Command:
          stp port 0/19/0 point-to-point force-true
To restore the default mode of the link connected to Ethernet port 0/19/0, do as follows:
huawei(config)#undo stp port 
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0
{ cost<K>|instance<K>|point-to-point<K>|port-priority<K>|transmit-limit<K> }:
point-to-point

  Command:
          undo stp port 0/19/0 point-to-point

System Response

No comments:

Post a Comment