Configure an interface for traffic to Router CE1 from Router PE1 at the [edit interfaces] hierarchy level:
- [edit interfaces]
- so-0/2/2 {
- description "Router CE1 so-0/2/2";
- no-keepalives;
- encapsulation frame-relay-ccc;
-
- unit 1 {
- encapsulation frame-relay-ccc;
- point-to-point;
- dlci 600;
- }
-
- unit 2 {
- encapsulation frame-relay-ccc;
- point-to-point;
- dlci 602;
- }
- }
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:
- [edit interfaces]
- so-0/2/0 {
- description "to Router CE1 so-0/3/0";
- no-keepalives;
- encapsulation frame-relay-ccc;
-
- unit 1 {
- encapsulation frame-relay-ccc;
- dlci 600;
- }
-
- unit 2 {
- encapsulation frame-relay-ccc;
- dlci 602;
- }
- }
Configure an interface for traffic to Router PE2 from Router PE1 at the [edit interfaces] hierarchy level:
- [edit interfaces]
- so-0/2/1 {
- description "to Router PE2 so-1/0/1";
-
- unit 0 {
-
- family inet {
-
- address 100.100.40.22/32 {
- destination 100.100.40.23;
- }
- }
- family iso;
- family mpls;
- }
- }
Configure an interface for traffic to Router PE2 from Router PE1 at the [edit interfaces] hierarchy level:
- [edit interfaces]
- so-0/2/3 {
- description "Router PE2 so-1/0/3";
-
- unit 0 {
- family inet;
- family iso;
- family mpls;
- }
-
- lo0 {
-
- unit 0 {
-
- family inet {
- address 127.0.0.1/32;
- address 10.100.40.200/32;
- }
-
- family iso {
- address 47.0005.80ff.f800.0000.0108.0001.1921.6800.4213.00;
- }
- }
- }
- }
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:
- [edit protocols]
- l2circuit {
-
- neighbor 10.100.40.210 {
-
- interface so-0/2/2.2 {
- protect-interface so-0/2/0.2;
- virtual-circuit-id 2;
- no-control-word;
- }
-
- interface so-0/2/2.1 {
- protect-interface so-0/2/0.1;
- virtual-circuit-id 1;
- no-control-word;
- }
- }
- }