Command Reference MSTP Commands
If the designated port of a device does not receive a BPDU from the downlink port within a specific
period (3 seconds), the device regards a network device connected to the designated port, configures
the port as an edge port, and switches the port directly into the forwarding state. The edge port will be
automatically identified as a non-edge port after receiving a BPDU.
You can run the spanning-tree autoedge disabled command to disable Auto Edge.
The following example disables Autoedge on the interface.
Ruijie(config)# interface gigabitethernet 1/1
Ruijie(config-if-interface-id-interface-id)# spanning-tree autoedge disabled
show spanning-tree interface
Displays the STP configuration information of
the interface.
9.19 spanning-tree bpdufilter
Use this command to enable BPDU filter on the interface. You can use the enabled or disabled
option of the command to enable or disable the BPDU filter function on the interface.
spanning-tree bpdufilter [ enabled | disabled ]
Enables BPDU filter on the interface.
Disables BPDU filter on the interface.
This function is disabled by default,
Interface configuration mode.
If BPDU filter is enabled on a port, the port neither sends nor receives BPDUs.
The following example enables BPDU filter on interface Gi 1/1.
Ruijie(config)# interface gigabitethernet 1/1
Ruijie(config-if-interface-id-interface-id)# spanning-tree bpdufilter enable
show spanning-tree interface
Displays the STP configuration of the interface.