Description

Hi

We ran into an issue regarding configuring VPLS with vlan-id list.

This VPLS is running on LDP signalling and we want to pass range of vlans to 2xPE under VPLS configuration.

We tried different ways to configure but did not get any success.

However this scenario/requirement is working fine with Juniper ACX710, cisco ASR920, Mikrotik 1016,1072 .




Below is the configuration of ACX7024 which we are trying , it is working as a single VLAN (set interfaces et-0/0/16 unit 1011 vlan-id 1020 )but when we try to give a range of VLANs (set interfaces et-0/0/16 unit 1011 vlan-id-list 1020-1024) it gives error which is pasted below .



ACX7024 VPLS
============


set routing-instances VPLS_PE instance-type virtual-switch
set routing-instances VPLS_PE protocols vpls neighbor 5.5.5.5
set routing-instances VPLS_PE protocols vpls traceoptions file vpls.debug
set routing-instances VPLS_PE protocols vpls traceoptions file size 1m
set routing-instances VPLS_PE protocols vpls traceoptions flag all
set routing-instances VPLS_PE protocols vpls encapsulation-type ethernet-vlan
set routing-instances VPLS_PE protocols vpls no-tunnel-services
set routing-instances VPLS_PE protocols vpls vpls-id 1001072
set routing-instances VPLS_PE protocols vpls mtu 1550
set routing-instances VPLS_PE interface et-0/0/16.1011
set routing-instances VPLS_PE vlans Testing vlan-id 1030
set routing-instances VPLS_PE vlans Testing interface et-0/0/16.1011


AC ACX7024
===========


set interfaces et-0/0/16 description SEC_SW-Port7
set interfaces et-0/0/16 flexible-vlan-tagging
set interfaces et-0/0/16 encapsulation flexible-ethernet-services
set interfaces et-0/0/16 unit 1011 description SEC_SW_SVI
set interfaces et-0/0/16 unit 1011 encapsulation vlan-vpls
set interfaces et-0/0/16 unit 1011 vlan-id 1020
set interfaces et-0/0/16 unit 1011 family ethernet-switching
set forwarding-options analyzer PORT-MIRROR input ingress interface et-0/0/16.0
set forwarding-options analyzer PORT-MIRROR input egress interface et-0/0/16.0
set routing-instances VPLS_PE interface et-0/0/16.1011
set routing-instances VPLS_PE vlans Testing interface et-0/0/16.1011


Error for ACX7024
================


if i want to allow a range of VLANs it doesn't accept

ACX# set interfaces et-0/0/16 unit 1011 vlan-id-list 1020-1024

[edit]
ACX# commit check
[edit routing-instances VPLS_PE vlans Testing interface]
'et-0/0/16.1011'

interface with vlan-id-list/inner-list cannot be added to a vlan with a vlan-id/vlan-tags configured
error: configuration check-out failed: (statements constraint check failed)


[edit]

Is there any way if i can accept a range of VLANs on et-0/0/16?

Symptoms

The below mentioned commit error will be seen


ACX# commit check

[edit routing-instances VPLS_PE vlans Testing interface]

'et-0/0/16.1011'


interface with vlan-id-list/inner-list cannot be added to a vlan with a vlan-id/vlan-tags configured

error: configuration check-out failed: (statements constraint check failed)

Solution

Using below configuration on 24.2 EVO code in ACX7K router, we were able to achieve the customer's requirement and its tested and validated this config in lab.


PE1 config:

 

set interfaces et-0/0/1 description To-MX204-r2601

set interfaces et-0/0/1 flexible-vlan-tagging

set interfaces et-0/0/1 speed 100g

set interfaces et-0/0/1 mtu 9192

set interfaces et-0/0/1 encapsulation flexible-ethernet-services

set interfaces et-0/0/1 unit 111 encapsulation vlan-vpls

set interfaces et-0/0/1 unit 111 vlan-id-list 1020-1024

set interfaces et-0/0/1 unit 111 vlan-id-list 1026-1029

set interfaces et-0/0/1 unit 111 vlan-id-list 1040

set interfaces et-0/0/1 unit 111 input-vlan-map push

set interfaces et-0/0/1 unit 111 input-vlan-map vlan-id 555

set interfaces et-0/0/1 unit 111 output-vlan-map pop

set interfaces et-0/0/1 unit 111 family ethernet-switching

 

set routing-instances VPLS_PE1 instance-type virtual-switch

set routing-instances VPLS_PE1 protocols vpls neighbor 33.3.3.3

set routing-instances VPLS_PE1 protocols vpls service-type single

set routing-instances VPLS_PE1 protocols vpls encapsulation-type ethernet-vlan

set routing-instances VPLS_PE1 protocols vpls no-tunnel-services

set routing-instances VPLS_PE1 protocols vpls vpls-id 1022

set routing-instances VPLS_PE1 vlans VL111 interface et-0/0/1.111

 

PE2 config:

 

set interfaces et-0/0/1 description To-ACX7100-32c-r2019-0/0/16

set interfaces et-0/0/1 flexible-vlan-tagging

set interfaces et-0/0/1 speed 100g

set interfaces et-0/0/1 mtu 9192

set interfaces et-0/0/1 encapsulation flexible-ethernet-services

set interfaces et-0/0/1 unit 111 encapsulation vlan-vpls

set interfaces et-0/0/1 unit 111 vlan-id 555

set interfaces et-0/0/1 unit 111 family ethernet-switching

 

set routing-instances VPLS-PE2 instance-type virtual-switch

set routing-instances VPLS-PE2 protocols vpls neighbor 22.2.2.2

set routing-instances VPLS-PE2 protocols vpls service-type single

set routing-instances VPLS-PE2 protocols vpls encapsulation-type ethernet-vlan

set routing-instances VPLS-PE2 protocols vpls no-tunnel-services

set routing-instances VPLS-PE2 protocols vpls vpls-id 1022

set routing-instances VPLS-PE2 vlans VL111 interface et-0/0/1.111

 

CE2 config:

set interfaces et-0/0/16 flexible-vlan-tagging

set interfaces et-0/0/16 unit 1022 vlan-tags outer 555

set interfaces et-0/0/16 unit 1022 vlan-tags inner 1022

set interfaces et-0/0/16 unit 1022 family inet address 10.22.0.2/28

set interfaces et-0/0/16 unit 1025 vlan-tags outer 555

set interfaces et-0/0/16 unit 1025 vlan-tags inner 1025

set interfaces et-0/0/16 unit 1025 family inet address 10.25.0.3/28



Thanks for contacting JTAC support.


Its a pleasure working with you on this case.


Regards,

SankarG

Modification History

2025-03-31 : Article Created