Configuration Guide MSTP Configuration
Ruijie(config)# interface interface-id
Enter the interface configuration mode. A
legal interface contains a physical port and
an aggregate link.
Ruijie(config-if)# spanning-tree
portfast
Enable Port Fast on the interface before
the bpduguard configuration takes effect
globally.
Return to the privileged EXEC mode.
Ruijie# show running-config
Verify the configuration.
Ruijie# copy running-config
startup-config
To disable BPDU Guard, execute the no spanning-tree portfast bpduguard
default command in the global configuration command.
To enable or disable BPDU Guard on an interface, execute the spanning-tree
bpduguard enable command or the spanning-tree bpduguard disable
command on the interface respectively.
Enabling BPDU Filter
A port neither transmit nor receive the BPDU message after the BPDU filter is
enabled.
To configure the BPDU Filter, execute the following commands in the global
configuration mode:
Ruijie# configure terminal
Enter the global configuration mode.
Ruijie(config)# spanning-tree
portfast bpdufilter default
Enable BPDU filter globally.
Ruijie(config)# interface
Interface-id
Enter the interface configuration mode. A
legal interface contains a physical port and
an aggregate link.
Ruijie(config-if)# spanning-tree
Portfast
Enable portfast on this interface before the
bpduguard configuration takes effect
globally.
Return to the privileged EXEC mode.
Ruijie# show running-config
Verify the configuration.
Ruijie# copy running-config
startup-config