R3303-HP HSR6800 Routers MPLS Command Reference
254
<Sysname> system-view
[Sysname] vsi vpnb static
[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










