CLI ReferenceInterface Configuration Commands MSTP Configuration Commands
Interface configuration mode
Ruijie(config)# interface gigabitethernet 1/1
Ruijie(config-if)# spanning-tree bpduguard enable
show spanning-tree interface
Show the STP configuration of an interface.
spanning-tree bpduguard
This command is used to enable the BPDU guard function on an interface. You can use the
enabled or disabled option of the command to enable or disable the BPDU guard function on
the interface.
spanning-tree bpduguard [ enabled | disabled ]
Enable BPDU guard on an interface.
Disable BPDU guard on an interface.
Interface configuration mode
Ruijie(config)# interface gigabitethernet 1/1
Ruijie(config-if)# spanning-tree bpduguard enable
show spanning-tree interface
Show the STP configuration of an interface.
spanning-tree compatible enable
This command is used to send the message selectively carried with MSTI according to the
interface attributes of current port to realize interconnection with other products.