Example-1

Figure: EVPN-VPWS endpoints example-1

In Figure: EVPN-VPWS endpoints example-1, PE1 is configured with the following Epipe services:

endpoint X create
exit
endpoint Y create
exit
bgp-evpn
  evi 350 
  local-attachment-circuit "CE-1" endpoint "Y" create
    eth-tag 1
  exit
  remote-attachment-circuit "ICB-1" endpoint "Y" create
    eth-tag 2
  exit
  local-attachment-circuit "CE-2" endpoint "X" create
    eth-tag 2
  exit
  remote-attachment-circuit "ICB-2" endpoint "X" create
    eth-tag 1
  exit  
  mpls bgp 1 
    auto-bind-tunnel
      resolution any
      exit
    no shutdown
    exit
  exit
sap lag-1:1 endpoint X create
exit
sap 1/1/1:1 endpoint Y create
exit

In Figure: EVPN-VPWS endpoints example-1, PE2 is configured with the following Epipe services:

bgp-evpn
  evi 350 
  local-attachment-circuit "CE-1" create
    eth-tag 1
  exit
  remote-attachment-circuit "ICB-1" create
    eth-tag 2
  exit
// implicit endpoint "Y"
  mpls bgp 1 
    auto-bind-tunnel
  resolution any
  exit
no shutdown
exit
  exit
sap lag-1:1 create
exit
// implicit endpoint "X"

In this example, if we assume multihoming on CE1, the following applies: