Thursday, July 5, 2018

Xconnect L2vpn and Local Switch

Hi,

Just want to verify the difference between l2vpn features pseudowire and local switch.

L2vpn configuration:

R1 - Interface g0/0 l2transport

encapsulation dot1q 10

rewrite ingress tag pop 1 sym

xconnect x.x.x.x encapsulation mpls

R2 - Interface g1/1 l2transport

encapsulation dot1q 11

rewrite ingress tag pop 1 sym

xconnect x.x.x.x encapsulation mpls

Now when frame enters R1 - G0/0 Interface we will match the encapsulated frame 10 then pop then pass to xconnect and add MPLS encapsulation.

When it enters R2 via xconnect we will pop tag 1 which mpls encap will be removed then will encapsulate 11 then pass to customer.

However I want to create a comparison between local switch.

Example Configuration:

l2vpn

p2p local switch

interface g0/0

interface g0/1

R1 - Interface g0/0 l2transport

encapsulation dot1q 10

rewrite ingress tag pop 1 sym

R1 - Interface g0/1 l2transport

encapsulation dot1q 11

rewrite ingress tag pop 1 sym

Now Please help to verify if the process of local switching.

  1. First Frame enters R1 - G0/0 Interface we will match the encapsulated frame 10.
  2. Next will pop tag 1

Question:

  1. When sending it to G0/1 does it add additonal tag like "mpls encap"? So in this case we will send the payload to G0/1 without adding any tag?
  2. If we pop the tag on g0/0, how can we match the incoming from from R1--->(G0/1)-R2-(Customer)?


No comments:

Post a Comment