Prerequisites
The following prerequisites are required at the access PE:
Configure an Epipe VLL service.
 
Configure a NULL, 1q or q-in-q SAP on the Epipe service.
 
The steps in this procedure are used to configure a pseudowire SAP on the IES or VPRN service at
				the Layer 3 PE.
The PW SAP may be mated to an Ethernet SAP or an Ethernet Spoke-SDP in the Epipe VLL service. A PW SAP may also form a part of an Epipe service that contains a PBB tunnel, as shown in the following example.
configure service epipe 300 name "access-vc-100" customer 1 create
    pbb tunnel 30123 backbone-dest-mac 00-00-5e-00-53-01 isid 100
    sap lag-3:25.100 create
       no shutdown
         exit
     sap pw-8:10.20 create
        no shutdown
        exit
 
Procedure
- 
				Define a pseudowire port.
				
					pw-port 1 create
exit
pw-port 2 create
 exit
				 
			 
- 
				Bind a physical port or LAG, in hybrid mode, with the pseudowire port.
				
					service customer 1 create
   multi-service-site ‟abc” create
     assignment port pw-1
     egress
      policer-control-policy ‟abc”
      exit
     exit description ‟Default customer”
    exit
  sdp 1 mpls create
   far-end 10.1.1.2
   ldp
   path-mtu 1514
   keep-alive
   shutdown
   exit
   binding
    port lag-1
    pw-port 1 vc-id 1 create
     no shutdown
     exit
    pw-port 2 vc-id 2 create
     no shutdown
     exit
  exit
no shutdown
exit
				 
			 
- 
				Depending on whether the PW SAP is on an IES/VPRN or an Epipe VLL, perform one
					of the following steps:
				
					- For a PW SAP on an IES/VPRN, configure a SAP on the IES or VPRN
						interface, with a SAP ID that uses the form
							pw-id.
ies 1 customer 1 create
 interface ‟ies if” create
 address 192.168.1.1/24
 mac 00:00:00:00:00:ff
  static-arp 192.168.1.2 00:00:00:00:00:aa
  sap pw-1:1 create
   exit
  exit
  no shutdown
   exit
 
					- For a PW SAP on an Epipe VLL, configure a SAP on the service, with a SAP
						ID that uses the form
						pw-id.
epipe 1 customer 1 create
   sap pw-1:1 create
    exit
   exit
   no shutdown
    exit