Common STP Operations

401 0 0 0

Common STP Operations

Setting the Path Cost of a Port

Path costs determine root port selection during spanning tree calculation. In a spanning tree, the port with the lowest path cost to the root bridge is selected as a root port.

1.         Run the system-view command to enter the system view.

2.         (Optional) Run the stp pathcost-standard { dot1d-1998 | dot1t | legacy } command to set the standard used to calculate the path costs of ports.

3.         Run the interface interface-type interface-number command to enter the view of a port that participates in spanning tree calculation.

4.         Run the stp cost cost command to set the path cost of the port.

5.         Run the commit command to commit the configuration.

In the interface view, you can also run the stp [ process process-id ] [ instance instance-id ] cost cost command to set the path cost of the port. If the link rate of the port is large, you are advised to set a smaller path cost of the port within the specified value range.

Setting the Priority of a Port

1.         Run the system-view command to enter the system view.

2.         Run the interface interface-type interface-number command to enter the view of a port that participates in spanning tree calculation.

3.         Run the stp port priority priority command to set the priority of the port.

4.         Run the commit command to commit the configuration.

Disabling STP

Run the undo stp enable or stp disable command in the system view or interface view to disable STP.

You can also find the answer in Common MSTP Operations in Common Operation Guide.

Common Operation Guide: http://support.huawei.com/enterprise/en/doc/EDOC1000102369?idPath=7919710|21782165|21782236|22318638|7542409

You can also find the answer in Common STP Operations in Common Operation Guide.

  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top