R211x-HP Flexfabric 11900 MPLS Command Reference
280
Related commands
vsi
encapsulation
Use encapsulation to configure match criteria for a service instance.
Use undo encapsulation to remove match criteria for a service instance.
Syntax
encapsulation default
encapsulation { tagged | untagged }
encapsulation s-vid vlan-id [ only-tagged ]
undo encapsulation
Default
No match criteria are configured for a service instance.
Views
Service instance view
Predefined user roles
network-admin
mdc-admin
Parameters
default: Specifies the default match criteria.
tagged: Matches tagged packets.
untagged: Matches untagged packets.
s-vid vlan-id: Matches packets with a specific outer VLAN ID. The vlan-id argument specifies a VLAN ID
in the range of 1 to 4094.
only-tagged: Matches only tagged packets. If this keyword is not specified when the matching VLAN is
the default VLAN, packets with the default VLAN ID or without any VLAN ID are all matched. If this
keyword is specified when the matching VLAN is the default VLAN, only packets with the default VLAN
ID are matched.
Usage guidelines
You can choose only one of the following match criteria for a service instance:
• Match all incoming packets.
• Match incoming packets with any VLAN ID or no VLAN ID.
• Match incoming packets with a specific VLAN ID.
The match criteria for different service instances configured on an interface must be different.
You can create multiple service instances on an interface, but only one service instance can use the
default match criteria (encapsulation default) to match packets that do not match any other service
instance. If only one service instance is configured on an interface and the service instance uses the
default match criteria, all packets received on the interface match the default match criteria.










