[All About Switches] Q&A: What Is the Function of Configuring the Path Cost and How Do I Configure the Path Cost in STP/RSTP?

Created: Jun 30, 2018 16:19:54 502 0 0 0

A:

If loops occur on a network, it is recommended that you set a large path cost for a port with a low link rate. The port is then selected as the blocking port during spanning tree calculation and its link is blocked.

To set the path cost of a port, perform the following steps:

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

Step 2: (Optional) Run the stp pathcost-standard { dot1d-1998 | dot1t | legacy } command to specify a path cost calculation method.

Step 3: Run the interface interface-type interface-number command to enter the interface view.

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

 

The path cost range varies with the path cost calculation method used. All switches on the same network must use the same path cost calculation method. Changes to path costs trigger spanning tree recalculation.

 

  • 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!
Fast reply Scroll to top