CLI ReferenceInterface Configuration Commands MSTP Configuration Commands
MSTP Configuration Commands
bpdu src-mac-check
This command is used to enable the BPDU source MAC address check function on an
interface. Use the no option of this command to disable the function.
bpdu src-mac-check H.H.H
no bpdu src-mac-check
Indicates that only the BPDU frames from this MAC address are
received.
Indicates that the BPDU frames from any MAC address are
received.
Interface configuration mode
Ruijie(config)# interface gigabitethernet 1/1
Ruijie(config-if)# bpdu src-mac-check 00d0.f800.1e2f
clear spanning-tree counters
This command is used to clear statistics of STP receiving/transmitting packets.
clear spanning-tree counters [ interface interface-id ]
ID of the corresponding interface