13
only-tagged
: Matches only PVID-tagged frames. To match both untagged frames and PVID-tagged
frames, do not specify this keyword.
s-vid
vlan-id
c-vid
vlan-id
: Matches frames that are tagged with the specified outer and inner 802.1Q
VLAN IDs. The
vlan-id
argument specifies an 802.1Q VLAN ID in the range of 1 to 4094. This option
is available in Release 2422 and later versions.
Usage guidelines
The match criterion in each Ethernet service instance on an interface must be unique. For example,
you cannot configure the
encapsulation
tagged
command in one Ethernet service instance if
another Ethernet service instance already contains this command. You cannot use the
encapsulation
s-vid
vlan-id
command to specify the same 802.1Q VLAN ID for any two Ethernet
service instances on the interface.
For Release 2422 and later versions, the
encapsulation
s-vid
vlan-id
[
only-tagged
] and
encapsulation
s-vid
vlan-id
c-vid
vlan-id
commands can specify the same outer VLAN ID for two
Ethernet service instances on an interface. Frames that match both Ethernet service instances are
assigned to the Ethernet service instance configured by using the
encapsulation
s-vid
vlan-id
c-vid
vlan-id
command.
An Ethernet service instance can contain only one match criterion. To change the match criterion,
you must remove the original criterion first. When you remove the match criterion in an Ethernet
service instance, the mapping between the service instance and the VSI is removed automatically.
If the Ethernet service instance uses the
default
,
tagged
, or
untagged
frame match criterion, the
access mode set by the
xconnect vsi
command does not take effect. The VSI uses Ethernet access
mode to process traffic.
An SDN transport network uses a controller to deploy and manage VXLANs on VTEPs. If you
change the matching outer VLAN ID on the VTEP, you must also modify the VLAN ID set by the
Set-Field action on the controller.
Examples
# Configure Ethernet service instance 1 on FortyGigE 1/0/1 to match frames that have an outer
802.1Q VLAN ID of 111.
<Sysname> system-view
[Sysname] interface fortygige 1/0/1
[Sysname-FortyGigE1/0/1] service-instance 1
[Sysname-FortyGigE1/0/1-srv1] encapsulation s-vid 111
Related commands
display l2vpn service-instance
flooding disable
Use
flooding disable
to disable flooding for a VSI.
Use
undo flooding disable
to restore the default.
Syntax
flooding disable
undo flooding disable
Default
Flooding is enabled for a VSI.
Views
VSI view