Displaying the Interface State Before BPDU Protection Is Triggered
Purpose
Before BPDUs are being received from the PCs connected to interface
ge-0/0/5
and
interface
ge-0/0/6
, confirm the interface state.
Action
Use the operational mode command:
user@switch>
show ethernet-switching interfaces
Interface State VLAN members Blocking
ge-0/0/0.0 down default unblocked
ge-0/0/1.0 down default unblocked
ge-0/0/2.0 down default unblocked
ge-0/0/3.0 up default unblocked
ge-0/0/4.0 up v1 unblocked
ge-0/0/5.0 up v1 unblocked
ge-0/0/6.0 up default unblocked
[output truncated]
Meaning
The output from the operational mode command
show ethernet-switching interfaces
shows that
ge-0/0/5.0
and interface
ge-0/0/6.0
are
up
and unblocked.
Verifying That BPDU Protection Is Working Correctly
Purpose
In this example, the PCs connected to Switch 2 start sending BPDUs to interface
ge-0/0/5.0
and interface
ge-0/0/6.0
. Verify that BPDU protection is configured on the
interfaces.
Action
Use the operational mode command:
user@switch>
show ethernet-switching interfaces
Interface State VLAN members Blocking
ge-0/0/0.0 up default unblocked
ge-0/0/1.0 up default unblocked
ge-0/0/2.0 up default unblocked
ge-0/0/3.0 up default unblocked
ge-0/0/4.0 up v1 unblocked
ge-0/0/5.0 down v1 blocked - blocked by bpdu-control
ge-0/0/6.0 down default blocked - blocked by bpdu-control
[output truncated]
Meaning
When BPDUs are sent from the PCs to interface
ge-0/0/5.0
and interface
ge-0/0/6.0
on Switch 2, the output from the operational mode command
show spanning-tree
interface
shows that the interfaces have transitioned to a BPDU inconsistent state. The
BPDU inconsistent state makes the interfaces shut down and prevents them from
forwarding traffic.
Disabling the BPDU protection configuration on an interface does not unblock the
interface. If the disable-timeout statement has been included in the BPDU configuration,
the interface automatically returns to service after the timer expires. Otherwise, use the
operational mode command clear ethernet-switching bpdu-error to recover from the error
condition and restore the interface to service.
Copyright © 2010, Juniper Networks, Inc.
1568
Complete Software Guide for Junos
®
OS for EX Series Ethernet Switches, Release 10.3
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...