Binding an ldp vpls instance – H3C Technologies H3C S7500E Series Switches User Manual
Page 170

4-10
To do…
Use the command…
Remarks
Create a PW class template and
enter its view
pw-class pw-class-name
Optional
By default, no PW class template
is created.
Configure the PW transport mode
trans-mode
{ ethernet | vlan }
Optional
VLAN by default
Specify a tunneling policy
pw-tunnel-policy policy-name
Optional
By default, the tunneling policy
specified through the tnl-policy
command in VSI view is used.
Return to system view
quit
—
Create an LDP VPLS instance and
enter VSI view
vsi
vsi-name static
Required
Specify LDP as the PW signaling
protocol and enter VSI LDP view
pwsignal ldp
Required
Specify an ID for the VPLS
instance
vsi-id
vsi-id
Required
Create a peer PE for the VPLS
instance
peer
ip-address [ pw-id pw-id ]
[ upe | backup-peer ip-address
[ backup-pw-id pw-id ] ]
[ pw-class class-name ]
Required
Enable the PW switchback
function and set the switchback
delay time
dual-npe revertive
[ wtr-time
wtr-time
]
Optional
Disabled by default
Binding an LDP VPLS Instance
You can Binding a Layer 2 Ethernet interface and a VLAN with the VPLS instance. After you configure
such a binding, the VPLS connection services packets that carry the specified VLAN tag and are
received on the specified Layer 2 Ethernet interface.
To bind a Layer 2 Ethernet interface and a VLAN with a VPLS instance, you need to create a service
instance on the Layer 2 Ethernet interface, configure a packet matching rule for the service instance,
and bind the service instance with the VPLS instance. After these configurations, packets that arrive at
the Layer 2 Ethernet interface and match the packet matching rule will be forwarded through the
bound VPLS instance.
Follow these steps to bind a service instance with an LDP VPLS instance: