[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Example: Configuring MSTP on Multiple Routers

In the example shown in Figure 89, MSTP is configured on three routers. All three routers are in the same MSTP region, although there are two MST instances running across the three routers.

Figure 89: MSTP Example

Image g016811.gif

On Router 1, configure the encapsulation type and descriptions for the interfaces that will be configured to support MSTP. An example of interfaces ge-2/2/1 and xe-9/3/0 follows.

[edit]
interfaces ge-2/2/1 {
flexible-vlan-tagging;
unit 100 {
encapsulation vlan-bridge;
vlan-id 100;
}
unit 200 {
encapsulation vlan-bridge;
vlan-id 200;
}
}
interfaces xe-9/3/0 {
encapsulation flexible-ethernet-services;
flexible-vlan-tagging;
unit 100 {
encapsulation vlan-bridge;
vlan-id 100;
}
unit 200 {
encapsulation vlan-bridge;
vlan-id 200;
}
}

On Router 1, configure the virtual switch, MST instances, and bridge domains that are to be part of the VS1 routing instance. The instance name and revision level must be the same as other MSTP configurations in the MSTP region (which includes Router 2 and Router 3).

Router 1

[edit]
routing-instances {
vs1 {
instance-type virtual switch;
bridge-domains {
vlan100 {
vlan-id 100;
interface xe-9/2/0.100;
interface xe-9/3/0.100;
interface ge-2/2/1.100;
interface ge-2/2/4.0;
interface ae1.100;
interface ae2.100;
}
vlan200 {
vlan-id 200;
interface xe-9/2/0.200;
interface xe-9/3/0.200;
interface ge-2/2/6.0;
interface ge-2/2/1.200;
interface ae1.200;
interface ae2.200;
}
protocols {
mstp {
configuration-name example;
revision-level 3;
interface ge-2/2/1;
interface xe-9/2/0;
interface xe-9/3/0;
interface ae1;
interface ae2;
msti 1 {
vlan 100;
}
msti 2 {
vlan 200;
}
}
}
}
}
}

Router 3

On Router 3, configure the interfaces.

[edit]
interfaces xe–10/2/0 {
flexible-vlan-tagging;
flexible-ethernet-services;
unit 100 {
encapsulation vlan-bridge;
vlan-id 100;
}
unit 200 {
encapsulation vlan-bridge;
vlan-id 200;
}
}
interfaces ge–11/1/1 {
encapsulation flexible-ethernet-services;
flexible-vlan-tagging;
unit 100 {
encapsulation vlan-bridge;
vlan-id 100;
}
unit 200 {
encapsulation vlan-bridge;
vlan-id 200;
}
}

You must also configure the virtual switch routing instance.

[edit]
routing-instances {
vs1 {
instance-type virtual switch;
bridge-domains {
vlan100 {
vlan-id 100;
domain-type bridge;
interface xe-10/0/0.100;
interface xe-10/2/0.100;
interface ge-11/1/0.100;
interface ge-11/1/1.100;
ae2.100;
}
vlan200 {
vlan-id 200;
interface xe-10/0/0.200;
interface xe-10/2/0.200;
interface ge-11/1/0.200;
interface ge-11/1/1.200;
interface ae2.200;
}
protocols {
mstp {
configuration-name example;
revision-level 3;
interface xe-10/0/0;
interface xe-10/2/0;
interface ge-11/1/0;
interface ge-11/1/1;
interface ae2;
msti 1 {
vlan 100;
}
msti 2 {
vlan 200;
}
}
}
}
}
}

You must repeat these steps on all routers and interfaces that are part of the MSTP configuration.


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]