cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
56377
Views
121
Helpful
2
Replies

STP port priority vs. cost

John Blakley
VIP Alumni
VIP Alumni

All,

Am I correct in assuming that cost and port priority do the same thing? Cost seems to be local to the switch and port priority is set by the upstream switch. Is that the case?

Thanks,

John

HTH, John *** Please rate all useful posts ***
1 Accepted Solution

Accepted Solutions

Lucien Avramov
Level 10
Level 10

Both parameters are used to determine which interface will be in forwarding state.

They have differences though:

If you want to affect how to the local switch elects the root port change the cost on the links. Cost is cumulative throughout the STP domain. The higher cost is the less preferred.

If you want to affect how downstream switch elects its root port change the priority. This is only local significant between the two directly connected switches. Highest priority is less preferred.

Going away from the root of the tree use priority whereas, when going towards the root of the tree use cost.

View solution in original post

2 Replies 2

Lucien Avramov
Level 10
Level 10

Both parameters are used to determine which interface will be in forwarding state.

They have differences though:

If you want to affect how to the local switch elects the root port change the cost on the links. Cost is cumulative throughout the STP domain. The higher cost is the less preferred.

If you want to affect how downstream switch elects its root port change the priority. This is only local significant between the two directly connected switches. Highest priority is less preferred.

Going away from the root of the tree use priority whereas, when going towards the root of the tree use cost.

Great explanation! Thanks!

HTH, John *** Please rate all useful posts ***
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card