Re-enabling ports disabled by bpdu guard, Displaying the bpdu guard status, Example configurations – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 610

Advertising
background image

576

Brocade TurboIron 24X Series Configuration Guide

53-1003053-01

BPDU guard

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 577). In addition, the show interface command output will

indicate that the port is errdisabled.

Example

TurboIron#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.

TurboIron(config)#int e 2

TurboIron(config-if-e10000-2)#disable

TurboIron(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.

TurboIron(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.

TurboIron(config)#interface ethernet 1

TurboIron(config-if-e10000-1)#stp-bpdu-guard

TurboIron(config-if-e10000-1)#

TurboIron(config-if-e10000-1)#show stp-bpdu-guard

BPDU Guard Enabled on:

Port

1

TurboIron(config-if-e10000-1)#

TurboIron(config-if-e10000-1)#show interfaces ethernet 1

GigabitEthernet1 is up, line protocol is up

Hardware is GigabitEthernet, address is 0000.00a0.7100 (bia 0000.00a0.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

Advertising