Which two commands can be used to enable BPDU guard on a switch? (Choose two.)

IT Exam Items Repository › Which two commands can be used to enable BPDU guard on a switch? (Choose two.)

Which two commands can be used to enable BPDU guard on a switch? (Choose two.)

  • S1(config)# spanning-tree bpduguard default
  • S1(config-if)# spanning-tree portfast bpduguard
  • S1(config)# spanning-tree portfast bpduguard default
  • S1(config-if)# enable spanning-tree bpduguard
  • S1(config-if)# spanning-tree bpduguard enable

Explanation: BPDU guard can be enabled on all PortFast-enabled ports by using the spanning-tree portfast bpduguard default global configuration command. Alternatively, BPDU guard can be enabled on a PortFast-enabled port through the use of the spanning-tree bpduguard enable interface configuration command.

Related exam: CCNA 2 v7 Checkpoint Exam: L2 Security and WLANs Exam Answers