Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
{ "lCode": "en_US", "lName": "English", "folder": "en_US" }
English

Example: Configuring Ethernet Ring Protection for MX Series Routers

date_range 06-Jun-19

This example configures Ethernet ring protection for three MX Series router nodes:

Example Topology

The links connecting the three MX Series routers are shown in Figure 1.

Figure 1: Ethernet Ring Protection Example Nodes
Ethernet Ring Protection Example Nodes

This example uses the following topology details for Ethernet ring protection:

  • Router 1 is the RPL owner. The node identification for Router 1 is MAC address 00:01:01:00:00:01.

  • The RPL link is ge-1/0/1.1 (this is also the R-APS messaging control channel).

  • Traffic flows among the nodes in the configured bridge domains. (That is, only the control channels are configured.)

  • Router 1’s east control channel interface is ge-1/0/1.1 (the RPL) and the west control channel interface is ge-1/2/4.1. The protection group is pg101.

  • Router 2’s east control channel interface is ge-1/0/2.1 (the RPL) and the west control channel interface is ge-1/2/1.1. The protection group is pg102.

  • Router 3’s east control channel interface is ge-1/0/3.1 (the RPL) and the west control channel interface is ge-1/0/4.1. The protection group is pg103.

Note

Although not strictly required for physical ring protection, this example configures Ethernet OAM with MEPs.

Router 1 (RPL Owner) Configuration

To configure Router 1 (the RPL owner):

  1. Configure the interfaces:

    content_copy zoom_out_map
    [edit]
    interfaces {
    ge-1/0/1 {
    vlan-tagging;
    encapsulation flexible-ethernet-services;
    unit 1 {
    encapsulation vlan-bridge;
    vlan-id 100;
    }
    }
    ge-1/2/4 {
    vlan-tagging;
    encapsulation flexible-ethernet-services;
    unit 1 {
    encapsulation vlan-bridge;
    vlan-id 100;
    }
    }
    irb {
    unit 0 {
    family inet {
    address address 192.1.1.11/24;
    }
    }
    }
    }
  2. Configure the bridge domain:

    content_copy zoom_out_map
    [edit]
    bridge-domains {
    bd1 {
    domain-type bridge;
    vlan-id 100;
    interface ge-1/2/4.1;
    interface ge-1/0/1.1;
    routing-interface irb.0;
    }
    }
  3. Configure the Ethernet ring protection group:

    content_copy zoom_out_map
    [edit]
    protocols {
    protection-group {
    ethernet-ring pg101 {
    node-id 00:01:01:00:00:01;
    ring-protection-link-owner;
    east-interface {
    control-channel ge-1/0/1.1;
    }
    ring-protection-link-end;
    west-interface {
    control-channel ge-1/2/4.1;
    }
    }
    }
    }
  4. Configure Ethernet OAM:

    content_copy zoom_out_map
    [edit]
    protocols {
    oam {
    ethernet {
    connectivity-fault-management {
    action-profile rmep-defaults {
    default-action {
    interface-down;
    }
    }
    maintenance-domain d1 {
    level 0;
    maintenance-association 100 {
    mep 1 {
    interface ge-1/0/1;
    remote-mep 2 {
    action-profile rmep-defaults;
    }
    }
    }
    }
    maintenance-domain d2 {
    level 0;
    maintenance-association 100 {
    mep 1 {
    interface ge-1/2/4;
    remote-mep 2 {
    action-profile rmep-defaults;
    }
    }
    }
    }
    }
    }
    }
    }

Router 2 Configuration

To configure Router 2:

  1. Configure the interfaces:

    content_copy zoom_out_map
    [edit]
    interfaces {
    ge-1/0/2 {
    vlan-tagging;
    encapsulation flexible-ethernet-services;
    unit 1 {
    encapsulation vlan-bridge;
    vlan-id 100;
    }
    }
    ge-1/2/1 {
    vlan-tagging;
    encapsulation flexible-ethernet-services;
    unit 1 {
    encapsulation vlan-bridge;
    vlan-id 100;
    }
    }
    irb {
    unit 0 {
    family inet {
    address address 192.1.1.22/24;
    }
    }
    }
    }
  2. Configure the bridge domain:

    content_copy zoom_out_map
    [edit]
    bridge-domains {
    bd1 {
    domain-type bridge;
    vlan-id 100;
    interface ge-1/2/1.1;
    interface ge-1/0/2.1;
    routing-interface irb.0;
    }
    }
  3. Configure the Ethernet protection group:

    content_copy zoom_out_map
    [edit]
    protocols {
    protection-group {
    ethernet-ring pg102 {
    node-id 00:22:22:22:22:22;
    east-interface {
    control-channel ge-1/0/2.1;
    }
    west-interface {
    control-channel ge-1/2/1.1;
    }
    }
    }
    }
  4. Configure Ethernet OAM:

    content_copy zoom_out_map
    [edit]
    protocols {
    oam {
    ethernet {
    connectivity-fault-management {
    action-profile rmep-defaults {
    default-action {
    interface-down;
    }
    }
    maintenance-domain d1 {
    level 0;
    maintenance-association 100 {
    mep 2 {
    interface ge-1/2/1;
    remote-mep 1 {
    action-profile rmep-defaults;
    }
    }
    }
    }
    maintenance-domain d3 {
    level 0;
    maintenance-association 100 {
    mep 1 {
    interface ge-1/0/2;
    remote-mep 2 {
    action-profile rmep-defaults;
    }
    }
    }
    }
    }
    }
    }
    }

Router 3 Configuration

To configure Router 3:

  1. Configure the interfaces:

    content_copy zoom_out_map
    [edit]
    interfaces {
    ge-1/0/4 {
    vlan-tagging;
    encapsulation flexible-ethernet-services;
    unit 1 {
    encapsulation vlan-bridge;
    vlan-id 100;
    }
    }
    ge-1/0/3 {
    vlan-tagging;
    encapsulation flexible-ethernet-services;
    unit 1 {
    encapsulation vlan-bridge;
    vlan-id 100;
    }
    }
    irb {
    unit 0 {
    family inet {
    address 192.1.1.33/24;
    }
    }
    }
    }
  2. Configure the bridge domain:

    content_copy zoom_out_map
    [edit]
    bridge-domains {
    bd1 {
    domain-type bridge;
    vlan-id 100;
    interface ge-1/0/4.1;
    interface ge-1/0/3.1;
    routing-interface irb.0;
    }
    }
  3. Configure the Ethernet protection group:

    content_copy zoom_out_map
    [edit]
    protocols {
    protection-group {
    ethernet-ring pg103 {
    node-id 00:33:33:33:33:33;
    east-interface {
    control-channel ge-1/0/3.1;
    }
    west-interface {
    control-channel ge-1/0/4.1;
    }
    }
    }
    }
  4. Configure Ethernet OAM:

    content_copy zoom_out_map
    [edit]
    protocols {
    oam {
    ethernet {
    connectivity-fault-management {
    action-profile rmep-defaults {
    default-action {
    interface-down;
    }
    }
    maintenance-domain d2 {
    level 0;
    maintenance-association 100 {
    mep 2 {
    interface ge-1/0/4;
    remote-mep 1 {
    action-profile rmep-defaults;
    }
    }
    }
    }
    maintenance-domain d3 {
    level 0;
    maintenance-association 100 {
    mep 2 {
    interface ge-1/0/3;
    remote-mep 1 {
    action-profile rmep-defaults;
    }
    }
    }
    }
    }
    }
    }
    }
footer-navigation