An engineer is troubleshooting a switch port running classic 802.1D Spanning Tree Protocol (STP) that connects to an access host. The current interface state is shown below:
text
Switch# show spanning-tree interface GigabitEthernet 0/1
Vlan Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
VLAN0010 Desg LRN 4 128.1 P2p
If the network administrator configures `spanning-tree portfast` on interface GigabitEthernet 0/1 and the link subsequently flaps, which statement accurately describes the operational state transitions and spanning-tree behaviors of this interface?
- The interface immediately transitions upon link-up from Blocking directly to Forwarding, skipping Listening and Learning, and it does not trigger a Topology Change Notification (TCN) when the link flaps.Cevap
- BThe interface transitions immediately to Forwarding but suppresses all outbound BPDUs, making PortFast safe to deploy on switch-to-switch trunk interconnections.
- CThe interface bypasses the Listening state but remains in the Learning state for 15 seconds to populate the MAC address table while calculating the system ID extension increment of 4096.
- DThe interface transitions immediately to Forwarding, but every link flap forces the switch to transmit a TCN BPDU out its root port to clear MAC address tables across the broadcast domain.
Cevap
The interface immediately transitions upon link-up from Blocking directly to Forwarding, skipping Listening and Learning, and it does not trigger a Topology Change Notification (TCN) when the link flaps.
Enabling Cisco PortFast on an access interface causes it to transition directly from Blocking to Forwarding immediately upon link up, completely bypassing the 15-second Listening and 15-second Learning states. In addition, link flaps on PortFast-enabled ports do not send Topology Change Notifications (TCNs) to the Root Bridge, avoiding global MAC address table aging flushes.
Adım Adım Çözüm
Anahtar Kavram
STP Port States and PortFast Benefits
Tahmini Süre:1m 30s