[j-nsp] L2Circuit Backup does not switch back to Primary

Alireza Soltanian soltanian at gmail.com
Tue Jun 30 04:42:58 EDT 2015


Hi everybody

I am using L2Circuit connection between three routers:

1)      Juniper M10(R1)

2)      Cisco 7200VXR(R2)

3)      Cisco 7200VXR(R3)

The setup is follow:

1)      R1 is connected to R2

2)      R1 is connected to R3

3)      There is OSPF between them

4)      There is MPLS between them

5)      I want to configure L2circuit between R1 and R2 while have a backup
L2Circuit connection between R1 and R3.

6)      When connection between R1 and R2 was failed, backup L2Circuit
between R1 and R3 must be enabled.

7)      After re-establishing the connection between R1 and R2, Traffic must
be switched back to Main L2Circuit connection.

 

This is the configuration on R1:

 

set interfaces ge-0/0/0 unit 3085 encapsulation vlan-ccc

set interfaces ge-0/0/0 unit 3085 vlan-id 3085

!

set protocols l2circuit neighbor 10.241.252.7 interface ge-0/0/0.3085
virtual-circuit-id 3085

set protocols l2circuit neighbor 10.241.252.7 interface ge-0/0/0.3085
no-control-word

set protocols l2circuit neighbor 10.241.252.7 interface ge-0/0/0.3085 mtu
1500

set protocols l2circuit neighbor 10.241.252.7 interface ge-0/0/0.3085
backup-neighbor 10.241.252.8 virtual-circuit-id 3085

!

In this configuration, IP 10.241.252.7 is LDP router-id of R2 and
10.241.252.8 is LDP router-id of R3

 

What is the issue:

At the first, everything is OK and I have this output on R1:

 

show l2circuit connections   

Neighbor: 10.241.252.7 

    Interface                 Type  St     Time last up          # Up trans

    ge-0/0/0.3085(vc 3085)    rmt   Up     Jun 30 13:05:13 2015           1

      Remote PE: 10.241.252.7, Negotiated control-word: No

      Incoming label: 486563, Outgoing label: 670

      Negotiated PW status TLV: No

      Local interface: ge-0/0/0.3085, Status: Up, Encapsulation: VLAN

Neighbor: 10.241.252.8 

    Interface                 Type  St     Time last up          # Up trans

    ge-0/0/0.3085(vc 3085)    rmt   BK   

 

After failing link to R2, the output is this:

 

Neighbor: 10.241.252.7 

    Interface                 Type  St     Time last up          # Up trans

    ge-0/0/0.3085(vc 3085)    rmt   OL   

Neighbor: 10.241.252.8 

    Interface                 Type  St     Time last up          # Up trans

    ge-0/0/0.3085(vc 3085)    rmt   Up     Jun 30 13:08:07 2015           1

      Remote PE: 10.241.252.8, Negotiated control-word: No

      Incoming label: 487043, Outgoing label: 15102

      Negotiated PW status TLV: No      

      Local interface: ge-0/0/0.3085, Status: Up, Encapsulation: VLAN

 

Now, the link becomes OK but L2Circuit connection is not switched back to
primary path and I have this Output:

 

Neighbor: 10.241.252.7 

    Interface                 Type  St     Time last up          # Up trans

    ge-0/0/0.3085(vc 3085)    rmt   BK   

Neighbor: 10.241.252.8 

    Interface                 Type  St     Time last up          # Up trans

    ge-0/0/0.3085(vc 3085)    rmt   Up     Jun 30 13:08:07 2015           1

      Remote PE: 10.241.252.8, Negotiated control-word: No

      Incoming label: 487043, Outgoing label: 15102

      Negotiated PW status TLV: No      

      Local interface: ge-0/0/0.3085, Status: Up, Encapsulation: VLAN

 

This means, Connection to R2 remains in Backup state, since I need to put
Connection to R3 in Backup State and have the Connection to R2 as UP. I must
mention L2VPN connection is also remains in Down State at R2.

Can you help me in this regard?

 

Thank you

Alireza

 

 



More information about the juniper-nsp mailing list