cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8944
Views
0
Helpful
3
Replies

Pseudowire between Cisco and Juniper

mahmed83.cisco
Level 1
Level 1

Hi Guys:

I urgently need your help.I am trying to bring the pseudowire VC up between Cisco(7200) and Juniper M10i but it never happened,Here is the config. on the Juniper:

ge-0/0/0 {

    description LINK-TO-VLANS;

    vlan-tagging;

    encapsulation flexible-ethernet-services;

    unit 127 {

        vlan-id 127;

    unit 200 {

        vlan-id 200;

         family inet 172.16.1.2

    }

A@J-Core> show configuration protocols

mpls {

    interface ge-0/0/0.200;

}

bgp {

    group PSW-TEST {

        type internal;

        local-as X;

        neighbor 172.16.1.1 {

            family inet {

                any;

            }

            family inet-vpn {

                any;

            }

            peer-as X;

        }

    }

}

ospf {

    area 0.0.0.0 {

        interface lo0.0;

        interface ge-0/0/0.200 {

            interface-type p2p;

            hello-interval 1;          

            dead-interval 5;

        }

    }

}

ldp {

    interface ge-0/0/0.200;

}

l2circuit {

    neighbor 172.16.1.1 {

        interface ge-0/0/0.127 {

            virtual-circuit-id 2310;

            mtu 1500;

            encapsulation-type ethernet-vlan;

            ignore-encapsulation-mismatch;

            ignore-mtu-mismatch;

        }

    }

The Config. in Cisco device:

7200(Config)#int fa0/0.127

7200(Config-subif)#xconnect 172.16.1.2  2310 encapsulation mpls

7200(Config)#int fa0/0.200

7200(Config-subif)#mpls ip

7200(Config-subif)#mpls label protocol ldp

7200(Config-subif)#ip address 172.16.1.1 255.255.255.0

7200(Config-subif)#ip ospf 1 area 0

7200(Config-subif)#ip ospf hello-interval 1

7200(Config-subif)#ip ospf dead-interval 5

The VC for vlan 127 never came up

Thanks

3 Replies 3

saurabh joshi
Level 1
Level 1

U r trying l2circuit vs l2vpn.

configure a routing instace of l2-vpn type with rest of the parameter

and it should come up..

All the best

On 10/17/11, mahmed83.cisco@gmail.com

Thanks for your reply;

So I have to change l2circuit------>l2VPN on the Juniper.Ummm I saw some configuration examples of l2VPN on Juniper.I really didn't understand the configuration.I want just to bring pseudowire links up so I can carry multiple vlans between two routers.Here is some of the examples i found it:

http://puck.nether.net/pipermail/juniper-nsp/2007-February/007600.html

Pe2> show configuration routing-instances L2VPN
instance-type l2vpn;
interface ge-1/1/0.195;
route-distinguisher 18747:5555555555;
vrf-target target:18747:5555555555;
protocols {
l2vpn {
encapsulation-type ethernet-vlan;
site US {
site-identifier 2;
interface ge-1/1/0.195 {
remote-site-id 1;
}

This is my topology:

I have one switch-1 connected via a trunk(Carrying 30 vlans) link to Cisco Router and another switch which is switch-2 is connected via a trunk link to the Juniper and it is carrying the same Vlans.

Any help of how to configure l2VPN on the Juniper,Will be appreciate it.

Thanks

Hi Ahmed

Looking at your requirement  we are trying to setup a Psuedowire between Cisco and Juniper using Draft Martini which is LDP based and the juniper way of doing is l2circuit only. l2vpn is draft Kompella which is BGP based and we do not need it here. Also the BGP portion config of Junos is not needed here.You can scrap it out.

Now coming back at your setup I see the "family mpls" missing from the Junos-Cisco Peering which is necessary for LDP session and VC signalling.

Are you seeing the ge-0/0/0.200 interface as an MPLS interface with below output

run show mpls interface-Junos

Are you seeing an LDP neighbourship betweent the two devices using

show mpls ldp neighbour - Cisco

run show ldp neighbour--Junos.

Please enable family mpls under vlan unit 200 on Junos and the Psuedowire should be all the way through.

Hope this helps you to solve this issue.

Regards

Varma