Today, we will examine VPWS technology in Arista. Virtual Private Wire Service (VPWS) is based on point-to-point communication in your MPLS environment. There is similar technology whose name is LDP Pseudowires. In this technology, PE devices are signalled via LDP. There is also another technology VPLS. VPLS provides communication on point-to-multipoint by using either BGP signalled or LDP signalled.

Now, let’s focus to Virtual Private Wire Service (VPWS) which is on EVPN-MPLS. Why is EVPN needed? As you remember, EVPN uses route-types. With the help of EVPN, we are able to communicate two points of customer as point to point with Auto-Discovery route type of EVPN. We say type 1. As you see there is no need mac address informartion advertisement in this technology. So main purpose is to not handle mac addresses advertisement. The most critical point is this.

If you like to read RFC (you should), you can visit RFC8214 for details of the technology. We share below configuration statements.

You can use direct port or subinterface for VPWS to attachment circuits. We have used here subinterface of ethernet 3. You can use different VLANS in each side. But here we have used VLAN 100.

Configuration Steps

Build MPLS in your enviroment

We enable OSPF for IGP protocol and advetised loopback IPs to each other in PE and P routers. PE routers are mpls ingress and egress routers.

Enable mpls with “mpls ip” command in 4 routers.

PE-1 OSPF Config, All routers has same config statements.But you can change cost of interfaces to define path from PE-1 to PE-2 as in diagram with red arrow.

router ospf 1
passive-interface Loopback0
network area
network area
network area
interface Ethernet1
ip ospf cost 40

Enable LDP protocol in 4 routers by using below command.

mpls ldp
no shutdown

PE-1#show mpls ldp neighbor summary 

IBGP connectivity between PE-1 and PE-2. Also enable EVPN under this IBGP.

router bgp 100
neighbor remote-as 100
neighbor update-source Loopback0
neighbor send-community

address-family evpn
neighbor default encapsulation mpls next-hop-self source-interface Loopback0
neighbor activate

Configure patch panel config on PE-1 and PE-2


patch panel
connector 1 interface Ethernet3.100-------->Same subinterface will be used on PE1 and PE2.
connector 2 pseudowire bgp vpws evi-1 pseudowire pw1

Configure VPWS config on PE-1 and PE-2


router bgp 100
vpws evi-1
route-target import export evpn 100:1
mpls control-word
pseudowire pw1
evpn vpws id local 100 remote 101----> local and remote should not be same.


router bgp 100
vpws evi-1
route-target import export evpn 100:1
mpls control-word
pseudowire pw1
evpn vpws id local 101 remote 100


PING and MAC result of CE-1

PING ( 72(100) bytes of data.
80 bytes from icmp_seq=1 ttl=64 time=80.0 ms
80 bytes from icmp_seq=2 ttl=64 time=107 ms
80 bytes from icmp_seq=3 ttl=64 time=142 ms
80 bytes from icmp_seq=4 ttl=64 time=166 ms
80 bytes from icmp_seq=5 ttl=64 time=162 ms
CE-1#show mac address-table vlan 100
100 50fd.0b81.8c5e DYNAMIC Et3 1 0:01:46 ago
PE1 EVPN ADVERTISEMENT ( Please check no mac address advertisement only Ethernet Auto-Discovery)
PE-1#show bgp neighbors evpn advertised-routes
      Network                Next Hop              Metric  LocPref Weight  Path
PE-1#show bgp neighbors evpn routes
> RD: auto-discovery 100 0000:0000:0000:0000:0000
                                                  - 100 0 i
      Network                Next Hop              Metric  LocPref Weight  Path
> RD: auto-discovery 101 0000:0000:0000:0000:0000
                                                - 100 0 i
PE-1#show mpls lfib route
LP 132768 [1]
via P, patch CUSTOMER, control word
interface Ethernet3.100, type 5

By Mahmut Aydin

CCIE R&S #63405

Leave a Reply

Your email address will not be published.