Step-by-Step
Procedure
To configure loop protection:
1.
Configure interface
ge-0/0/6
on Switch 3:
[edit protocols rstp]
user@switch#
set interface ge-0/0/6
bpdu-timeout-action
block
Results
Check the results of the configuration:
user@switch> show configuration protocols rstp
interface ge-0/0/6.0 {
bpdu-timeout-action {
block;
}
}
Verification
To confirm that the configuration is working properly, perform these tasks:
•
Displaying the Interface State Before Loop Protection Is Triggered on page 1572
•
Verifying That Loop Protection Is Working on an Interface on page 1572
Displaying the Interface State Before Loop Protection Is Triggered
Purpose
Before loop protection is triggered on interface
ge-0/0/6
, confirm that the interface is
blocking.
Action
Use the operational mode command:
user@switch>
show spanning-tree interface
Spanning tree interface parameters for instance 0
Interface Port ID Designated Designated Port State Role
port ID bridge ID Cost
ge-0/0/0.0 128:513 128:513 32768.0019e2503f00 20000 BLK DIS
ge-0/0/1.0 128:514 128:514 32768.0019e2503f00 20000 BLK DIS
ge-0/0/2.0 128:515 128:515 32768.0019e2503f00 20000 BLK DIS
ge-0/0/3.0 128:516 128:516 32768.0019e2503f00 20000 FWD DESG
ge-0/0/4.0 128:517 128:517 32768.0019e2503f00 20000 FWD DESG
ge-0/0/5.0 128:518 128:518 32768.0019e2503f00 20000 FWD DESG
ge-0/0/6.0 128:519 128:2 16384.00aabbcc0348 20000 BLK ALT
[output truncated]
Meaning
The output from the operational mode command
show spanning-tree interface
shows
that
ge-0/0/6.0
is the alternate port and in a blocking state.
Verifying That Loop Protection Is Working on an Interface
Purpose
Verify the loop protection configuration on interface
ge-0/0/6
. RSTP has been disabled
on interface
ge-0/0/4
on Switch 1. This will stop BPDUs from being sent to interface
ge-0/0/6
and trigger loop protection on the interface.
Copyright © 2010, Juniper Networks, Inc.
1572
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 ...