Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Example: Configuring Layer 2 Circuit Protect Interfaces

This example illustrates how you might configure a Layer 2 circuit with protect interfaces. Protect interfaces act as backups for their associated interfaces. The primary interface has priority over the protect interface and carries network traffic as long as it is functional. If the primary interface fails, the protect interface is activated. These interfaces can also share the same virtual path identifier (VPI) or virtual circuit identifier (VCI).

Figure 1 shows the network topology used in this example.

Figure 1: Layer 2 Circuits Using Protect InterfacesLayer 2 Circuits Using Protect Interfaces

The following sections describe how to configure a Layer 2 circuit to use a protect interface:

Configuring Router PE1

Configure an interface for traffic to Router CE1 from Router PE1 at the [edit interfaces] hierarchy level:

Configure an interface for traffic to Router CE1 from Router PE1 at the [edit interfaces] hierarchy level. Logical interface so-0/2/0.2 acts as the protect interface for so-0/2/2.2, and logical interface so-0/2/0.1 acts as the protect interface for so-0/2/2.1:

Configure an interface for traffic to Router PE2 from Router PE1 at the [edit interfaces] hierarchy level:

Configure an interface for traffic to Router PE2 from Router PE1 at the [edit interfaces] hierarchy level:

Configure the Layer 2 circuit by including the l2circuit statement at the [edit protocols] hierarchy level. The logical interfaces for the Layer 2 circuits and their corresponding protect interfaces are included here:

Configuring Router PE2

Configure an interface for traffic to Router CE2 from Router PE2:

Configure an interface for traffic to Router PE1 from Router PE2:

Configure an interface for traffic to Router PE1 from Router PE2:

Configure the Layer 2 circuit at the [edit protocols] hierarchy level:

Configuring Router CE1

Configure an interface for traffic to Router PE1 from Router CE1:

Configure an interface for traffic to Router PE1 from Router CE1:

Configuring Router CE2

Configure an interface for traffic to Router PE2 from Router CE2: