R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
154
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, which accepts all incoming packets.
tagged: Matches tagged incoming packets.
untagged: Matches untagged incoming packets.
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.
Service instances configured on an Layer 2 Ethernet interface must have different match criteria.
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.
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 Ten-GigabitEthernet 1/0/1 to match packets that have an outer VLAN
ID of 111.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] service-instance 1
[Sysname-Ten-GigabitEthernet1/0/1-srv1] encapsulation s-vid 111
Related commands
display l2vpn service-instance
l2vpn enable
Use l2vpn enable to enable L2VPN.
Use undo l2vpn enable to disable L2VPN.
Syntax
l2vpn enable
undo l2vpn enable
Default
L2VPN is disabled.
Views
System view
Predefined user roles
network-admin