Configuration Guide User guide

1164 FastIron Configuration Guide
53-1002494-02
BPDU guard
Example
Brocade(config)#interface ethernet 1/1 to 1/9
Brocade(config-mif-1/1-1/9)#stp-bpdu-guard
Brocade(config-mif-1/1-1/9)#
This will enable stp-bpdu-guard on ports 0/1/1 to 0/1/9
Re-enabling ports disabled by BPDU guard
When a BPDU Guard-enabled port is disabled by BPDU Guard, the Brocade device will place the
port in errdisable state and display a message on the console indicating that the port is errdisabled
(refer to “BPDU guard status example console messages” on page 1165). In addition, the show
interface command output will indicate that the port is errdisabled.
Example
Brocade#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.
Brocade(config)#int e 2
Brocade(config-if-e1000-2)#disable
Brocade(config-if-e1000-2)#enable
If you attempt to enable an errdisabled port without first disabling it, the following error message
will appear on the console.
Brocade(config-if-e1000-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.
For FastIron X Series devices, enter the stp-bpdu-guard command.
Brocade#show stp-bpdu-guard
BPDU Guard Enabled on:
Interface Violation
Port 1 No
Port 2 No
Port 3 No
Port 4 No
Port 5 No
Port 6 No
Port 7 No
Port 8 No
Port 9 No
Port 10 No
Port 11 No
Port 12 Yes
Port 13 No