170Configuring an LDP VPLS instanceWhen creating an LDP VPLS instance, perform the following configurations:1. Specify a globally unique name for the VPLS instance and set the peer discovery mechanism tomanual configuration.2. Configure LDP as the PW signaling protocol.3. Specify the ID of the VPLS instance.4. Use the peer command to configure a VPLS peer PE for the instance, including the followingparameters:{ IP address of the peer PE.{ ID of the PW to the peer PE, which must be consistent with that specified on the peer PE.{ Type of the peer PE. Use the upe keyword to specify a UPE peer, which is an MTU-s device inthe H-VPLS model; or use the backup-peer keyword to configure two NPE peers (one primaryone backup).You can configure only one pair of primary and backup NPEs. The remote NPEs must be fullymeshed, but it is not necessary for the UPE to connect to all NPEs.{ PW class to be referenced. A PW class defines the PW transport mode and tunneling policy forthe PW.To configure an LDP VPLS instance:Step Command Remarks1. Enter system view. system-view N/A2. Create a PW class and enterits view. pw-class pw-class-name Optional.By default, no PW class is created.3. Configure the PW transportmode. trans-mode { ethernet | vlan } Optional.VLAN by default.4. Specify a tunneling policy. pw-tunnel-policy policy-nameOptional.By default, the tunneling policyspecified through the tnl-policycommand in VSI view is used.For information about how toconfigure a tunneling policy, see"Configuring MPLS L3VPN."5. Return to system view. quit N/A6. Create an LDP VPLS instanceand enter VSI view. vsi vsi-name static N/A7. Specify LDP as the PWsignaling protocol and enterVSI LDP view.pwsignal ldp N/A8. Specify an ID for the VPLSinstance. vsi-id vsi-id N/A9. Create a peer PE for the VPLSinstance and enter L2VPNpeer view.peer ip-address [ pw-classclass-name | [ pw-id pw-id ] [ upe| backup-peer ip-address[ backup-pw-id pw-id ] ] ] *N/A