Routing
Routing

Can we do one VPLS with multiple VLAN using LDP-VPLS?

03.07.12   |  
‎03-07-2012 07:38 PM

Hi All,

 

 

Can someone can tell me if we can use one VPLS with multiple VLAN using LDP-VPLS across MPLS?  or method to do this design. Below is the topology..

 

 

CE1 (VLAN10,20,30)--->PE1 (VPLS100)----->MPLS Network--->PE2(VPLS100)---->CE2(VLAN10,20,30)

 

 

Please help me...Thanks

15 REPLIES
Routing

Re: Can we do one VPLS with multiple VLAN using LDP-VPLS?

[ Edited ]
03.08.12   |  
‎03-08-2012 01:23 AM

Have you tried to use q-in-q? Yor can configure with vlan-tags outer 100 inner 10...something like that

 

and for multiple interfaces, maybe you can create different sub-interfaces for different vlans, and put it all into the routing-instance.

JNCIP-SP/ENT/SEC
Routing

Re: Can we do one VPLS with multiple VLAN using LDP-VPLS?

03.08.12   |  
‎03-08-2012 05:52 PM

Hi Jacky,

 

Thanks for the reply...Can u give the url example of configuration Q-in-Q...FYI i don't have exprience about Q-inQ-...apprecaite your feedback. Thanks again..

Routing

Re: Can we do one VPLS with multiple VLAN using LDP-VPLS?

[ Edited ]
03.08.12   |  
‎03-08-2012 06:51 PM

As long as your UNI ports on both CE's are a part of vlan100, you should be able to setup your interface as a trunk, and push multiple vlans across your instance.  This is the default behavoir of VPLS in which we see a lot of customers implement.  Also, you want to ensure your interface MTU's are set accordingly.

 

 

Routing

Re: Can we do one VPLS with multiple VLAN using LDP-VPLS?

03.08.12   |  
‎03-08-2012 11:29 PM

Hi,

 

 

Usually in routing-instance section for VPLS we will put the Vlan-ID. But cannot put more than one Vlan-ID. So how we want to to multiple Vlan to caried forward by one VPLS ID....Can u give example config ?

Routing

Re: Can we do one VPLS with multiple VLAN using LDP-VPLS?

[ Edited ]
03.09.12   |  
‎03-09-2012 10:05 PM

In this scenario BGP is being used for signaling.

 

 

ge-0-1.CPE1-> ge-0-0-0.PE1 -> "MPLS/BGP Backbone" -> ge-0-0-0.PE2  -> ge-0-1.CPE2

 

 

The Trick is to enable dot1q tunnel on the CPE UNI interface which will allow you to stack your own VLANS on top of the VPLS VLAN (QinQ).  The following config should steer you in the right direction.

 

 

PE1 Config:

 

set routing-instances TEST.ELAN description "TEST ELAN"
set routing-instances TEST.ELAN instance-type vpls
set routing-instances TEST.ELAN vlan-id 200
set routing-instances TEST.ELAN interface ge-0/0/0.200
set routing-instances TEST.ELAN vrf-target target:ASN:VCID
set routing-instances TEST.ELAN protocols vpls interface-mac-limit
set routing-instances TEST.ELAN protocols vpls no-tunnel-services
set routing-instances TEST.ELAN protocols vpls site TEST.ELAN automatic-site-id

 

set interfaces ge-0/0/0 description "Link to CPE1"
set interfaces ge-0/0/0 flexible-vlan-tagging
set interfaces ge-0/0/0 encapsulation flexible-ethernet-services
set interfaces ge-0/0/0 unit 200 encapsulation vlan-vpls
set interfaces ge-0/0/0 unit 200 vlan-id 200

 

 

CPE1 Config: (Cisco 3400ME)

 

interface GigabitEthernet0/1
 description "Uplink to ge-0-0-0.PE1"
 port-type nni
 switchport mode trunk
 switchport trunk allowed vlan add 200

 

interface FastEthernet0/1
 description "CUST UNI PORT"
 switchport access vlan 200

#The following command enable QinQ
 switchport mode dot1q-tunnel

#Use these commands to enable stp/vtp/cdp over VPLS.
 l2protocol-tunnel stp
 l2protocol-tunnel vtp
 l2protocol-tunnel cdp

 l2protocol-tunnel drop-threshold stp 1024
 l2protocol-tunnel drop-threshold vtp 1024

 

 

Good luck

Routing

Re: Can we do one VPLS with multiple VLAN using LDP-VPLS?

03.11.12   |  
‎03-11-2012 10:34 PM

Hi rrtxaochoa,

 

 

Refering to your config is just for CE not PE. And one more thing i use LDP as signalling not BGP....So can we do it using LDP? Thanks and appreciate your feedback.

