Quick Reference Guide

158 PowerConnect B-Series TI24X Configuration Guide
53-1002269-02
BPDU guard
6
Re-enabling ports disabled by BPDU guard
When a BPSU Guard-enabled port is disabled by BPSU Guard, the device will place the port in
errdisable state and display a message on the console indicating that the port is errdisabled (refer
to “Example console messages” on page 159). In addition, the show interface command output
will indicate that the port is errdisabled.
Example
PowerConnect#show int e 2
Gigabit Ethernet2 is ERR-DISABLED (bpduguard), line protocol is down
To re-enable a port that is in errdisable state, you must first disable the port then re-enable it.
Enter commands such as the following.
PowerConnect(config)#int e 2
PowerConnect(config-if-e10000-2)#disable
PowerConnect(config-if-e10000-2)#enable
If you attempt to enable an errdisabled port without first disabling it, the following error message
will appear on the console.
PowerConnect(config-if-e10000-2)#enable
Port 2 is errdisabled, do disable first and then enable to enable it
Displaying the BPDU guard status
To display the BPDU guard state, enter the show running configuration or the show stp-bpdu-guard
command.
Example configurations
Example
The following example shows how to configure BPDU guard at the interface level and to verify the
configuration by issuing the show stp-bpdu-guard and the show interface commands.
PowerConnect(config)#interface ethernet 1
PowerConnect(config-if-e10000-1)#stp-bpdu-guard
PowerConnect(config-if-e10000-1)#
PowerConnect(config-if-e10000-1)#show stp-bpdu-guard
BPDU Guard Enabled on:
Port
1
PowerConnect(config-if-e10000-1)#
PowerConnect(config-if-e10000-1)#show interfaces ethernet 1
GigabitEthernet1 is up, line protocol is up
Hardware is GigabitEthernet, address is 000c.dba0.7100 (bia 000c.dba0.7100)
Configured speed auto, actual 100Mbit, configured duplex fdx, actual fdx
Configured mdi mode AUTO, actual MDI
Member of L2 VLAN ID 2, port is untagged, port state is FORWARDING
BPDU guard is Enabled, ROOT protect is Disabled
STP configured to ON, priority is level0, flow control enabled
mirror disabled, monitor disabled
Not member of any active trunks
Not member of any configured trunks
No port name
IPG MII 96 bits-time, IPG GMII 96 bits-time
IP MTU 1500 bytes