HomeGroupsBlog & CollectionsRewards
Selective QinQ transported by MPLS L2VC simulated on eNSP Highlighted
2218 26
29 29
LuizPuppin Trusted TechnicianMVE
Author
Nov 28, 2020 03:06:15
The MPLS brings many facilities to ISP promoting the possibility of delivering transports through VPNs, one of which is the VPWS, which delivers a point to point link that can be configured on a specific VLAN or on a dedicated physical port for a customer.
When configured on a physical port, the VPWS will transport all data inserted on this port directly to the other side of the tunnel, including all existent VLAN ID.
But, at some moment, the customer may request that be realized the selection of some VLANs to a specific tunnel and other VLANs to another tunnel. For this is necessary the utilization of a technique called Selective QinQ, where we create transport VLANs to linked the tunnel and insert on these VLANs the selected VLAN ID creating a double TAG.
To demonstrate the operation, I created a LAB with the following premises:
· Customer A needs to transport the VLANs 1030 and 2030 to router R1 and the VLAN 530 to router R2.
· Customer B needs to transport the VLANs 1035 and 2035 to router R1 and the VLAN 535 to router R2.
With that, we create the VLANs of transport as can you see below:
· VLAN30 = CLI_A -> R1
· VLAN35 = CLI_B -> R1
· VLAN300 = CLI_A -> R2
· VLAN350 = CLI_B -> R2
1
IPs were placed on the VLANs so that we could realize tests of ping to validate the correct transport work. Following were the configuration of each equipment of this LAB to be replicated by you.
[CLI_A]
vlan batch 530 1030 2030
#
interface Vlanif530
ip address 50.50.30.1 255.255.255.0
#
interface Vlanif1030
ip address 10.10.30.1 255.255.255.0
#
interface Vlanif2030
ip address 20.20.30.1 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 530 1030 2030
[CLI_B]
vlan batch 535 1035 2035
#
interface Vlanif535
ip address 50.50.35.1 255.255.255.0
#
interface Vlanif1035
ip address 10.10.35.1 255.255.255.0
#
interface Vlanif2035
ip address 20.20.35.1 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 535 1035 2035
[PE1]
vlan batch 30 35 100 to 101 300 350
#
mpls lsr-id 1.1.1.1
mpls
#
mpls l2vpn
#
mpls ldp
#
interface Vlanif30
mpls l2vc 2.2.2.2 30
#
interface Vlanif35
mpls l2vc 2.2.2.2 35
#
interface Vlanif100
ip address 10.0.0.1 255.255.255.252
ospf network-type p2p
ospf enable 1 area 0.0.0.0
mpls
mpls ldp
#
interface Vlanif101
ip address 10.0.0.5 255.255.255.252
ospf network-type p2p
ospf enable 1 area 0.0.0.0
mpls
mpls ldp
#
interface Vlanif300
mpls l2vc 3.3.3.3 300
#
interface Vlanif350
mpls l2vc 3.3.3.3 350
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-