R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide

249
[Sysname-vsi-vpnb] pwsignal static
[Sysname-vsi-vpnb-static] dual-npe revertive wtr-time 5
encapsulation
Use encapsulation to specify the PW encapsulation type for a VPLS instance.
Syntax
encapsulation { bgp-vpls | ethernet | vlan }
Default
The PW encapsulation type of a VPLS instance is VLAN.
Views
VSI view
Default command level
2: System level
Parameters
bgp-vpls: Specifies the PW encapsulation type of the current BGP VPLS instance as the standard
encapsulation type defined in RFC 4761, which corresponds to the PW encapsulation type of Ethernet.
ethernet: Specify the PW encapsulation type of the current VPLS instance as Ethernet.
vlan: Specifies the PW encapsulation type of the current VPLS instance as VLAN.
Examples
# Set the VPLS instance encapsulation type to Ethernet.
<Sysname> system-view
[Sysname] vsi aaa
[Sysname-vsi-aaa] encapsulation ethernet
l2 binding vsi
Use l2 binding vsi to bind a VPLS instance on an interface.
Use undo l2 binding vsi to remove the binding.
Syntax
l2 binding vsi vsi-name [ access-mode { ethernet | vlan } ] *
undo l2 binding vsi vsi-name
Views
Interface view
Default command level
2: System level
Parameters
vsi-name: Name of the VPLS instance, a case-insensitive string of 1 to 31 characters. Hyphens (-) are not
allowed.