Configuring BPDU Filter

BPDU Filter can be enabled or disabled on per port basis. If enabled on port, the switch ignores BPDUs received on the port and blocks it. The port will revert back to forwarding automatically once it stops receiving BPDUs or error recovery disable timer expires.

By default, the BPDU Filter is disabled.

  1. Execute the following commands to set the loop guard on the Interface.

    Type the following:

    • Enter the Global Configuration Mode.
    iS5comm# configure terminal
    • Enter the Interface Configuration mode.
    iS5comm(config)# interface gigabitethernet 0/1
    • Enable the BPDU Filter on the Port.
    iS5comm(config-if)# spanning-tree bpdufilter enable
    • Return to the Privileged EXEC Mode.
    iS5comm(config-if)#end
  2. Execute the following show commands to view the output.

    Type the following:

    iS5comm# show spanning vlan 1 interface gigabitethernet 0/1 detail
    BPDU filter is Enabled
    Note:

    Execute the no spanning-tree bpdufilter command in Interface Configuration Mode to disable BPDU Filter on the interface.

    iS5comm(config-if)# no spanning-tree bpdufilter