hostname r2
log file ldpd.log
!
! debug mpls ldp zebra
! debug mpls ldp event
! debug mpls ldp errors
! debug mpls ldp sync
!
mpls ldp
 router-id 2.2.2.2
 !
 address-family ipv4
  discovery transport-address 2.2.2.2
  label local allocate host-routes
  !
  ttl-security disable
  !
  interface r2-eth1
  !
  interface r2-eth2
  !
 !
!
l2vpn CUST_A type vpls
 member interface r2-eth0
 !
 member pseudowire r2-mpw0
  neighbor lsr-id 1.1.1.1
  pw-id 100
 !
!
line vty
!
