STP/EtherChannel Flashcards
What is portfast?
How do you enable it?
If portfast is enabled on a port, it transitions to forwarding immediately, effectively disabling spanning tree for that port.
(if)spanning-tree portfast
What is BPDU-guard?
How do you enable it?
BPDU guard automatically disables a port if a BPDU is received on it, preventing loops when portfast is enabled.
(if)spanning-tree bpduguard enable
How do you make portfast/BPDU-guard the default port state?
()spanning-tree portfast bpduguard default
What is root guard?
How do you enable it?
It prevents the root bridge from being changed by disabling a port if it receives a BPDU from a higher priority bridge than it’s own root bridge on that port.
(if)spanning-tree guard root
How do you manually set the primary and secondary root bridge?
()spanning-tree vlan 1 root primary
()spanning-tree vlan 1 root secondary
What command allows you to see the STP configuration a Cisco switch?
show spanning-tree vlan 1
Why do you need to specify the vlan when checking STP configuration on Cisco switches?
PVST+ is the default STP, and it has a separate spanning tree instance for each vlan.
What is “alternate port”?
Alternate port means blocking role in PVST+
Unlike dynamic routing protocols, STP cannot do what for subnets?
STP does not load balance across equal cost paths like dynamic routing protocols do, it just chooses whichever has lowest bridge ID.
What PVST+ command always ensure a switch is the root for a particular VLAN?
()spanning-tree vlan 750 priority 0
How do you make a switch the root bridge for VLAN without changing priority?
What should be noted about this command?
()spanning-tree vlan 750 root primary
Switches made the primary with this will be overridden by a switch manually configured with priority 0
What value can you modify to configure a specific port as the preferred forwarding/designated port?
port priority
What are major uses of CDP?
finding the interface IPs of neighboring devices.
verifying L2 connectivity if L3 connectivity goes down.
finding the power requirement of a connected Cisco PD on a PoE switch.
IOS version running
host name
duplex settings
CDP can communicate what info about VTP and VLANs?
It can only communicate the VTP domain
It can only communicate the native VLAN, no other VLAN information is given.
Which is Cisco proprietary, PAgP or LACP?
What states do they have?
PAgP; desirable/auto. Cisco
LACP; passive/active. Open.