How is the Switch’s Bridge ID generated?
Switch’s MAC Address + the Bridge Priority
Bridge Priority from 0 - 65535
Priority defaults to 32768
In the case of a spanning tree Bridge Priority tie, which will be the Root Switch (Root Bridge)?
The one with the lowest MAC address.
If a switch has multiple equal cost paths towards the Root Switch via multiple devices, how will it select the Root Port?
The Neighbour with the lowest Bridge ID (Switch Priority + MAC address)
If a switch has multiple equal cost paths towards the Root Switch via the same device, i.e. multiple links between two switches, how will it select the Root Port?
Select the path with the lowest port priority on the other switch.
If priority tie, he lowest port number on the other switch wins.
What are Root Ports in STP?
Ports with the lowest cost path back to the Root Switch.
What is a STP designated port?
The best inbound ports to use to get to the Root Bridge on each network segment (based on cost).
What ports get blocked by Spanning Tree?
Ports that are not Root Ports, or Designatied Ports.
They are also called ‘Alternate Ports’ in Cisco Spanning Tree standards.
What are the steps to manually identify Spanning Tree port status?
List types of industry standard Spanning Tree Protocols
(probably not in the test)
Open Standards
List types of Cisco Spanning Tree Protocols
Cisco Standards
Command to view Spanning Tree info:
SW1# show spanning-tree
Highest or Lowest Root Bridge Priority number wins?
Lowest
Command to configure a switch to be Root Switch in the enviroment?
Primary Switch:
CoreSwitch1(config)# spanning-tree vlan 10 root primary
CoreSwitch2(config)#spanning-tree vlan 20 root primary
Secondary Switch:
CoreSwitch1(config)# spanning-tree vlan 20 root secondary
CoreSwitch2(config)#spanning-tree vlan 10 root secondary
What is PortFast?
Turns a switch port on (forwarding) before listening for Spanning Tree BPDU packets.
(can take up to 50 seonds if PortFast is not enabled)
Command to enable PortFast
By Port:
SW1(config)# interface range f0/2 - 9
SW1(config-if-range)# spanning-tree portfast
All Ports by default:
SW1(config)# spanning-tree portfast default
SW1(config)# interface f0/24
SW1(config-if)# no spanning-tree portfast
What is BPDU Guard?
If BPDU is recieved on a port, the port will be shut down.
This should work in conjunction with PortFast
Commands to enable BPDU Guard
By Port:
SW1(config)# interface range f0/2 - 9
SW1(config-if-range)# spanning-tree bpduguard enable
All Ports by default:
SW1(config)# spanning-tree portfast bpduguard enable
SW1(config)# interface f0/24
SW1(config-if)# no spanning-tree bpduguard enable