CLI ReferenceInterface Configuration Commands MSTP Configuration Commands
spanning-tree guard none
This command is used to disable the guard on an interface. You can use the no option of this
command to disable the guard on the interface.
spanning-tree guard none
no spanning-tree guard none
Interface configuration mode
Ruijie(config)# spanning-tree guard none
spanning-tree guard root
This command is used to enable the root guard on an interface to prevent the change of
current root bridge position because of error configuration and illegal message attacks. You
can use the no option of this command to disable the root guard on the interface.
spanning-tree guard root
no spanning-tree guard root
Interface configuration mode