[j-nsp] trying to add double tagged interface and getting errors

Chris Kawchuk ckawchuk at gmail.com
Thu Nov 21 16:51:51 EST 2019


Remove the pop-pop and push-push statements against unit xe-0/1/1.300.

JunOS will auto magically "remove" and "add" the VLAN tags to the VPLS attachment circuit; since you have declared "vlan-id none" in the VPLS definition. (no tags)

It's basically saying "don't try to do manual vlan tag manipulation on this attachment circuit (unit) - We will do it for you in order to "normalise" the tags to "nothing"

https://www.juniper.net/documentation/en_US/junos-space16.1/topics/concept/layer2-provisioning-vlan-manipulation-understanding.html <https://www.juniper.net/documentation/en_US/junos-space16.1/topics/concept/layer2-provisioning-vlan-manipulation-understanding.html>

Basically -- You can only do pop/push operations where you have not declared any vlan-id inside a VPLS; (i.e. the vlan <x> statement is completely absent -- meaning you want do your own normalisation), however you need a vlan-id <x> statement for an irb.x to work; hence you need to let JunOS "do it's thing" and do the pop-swap for you in your case....

- Ck.


> On 22 Nov 2019, at 7:13 am, Aaron Gould <aaron1 at gvtc.com> wrote:
> 
> How would I accomplish this ?  It's working fine, but when I try to add a
> double tagged interface into the existing vpls bridging environment, I get
> the following error.
> 
> 
> 
> me@ 204-1> show configuration routing-instances 100 | display set
> 
> set routing-instances 100 instance-type vpls
> 
> set routing-instances 100 vlan-id none
> 
> set routing-instances 100 interface xe-0/1/4.100
> 
> set routing-instances 100 routing-interface irb.100
> 
> set routing-instances 100 protocols vpls no-tunnel-services
> 
> set routing-instances 100 protocols vpls vpls-id 10000
> 
> set routing-instances 100 protocols vpls mtu 1500
> 
> set routing-instances 100 protocols vpls neighbor 10.102.255.7
> 
> 
> 
> me@ 204-1> show configuration interfaces xe-0/1/1 | display set
> 
> set interfaces xe-0/1/1 flexible-vlan-tagging
> 
> set interfaces xe-0/1/1 mtu 9216
> 
> set interfaces xe-0/1/1 encapsulation flexible-ethernet-services
> 
> set interfaces xe-0/1/1 unit 300 vlan-tags outer 300
> 
> set interfaces xe-0/1/1 unit 300 vlan-tags inner 100
> 
> set interfaces xe-0/1/1 unit 300 input-vlan-map pop-pop
> 
> set interfaces xe-0/1/1 unit 300 output-vlan-map push-push
> 
> 
> 
> me at 204-1# set routing-instances 100 interface xe-0/1/1.300
> 
> 
> 
> [edit]
> 
> me@ 204-1# commit check
> 
> [edit routing-instances 100 interface]
> 
>  'xe-0/1/1.300'
> 
>    interface with input/output vlan-maps cannot be added to a
> routing-instance with a vlan-id/vlan-tags configured
> 
> error: configuration check-out failed: (statements constraint check failed)
> 
> 
> 
> 
> -Aaron
> 
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list