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.
spanning-tree edgeport enable
Configures the port as Edge port.
Step 2
Enable BPDU guard function on edge port or specific port, use the following command.
spanning-tree edgeport
bpduguard default
Enables BPDU Guard function on edge ports
spanning-tree bpduguard enable
Enables BPDU Guard function on specified port
To disable BPDU guard function on edge port or specific port, use the following command.
no spanning-tree edgeport
bpduguard default
Disables BPDU Guard function of edge ports (default)
spanning-tree bpduguard disa-
ble
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.
errdisable recovery cause
bpduguard
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.
Shows information of error-disable recovery function.