In spanning tree, what is a Bridge ID (BID)?A BID is an 8-byte field that is composed of the bridge's 6-byte MAC address and a 2-byte bridge priority.
What is the default bridge priority in a Bridge ID for all Cisco switches?32,768
In spanning tree, what is path cost?Path cost is a calculation to determine the link's bandwidth. It is a value assigned to each port that is based on the port's speed.
What is the spanning tree path cost for each of the following?10 Mbps
100 Mbps
1 Gbps
The path costs are as follows:
10 Mbps - 100
100 Mbps - 19
1 Gbps - 4
When calculating a loop-free environment, what four-step decision sequence does spanning tree use to determine what will be the root bridge and which ports will forward or block?The four-step decision sequence that spanning tree uses to determine the root bridge and which port will forward is as follows:
Step 1. The lowest root BID
Step 2. The lowest path cost to the root bridge
Step 3. The lowest sender BID
Step 4. The lowest port ID
How do bridges pass spanning tree information between themselves?Bridges pass STP information using special frame called Bridge Protocol Data Units (BPDUs).
How often do bridges send BPDUs out active ports?The default time that bridges send BPDUs out active ports is 2 seconds.
Note: All ports on a switch listen for BPDUs in case there is a topology change.
In STP, how is a root bridge elected?In STP, the bridge with the lowest BID is elected the root bridge. All ports on the root bridge are placed in the forwarding state and are called designated ports.
Note: The BID is a 6-byte field that is composed of a default priority (32,768) and a MAC address. Because all Cisco switches use the default priority, the switch with the lowest MAC address is elected the root bridge. As a rule of thumb, lower will always win in spanning tree.
After bridges elect the root bridge, what do they do next?After electing the root bridge, switches elect root ports. A root port is the port on nonroot bridges that is closest to the root bridge. Every nonroot bridge must select one root port.
How do nonroot bridges decide which port they will elect as a root port?Nonroot bridges use root path cost to determine which port will be the root port. Root path cost is the cumulative cost of all links to the root bridge. The port with the lowest root path cost is elected the bridge's root port and is placed in the forwarding state.
