Technical Documentation

Example: Configuring Ethernet Ring Protection for MX Series Routers

The following example configures Ethernet ring protection for three MX Series router nodes. The links connecting the routers are shown in Figure 1.

Figure 1: Ethernet Ring Protection Example Nodes

Image g016988.gif

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

  1. Configure the interfaces:
    [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;
    }
    }
    }
  2. Configure the bridge domain:
    [edit]
    bridge-domains {
    bd1 {
    domain-type bridge;
    interface ge-1/2/4.1;
    interface ge-1/0/1.1;
    }
    }
  3. Configure the Ethernet ring protection gorup:
    [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:
    [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

  1. Configure the interfaces:
    [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;
    }
    }
    }
  2. Configure the bridge domain:
    [edit]
    bridge-domains {
    bd1 {
    domain-type bridge;
    interface ge-1/2/1.1;
    interface ge-1/0/2.1;
    }
    }
  3. Configure the Ethernet protection group:
    [edit]
    protocols {
    protection-group {
    ethernet-ring pg102 {
    east-interface {
    control-channel ge-1/0/2.1;
    }
    west-interface {
    control-channel ge-1/2/1.1;
    }
    }
    }
    }
  4. Configure Ethernet OAM:
    [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

  1. Configure the interfaces:
    [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;
    }
    }
    }
  2. Configure the bridge domain:
    [edit]
    bridge-domains {
    bd1 {
    domain-type bridge;
    interface ge-1/0/4.1;
    interface ge-1/0/3.1;
    }
    }
  3. Configure the Ethernet protection group:
    [edit]
    protocols {
    protection-group {
    ethernet-ring pg103 {
    east-interface {
    control-channel ge-1/0/3.1;
    }
    west-interface {
    control-channel ge-1/0/4.1;
    }
    }
    }
    }
  4. Configure Ethernet OAM:
    [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;
    }
    }
    }
    }
    }
    }
    }
    }

Published: 2009-10-11