Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Example: Ethernet Ring Protection Switching Configuration on MX Routers

 

This example describes how to configure Ethernet ring protection switching on an MX Series router:

Requirements

This example uses the following hardware and software components:

  • Router node 1 running Junos OS with two Gigabit Ethernet interfaces.

  • Router node 2 running Junos OS with two Gigabit Ethernet interfaces.

  • Router node 3 running Junos OS with two Gigabit Ethernet interfaces.

Ethernet Ring Overview and Topology

This section describes a configuration example for a three-node ring. The ring topology is shown in Figure 1.

Figure 1: Example of a Three-Node Ring Topology
Example of a Three-Node
Ring Topology

The configuration in this section is only for the RAPS channel. The bridge domain for user traffic is the same as the normal bridge domain. The only exception is if a bridge domain includes a ring port, then it must also include the other ring port of the same ring.

Configuring a Three-Node Ring

To configure Ethernet Ring Protection Switching on a three-node ring, perform these tasks:

Configuring Ethernet Ring Protection Switching on a Three-Node Ring

Step-by-Step Procedure

  1. Configuring Node 1

  2. Configuring Node 2

  3. Configuring Node 3

Examples: Ethernet RPS Output

This section provides output examples based on the configuration shown in Example: Ethernet Ring Protection Switching Configuration on MX Routers. The show commands used in these examples can help verify configuration and correct operation.

Normal Situation—RPL Owner Node

If the ring has no failure, the show command will have the following output for Node 1:

user@node1> show protection-group ethernet-ring aps
user@node1> show protection-group ethernet-ring interface
user@node1> show protection-group ethernet-ring node-state
user@node1> show protection-group ethernet-ring statistics group-name pg101

Normal Situation—Other Nodes

For Node 2 and Node 3, the outputs should be the same:

user@node2> show protection-group ethernet-ring aps
user@node2> show protection-group ethernet-ring interface
user@node2> show protection-group ethernet-ring node-state
user@node2> show protection-group ethernet-ring statistics group-name pg102

Failure Situation—RPL Owner Node

If the ring has a link failure between Node 2 and Node 3, the show command will have the following outputs for Node 1:

user@node1> show protection-group ethernet-ring aps
user@node1> show protection-group ethernet-ring interface
user@node1> show protection-group ethernet-ring node-state
user@node1> show protection-group ethernet-ring statistics group-name pg101

Failure Situation—Other Nodes

For Node 2 and Node 3, the outputs should be the same:

user@node2> show protection-group ethernet-ring aps
user@node2> show protection-group ethernet-ring interface
user@node2> show protection-group ethernet-ring node-state
user@node2> show protection-group ethernet-ring statistics group-name pg102