18 - Spanning Tree Part 2 Flashcards
[…] allows an STP port to move immediately to the forwarding state.
Portfast
Configure spanning tree in PVST mode:
SW1(config)# […]
spanning-tree mode pvst
Configure the spanning-tree root for a VLAN:
SW1(config)# […]
spanning-tree vlan <vlan-id> root primary</vlan-id>
Configure the spanning-tree secondary root for a VLAN:
SW1(config)# […]
spanning-tree vlan <vlan-id> root secondary</vlan-id>
Configure the STP cost of an interface:
SW1(config-if)# […]
spanning-tree vlan <vlan-id> cost <cost></cost></vlan-id>
Configure the STP priority of an interface:
SW1(config-if)# […]
spanning-tree vlan <vlan-id> port-priority <priority></priority></vlan-id>
Enable BPDU Guard on a switch port:
SW1(config-if)# […]
spanning-tree bpduguard enable
Enable BPDU Guard on all Portfast-enabled interfaces:
SW1(config)# […]
spanning-tree portfast bpduguard default
Enable portfast on a switch port:
SW1(config-if)# […]
spanning-tree portfast
Enable portfast on all access ports on the switch:
SW1(config)# […]
spanning-tree portfast default
If an interface with […] enabled receives a BPDU from another switch, the interface will be shut down.
BPDU Guard
PVST+ BPDUs are sent to destination MAC address:
0100.0ccc.cccd
spanning-tree vlan vlan-id root secondary sets the STP priority to […]
28672
spanning-tree vlan vlan-id root primary sets the STP priority to […], or 4096 less than the current root’s priority.
24576
Standard STP (NOT PVST) BPDUs are sent to destination MAC address:
0180.c200.0000
STP BPDUs are only forwarded on […] ports.
designated