HP FlexFabric 12500 Command Reference Manual page 138

Routing switch series, mpls
Table of Contents

Advertisement

Use undo encapsulation to remove match criteria for a service instance.
Syntax
encapsulation s-vid vlan-id [ only-tagged ]
encapsulation { default | tagged | untagged }
undo encapsulation
Default
No match criteria are configured for a service instance.
Views
Service instance view
Predefined user roles
network-admin
mdc-admin
Parameters
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 and 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.
default: Specifies the default match criteria.
tagged: Matches tagged packets.
untagged: Matches untagged packets.
Usage guidelines
You can create multiple service instances on a Layer 2 Ethernet 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 using the default match criteria is configured on an interface,
all packets received on the interface can match the service instance.
The encapsulation { default | tagged | untagged } command is not available for MPLS L2VPN.
This command cannot be executed multiple times for a service instance.
Removing the match criteria for a service instance also removes the association between the
cross-connect and the service instance.
Examples
# Configure service instance 1 on GigabitEthernet 3/0/1 to match packets that have an outer VLAN ID
of 1 1 1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 3/0/1
[Sysname-GigabitEthernet3/0/1] service-instance 1
[Sysname-GigabitEthernet3/0/1-srv1] encapsulation s-vid 111
Related commands
display l2vpn service-instance
133

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flexfabric 12500e

Table of Contents