Procedure job aid
Figure 17: Hop count of a packet
Configuring link path cost and priority
Use the procedures in this section to configure the path cost and priority for a port.
The port with the least path cost is selected as the preferred port for traffic transmission.
Similarly, the lower the port priority, the greater the chance that the port is selected for traffic
transmission.
Configuring link path cost
Use the procedure in this section to configure the link path cost.
Procedure steps
1. To access configuration mode, enter:
2. To select an interface, enter:
3. To access the Spanning Tree command context, enter:
4. To configure the path cost, enter:
Configuration — Layer 2 Ethernet
configure terminal
interface [range] ethernet <slot/port>
spanning-tree
Configuring Common Spanning Tree
July 2013
143