VPLS traffic destined to one particular vlan under a VPLS instance, can be duplicated to all other vlans and on different interfaces, on the same vpls instance.
This behaviour was found only in DPC cards. When tested on MPC cards the traffic destined for one particular vlan was not duplicated to other vlans
- This is an expected behaior for a BUM traffic (Broadcast, Unknown-unicast and Multicast)
- But on the DPC cards even for an known unicast traffic the duplication issue was seen.
- Say, If we have 400 vlans under same VPLS instance and a unicast traffic destined to one vlan is getting duplicated to all the 400 vlans, resulting in interface over-subscrioption.
- This is seen only for DPC cards.
This is the default behaviour of the DPC cards.
If we configure the VPLS instance with “vlan-id” command and use one vlan then we dont see this behavior.
But, if we use one VPLS instance for sending multiple vlan traffic then we need the below knob.
Solution is to configure the knob “no-local-switching” under the VPLS instance
Configuration of the router below :
================================================================================================ [edit] lab@MX480-2-RE-0# show routing-instances vpls-test instance-type vpls; vlan-id all; interface ge-4/1/6.3102; interface ge-4/1/6.3103; interface ge-4/1/6.3104; interface ge-4/1/6.3105; interface ge-4/1/6.3106; interface ge-4/3/2.3000; route-distinguisher 150.3.3.3:4; vrf-target { import target:100:400; export target:100:400; } protocols { vpls { no-tunnel-services; site test-1 { site-identifier 1; interface ge-4/1/6.3102 { interface-mac-limit { 16; } } interface ge-4/1/6.3103 { interface-mac-limit { 16; } } interface ge-4/1/6.3104 { interface-mac-limit { 16; } } interface ge-4/1/6.3105 { interface-mac-limit { 16; } } interface ge-4/1/6.3106 { interface-mac-limit { 16; } } interface ge-4/3/2.3000 { interface-mac-limit { 16; } } } } } [edit] lab@MX480-2-RE-0# ============================================================
Interface stats when traffic destined only for vlan 3000 and its getting duplicated to all the other interfaces in vpls instance
[edit] lab@MX480-2-RE-0# run show interfaces extensive ge-4/3/2 | match bps Link-level type: Flexible-Ethernet, MTU: 1518, Speed: 1000mbps, Input bytes : 49837596 5332320 bps Output bytes : 49840728 5332328 bps % bps % usec Input bytes : 49837596 5332320 bps Output bytes : 49840728 5332328 bps Input bytes : 0 0 bps Output bytes : 0 0 bps [edit] lab@MX480-2-RE-0# run show interfaces extensive ge-4/1/6 | match bps Link-level type: Flexible-Ethernet, MTU: 1518, Speed: 1000mbps, Input bytes : 0 0 bps Output bytes : 19790 1680 bps % bps % usec Input bytes : 0 0 bps Output bytes : 3958 336 bps Input bytes : 0 0 bps Output bytes : 3958 336 bps Input bytes : 0 0 bps Output bytes : 3958 336 bps Input bytes : 0 0 bps Output bytes : 3958 336 bps Input bytes : 0 0 bps Output bytes : 3958 336 bps Input bytes : 0 0 bps Output bytes : 0 0 bps ====================================================================================
After configuring the Knob “no-local-switching” , the traffic destined for vlan 3000 was not getting duplicated to other vlans.
[edit] lab@MX480-2-RE-0# show routing-instances vpls-test instance-type vpls; vlan-id all; interface ge-4/1/6.3102; interface ge-4/1/6.3103; interface ge-4/1/6.3104; interface ge-4/1/6.3105; interface ge-4/1/6.3106; interface ge-4/3/2.3000; no-local-switching; >>>>>>>>>>>>>>Knob configured route-distinguisher 150.3.3.3:4; vrf-target { import target:100:400; export target:100:400; } protocols { vpls { no-tunnel-services; site test-1 { site-identifier 1; interface ge-4/1/6.3102 { interface-mac-limit { 16; } } interface ge-4/1/6.3103 { interface-mac-limit { 16; } } interface ge-4/1/6.3104 { interface-mac-limit { 16; } } interface ge-4/1/6.3105 { interface-mac-limit { 16; } } interface ge-4/1/6.3106 { interface-mac-limit { 16; } } interface ge-4/3/2.3000 { interface-mac-limit { 16; } } } } } ======================================================================
Interface stats after configuring the knob “no-local-switching”
[edit] lab@MX480-2-RE-0# run show interfaces extensive ge-4/3/2 | match bps Link-level type: Flexible-Ethernet, MTU: 1518, Speed: 1000mbps, Input bytes : 11475538 11154720 bps Output bytes : 11475456 11154360 bps % bps % usec Input bytes : 11475538 11154720 bps Output bytes : 11475456 11154360 bps Input bytes : 0 0 bps Output bytes : 0 0 bps [edit] lab@MX480-2-RE-0# run show interfaces extensive ge-4/1/6 | match bps Link-level type: Flexible-Ethernet, MTU: 1518, Speed: 1000mbps, Input bytes : 0 0 bps Output bytes : 0 0 bps % bps % usec Input bytes : 0 0 bps Output bytes : 0 0 bps Input bytes : 0 0 bps Output bytes : 0 0 bps Input bytes : 0 0 bps Output bytes : 0 0 bps Input bytes : 0 0 bps Output bytes : 0 0 bps Input bytes : 0 0 bps Output bytes : 0 0 bps Input bytes : 0 0 bps Output bytes : 0 0 bps =============================================================================