[j-nsp] Layer 2 circuit - Traffic not flowing between Cisco and Juniper with mismatched VLAN ID

Saku Ytti saku at ytti.fi
Fri Nov 2 03:44:28 EDT 2012


On (2012-11-02 11:04 +0530), Arun Kumar wrote:

> Option 1:
> 
> encapsulation vlan-ccc;
> vlan-id 601
> input-vlan-map pop;
> output-vlan-map push;

Shouldn't work. VXR side is VLAN mode, and will barf. Missing family 'ccc'.

> Option 2:
> 
> 
>   encap vlan-ccc;
>   vlan-tags outer 601;
>   output-vlan-map swap;
>   family ccc;

Should work. We have literally hundreds of these, none where VLANs match in
each end. Both sides will swap SVLAN on egress.

show mpls l2transport vc X detail -- from cisco
show l2circuit connections interface X extensive - from juniper

> Option 3:
> 
>                     encapsulation vlan-ccc;
>                     vlan-id 601;
>                     input-vlan-map {
>                         swap;
>                         vlan-id 610;
>                     }
>                     output-vlan-map swap;

Should work (I presume family ccc is there). Useles input-vlan-map, but
it doesn't break anything either.

> if the VLAN ID are same on both Cisco and Juniper, traffic is passing
> through but with different VLAN ID, traffic is not...

What Cisco IOS, if you have older than 7-8 years, then Cisco is not
supporting output vlan swap. (7304 for example does not support vlan
rewrite, or didn't 4 years ago when I last looked)

-- 
  ++ytti


More information about the juniper-nsp mailing list