CLI ReferenceInterface Configuration Commands MSTP Configuration Commands
show spanning-tree interface
Show the global STP configuration.
spanning-tree portfast bpduguard default
This command is used to enable the BPDU guard globally. You can use the no option of the
command to disable the BPDU guard.
spanning-tree portfast bpduguard default
no spanning-tree portfast bpduguard default
Global configuration mode
Once the BPDU guard is enabled on the interface, you will enter the error-disabled status if
the BPDU message is received at the interface. You can use the show spanning-tree
command to display the configuration.
Ruijie(config)# spanning-tree portfast bpduguard default
show spanning-tree interface
Show the global STP configuration.
spanning-tree portfast default
This command is used to enable the portfast feature on all interfaces globally. You can use the
no option of the command to disable the portfast on all the interfaces globally.
spanning-tree portfast default
no spanning-tree portfast default