UMN:CLI
User Manual
V5824G
268
Step 2
Enable BPDU guard function on edge port or specific port, use the following command.
Command
Mode
Description
spanning-tree
edgeport
bpduguard
default
Bridge
Enables BPDU Guard function on edge ports
spanning-tree
port
PORTS
bpduguard
enable
Enables BPDU Guard function on specified port
To disable BPDU guard function on edge port or specific port, use the following command.
Command
Mode
Description
no
spanning-tree
edgeport
bpduguard
default
Bridge
Disables BPDU Guard function of edge ports (default)
spanning-tree
port
PORTS
bpduguard
disable
Disables BPDU Guard function of specified port.
(default)
no spanning-tree port
PORTS
bpduguard
However, BPDU Guard can be corrupted by unexpected cause. In this case, the edge
port is blocked immediately and remains at this state until user recovers it. To prevent this
problem, the V5824G provides error-disable recovery function for BPDU guard cause.
When an edge port is down for BPDU packet which came from other switch, the port is
recovered automatically after configured time.
To enable the recovery function for BPDU guard error-disable cause, use the following
command.
Command
Mode
Description
errdisable
recovery
cause
bpduguard
Bridge
Enables the recovery function for BPDU guard error-
disable cause
no errdisable recovery cause
bpduguard
Disables the recovery function for BPDU guard error-
disable cause
To display information of error-disable recovery function, use the following command.
Command
Mode
Description
show errdisable recovery
Bridge
Shows information of error-disable recovery function.