R211x-HP Flexfabric 11900 MPLS Command Reference

281
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 service
instance and the VSI.
Examples
# Configure service instance 1 on Layer 2 Ethernet interface 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
mdc-admin
Usage guidelines
You must enable L2VPN before configuring other L2VPN settings.
Examples
# Enable L2VPN.
<Sysname> system-view
[Sysname] l2vpn enable
l2vpn switchover
Use l2vpn switchover to switch traffic from the specified PW to its backup PW.
Syntax
l2vpn switchover peer ip-address pw-id pw-id