CLI ReferenceInterface Configuration Commands MSTP Configuration Commands
spanning-tree portfast
This command is used to enable the portfast on an interface. You can use the disabled option
of this command to disable the portfast feature on the interface.
spanning-tree portfast [ disabled ]
Disable the portfast on an interface.
Interface configuration mode
Ruijie(config)# interface gigabitethernet 1/1
Ruijie(config-if)# spanning-tree portfast
show spanning-tree
interface
Show the STP configuration of the interface.
spanning-tree portfast bpdufilter default
This command is used to enable the BPDU filter function globally. You can use the no option of
the command to disable the BPDU filter.
spanning-tree portfast bpdufilter default
no spanning-tree portfast bpdufilter default
Global configuration mode
Once the BPDU filter is enabled, the BPDU message is neither received nor sent on the
interface. You can use the show spanning-tree command to display the configuration.
Ruijie(config)# spanning-tree portfast bpdufilter default