You are the administrator of a switch and currently all host-connected ports are configured with the portfast command. You have received a new directive from your manager that states that, in the future, any host-connected port that receives a BPDU should automatically disable PortFast and begin transmitting BPDUs. Which of the following commands will support this new requirement?
A.
Switch(config)# spanning-tree portfast bpduguard default
B.
Switch(config-if)# spanning-tree bpduguard enable
C.
Switch(config-if)# spanning-tree bpdufilter enable
D.
Switch(config)# spanning-tree portfast bpdufilter default
Explanation:
This command prevents interfaces that are in a Port Fast-operational state from sending or receiving BPDUs. The interfaces still send a few BPDUs at link-up before the switch begins to filter outbound BPDUs. You should globally enable BPDU filtering on a switch so that hosts connected to these interfaces do not receive BPDUs. If a BPDU is received on a Port Fast-enabled interface, the interface loses its Port Fast-operational status, and BPDU filtering is disabled.
To enable bpdufilter global configuration mode:
R1(Config)#spanning-tree portfast bpdufilter default