Routing

Re: Can we do one VPLS with multiple VLAN using LDP-VPLS?

03.12.12   |  
‎03-12-2012 12:42 AM

Hi Kronciklez,

 

Sorry for late reply, I'm an example and if it's helpful for you. 

 

> show configuration interfaces ge-2/0/2 unit 71
encapsulation vlan-vpls;
vlan-tags outer 71 inner 100; <-Outer tag vlan 71 and inner tag vlan100
input-vlan-map pop;  <-Pop for outer vlan
output-vlan-map push; <-Push for outer vlan
family vpls {
}


This will allow you running vlan 71 on the mpls cloud in between, and running vlan 100 for your vpls customer interfaces.

JNCIP-SP/ENT/SEC
Routing

Re: Can we do one VPLS with multiple VLAN using LDP-VPLS?

03.12.12   |  
‎03-12-2012 01:14 AM

Hi Jacky,

 

Thanks for your feedback. But how in the routing-instances section? Do we need to put just one vlan-id? Thanks and appreciate your feedback. FYI i already test the config that u mention but have error when commited.

Routing

Re: Can we do one VPLS with multiple VLAN using LDP-VPLS?

03.12.12   |  
‎03-12-2012 01:38 AM

The rouing-instance cofiguration will sound like this:

 

> show configuration routing-instances S39491
instance-type vpls;
interface ge-2/0/2.71;
route-distinguisher 1234:12345;
vrf-target target:1234:12345;
protocols {
    vpls {
        site-range 64;
        mac-table-size {
            512;
        }
        interface-mac-limit {
            16;
        }
        no-tunnel-services;
        site HK {
            site-identifier 8;
        }
    }
}

What errors you've encountered? You must put the interface into routing instance as it's running family vpls.

JNCIP-SP/ENT/SEC
Routing

Re: Can we do one VPLS with multiple VLAN using LDP-VPLS?

03.12.12   |  
‎03-12-2012 01:53 AM

Hi Jacky,

 

 

The config that u give is use BGP signaling not LDP signaling right?

Routing

Re: Can we do one VPLS with multiple VLAN using LDP-VPLS?

03.12.12   |  
‎03-12-2012 02:07 AM

No, that's running signaling Smiley Happy

 

> show ldp session
  Address           State        Connection     Hold time
10.11.11.71         Operational  Open             24
10.11.11.101        Operational  Open             24

JNCIP-SP/ENT/SEC
Routing

Re: Can we do one VPLS with multiple VLAN using LDP-VPLS?

03.13.12   |  
‎03-13-2012 01:18 AM

Hi jacky,

 

 

Just need your clarification. Refering your config given i think it use BGP to another PE. Below is the my example configuration. Appreciate your feedback. Thanks

 

route-distinguisher 1234:12345; -----is it for BGP
vrf-target target:1234:12345; -----is it for BGP
protocols {
    vpls {
        site-range 64;
        mac-table-size {
            512;
        }
        interface-mac-limit {
            16;
        }
        no-tunnel-services;
        site HK {
            site-identifier 8;
        }
    }
}

 

 

My Config

 

 

{master}
ipndarwis@P1-SHT-DC-JSR01> show configuration routing-instances VPLS-70
instance-type vpls;
vlan-id 100; ----------------------------------->Just one VLAN for one VPLS-ID
interface ge-0/0/2.100;
interface ae0.100;
no-local-switching;
protocols {
    vpls {
        encapsulation-type ethernet-vlan;
        no-tunnel-services;
        vpls-id 70;
        mtu 9180;
        neighbor 10.10.10.1;
        neighbor 10.10.10.2;


Routing

Re: Can we do one VPLS with multiple VLAN using LDP-VPLS?

03.13.12   |  
‎03-13-2012 01:39 AM

Yes, although it's using LDP for signalling, it still need BGP for label exchange.....

 

In your case, q-in-q is not valid as you've a single vlan only.

JNCIP-SP/ENT/SEC
Routing

Re: Can we do one VPLS with multiple VLAN using LDP-VPLS?

03.13.12   |  
‎03-13-2012 01:50 AM

Hi Jacky,

 

 

Thanks for the feedback...Our network don't have BGP between PE to PE (limitation). Just use OSPF with MPLS RSVP and LDP as siganlling. So is there other way to achive One VPLS-id can carried forward multiple VLAN?

Routing

Re: Can we do one VPLS with multiple VLAN using LDP-VPLS?

03.13.12   |  
‎03-13-2012 06:57 PM

In theory seems not if you mapped a single vlan in the routing-instance... let see if any other experts in here can help you~

JNCIP-SP/ENT/SEC