![H3C S9500 Series Command Manual Download Page 214](http://html.mh-extra.com/html/h3c/s9500-series/s9500-series_command-manual_575036214.webp)
Command Manual – VPLS
H3C S9500 Series Routing Switches
Chapter 1 VPLS Configuration Commands
1-17
Description
Use the
encapsulation
command to specify the encapsulation type of a VPLS
instance.
By default, the encapsulation type of a VPLS instance is VLAN, which corresponds to
the VPLS instance PW encapsulation type of tagged.
Examples
# Set the VPLS instance encapsulation type to Ethernet.
<Sysname> system-view
[Sysname] vsi aaa static
[Sysname-vsi-aaa] pwsignal ldp
[Sysname-vsi-aaa-ldp] vsi-id 500
[Sysname-vsi-aaa-ldp] quit
[Sysname-vsi-aaa] encapsulation ethernet
1.1.11 l2 binding vsi
Syntax
l2
binding
vsi
vsi-name
[
access-mode
{
ethernet
|
vlan
} ]
undo
l2
binding
vsi
vsi-name
View
VLAN interface view
Default Level
2: System level
Parameters
vsi-name
: Name of a VPLS instance.
access-mode
: Specifies the access mode for the VPLS instance, which can be
ethernet
or
vlan
.
Description
Use the
l2
binding
vsi
command to bind a VPLS instance to a VLAN interface.
Use the
undo
l2
binding
vsi
command to remove the binding.
By default, the access mode of a VPLS instance is
ethernet
.