beautypg.com

Example step: configuring spanning tree protocols, Example – Juniper Networks JUNOS OS 10.4 User Manual

Page 52

background image

Example Step: Configuring Interfaces and VLAN Tags on page 24

Example Step: Configuring Spanning Tree Protocols on page 32

Example Step: Configuring Integrated Bridging and Routing on page 34

Example Step: Configuring Spanning Tree Protocols

Configure the Spanning Tree Protocol on all three routers. This is necessary to avoid the
potential bridging loop formed by the triangular architecture of the routers. MSTP is
configured on the three routers so the set of VLANs has an independent, loop-free
topology. The Layer 2 traffic can be load-shared over 65 independent paths (64 Multiple
Spanning Tree Instances [MSTIs] and one Common and Internal Spanning Tree [CIST]),
each spanning a set of VLANs. The configuration names, revision level, and VLAN-to-MSTI
mapping must match in order to utilize the load-sharing capabilities of MSTP (otherwise,
each router will be in a different region).

To configure the Spanning Tree Protocol on all three routers:

1.

Configure MSTP on Router 1:

[edit]
protocols {

mstp {

configuration-name mstp-for-R1-2-3; # The names must match to be in the same

region

revision-level 3; # The revision levels must match
bridge-priority 0; # This bridge acts as root bridge for VLAN 100 and 200
interface ae1;
interface ae2;
msti 1 {

vlan100; # This VLAN corresponds to MSTP instance 1

}
msti 2 {

vlan200; # This VLAN corresponds to MSTP instance 2

}

}

}

2.

Configure MSTP on Router 2:

[edit]
protocols {

mstp {

configuration-name mstp-for-R1-2-3; # The names must match to be in the same

region

revision-level 3; # The revision levels must match
interface ae1;
interface ae3;
msti 1 {

vlan100; # This VLAN corresponds to MSTP instance 1
bridge-priority 4096; # This bridge acts as VLAN 100 designated bridge on

# the R2-R3 segment

}

Copyright © 2013, Juniper Networks, Inc.

32

Junos OS 13.1 MX Series 3D Universal Edge Routers Solutions Guide