Juniper JUNOS OS 10.3 - SOFTWARE Manual page 1659

For ex series ethernet switches
Hide thumbs Also See for JUNOS OS 10.3 - SOFTWARE:
Table of Contents

Advertisement

CLI Quick
Configuration
Step-by-Step
Procedure
Results
Verification
Purpose
Action
Copyright © 2010, Juniper Networks, Inc.
To quickly configure BPDU protection on Switch 2, copy the following commands and
paste them into the switch terminal window:
[edit]
set protocols rstp interface ge-0/0/5 edge
set protocols rstp interface ge-0/0/6 edge
set protocols rstp bpdu-block-on-edge
To configure BPDU protection:
Configure interface
ge-0/0/5
1.
[edit protocols rstp]
user@switch# set interface ge-0/0/5 edge
user@switch#set interface ge-0/0/6 edge
Configure BPDU protection on all edge ports:
2.
[edit protocols rstp]
user@switch# set bpdu-block-on-edge
Check the results of the configuration:
user@switch> show configuration protocols rstp
interface ge-0/0/5.0 {
edge;
}
interface ge-0/0/6.0 {
edge;
}
bpdu-block-on-edge;
To confirm that the configuration is working properly:
Displaying the Interface State Before BPDU Protection Is Triggered on page 1563
Verifying That BPDU Protection is Working Correctly on page 1564
Displaying the Interface State Before BPDU Protection Is Triggered
Before BPDUs are being received from the PCs connected to interface
interface
, confirm the interface state.
ge-0/0/6
Use the operational mode command:
user@switch> show spanning-tree interface
Spanning tree interface parameters for instance 0
Interface
Port ID
ge-0/0/0.0
128:513
ge-0/0/1.0
128:514
ge-0/0/2.0
128:515
ge-0/0/3.0
128:516
ge-0/0/4.0
128:517
ge-0/0/5.0
128:518
Chapter 65: Examples of Spanning-Tree Protocols Configuration
and interface
ge-0/0/6
Designated
Designated
port ID
bridge ID
128:513
32768.0019e2503f00
128:514
32768.0019e2503f00
128:515
32768.0019e2503f00
128:516
32768.0019e2503f00
128:517
32768.0019e2503f00
128:518
32768.0019e2503f00
on Switch 2 as edge ports:
ge-0/0/5
and
Port
State
Role
Cost
20000
BLK
DIS
20000
BLK
DIS
20000
BLK
DIS
20000
FWD
DESG
20000
FWD
DESG
20000
FWD
DESG
1563

Advertisement

Table of Contents
loading

Table of Contents