UMN:CLI
User Manual
V8102
392
To configure BPDU guard in the switch, perform the following procedure.
Step 1
Configure the specific port as edge-port.
Command
Mode
Description
spanning-tree edgeport enable
Interface
[10GE/GE]
Configures the port as Edge port.
Step 2
Enable BPDU guard function on edge port or specific port, use the following command.
Command
Mode
Description
spanning-tree
edgeport
bpduguard
default
Global
Enables BPDU Guard function on edge ports
spanning-tree bpduguard
enable
Interface
[XE/GE]
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
Global
Disables BPDU Guard function of edge ports (default)
spanning-tree bpduguard
disa-
ble
Interface
[XE/GE]
Disables BPDU Guard function of specified port. (de-
fault)
no spanning-tree 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 V8102 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
Global
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
Global
Shows information of error-disable recovery function.