What is the effect of configuring the following command on a switch?
Switch(config)# spanning-tree portfast bpdufilter default
A.
If BPDUs are received by a port configured for PortFast, then PortFast is disabled and the BPDUs are processed normally.
B.
If BPDUs are received by a port configured for PortFast, they are ignored and none are sent.
C.
If BPDUs are received by a port configured for Portfast, the port will transition to forwarding state.
D.
The command will enable BPDU filtering on all ports regardless of whether they are configured for BPDU filtering at the interface level.
Explanation:
Spanning tree PortFast is a Catalyst feature that causes a switch or trunk port to enter the spanning tree Forwarding state immediately, bypassing the Listening and Learning states. IOS-based switches only use PortFast on access ports connected to end stations. When a device is connected to a port, the port normally enters the spanning tree Listening state. When the Forward Delay timer expires, the port enters the Learning state. When the Forward Delay timer expires a second time, the port is transitioned to the Forwarding or Blocking state. When PortFast is enabled on a switch or trunk port, the port is immediately transitioned to the Forwarding state. As soon as the switch detects the link, the port is transitioned to the Forwarding state (less than 2 seconds after the cable is plugged in).