R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
189
Use undo xconnect vsi to remove the binding.
Syntax
xconnect vsi vsi-name [ access-mode { ethernet | vlan } ]
undo xconnect vsi
Default
An interface or a service instance is not bound to any VSI.
Views
Layer 3 interface view, service instance view
Predefined user roles
network-admin
Parameters
vsi-name: Specifies the name of a VSI, a case-sensitive string of 1 to 31 characters.
access-mode: Specifies the AC access mode. By default, the access mode for a VLAN interface is VLAN,
and the access mode for other AC interfaces is Ethernet.
ethernet: Specifies the access mode as Ethernet.
vlan: Specifies the access mode as VLAN.
Usage guidelines
After you bind a Layer 3 interface to a VSI, packets received from the interface are forwarded according
to the MAC address table of the VSI. After you bind a service instance on a Layer 2 interface, packets
received from the interface and matching the service instance are forwarded according to the MAC
address table of the VSI.
The access mode determines how the PE considers the VLAN tag in Ethernet frames received from the AC
and how the PE forwards Ethernet frames to the AC.
VLAN access mode—Ethernet frames received from the AC must carry a VLAN tag in the Ethernet
header. The PE considers the VLAN tag as a P-tag assigned by the service provider. Ethernet frames
sent to the AC must also carry the P-tag.
Ethernet access mode—If Ethernet frames from the AC have a VLAN tag in the header, the PE
considers it as a U-tag and ignores it. Ethernet frames sent to the AC do not carry the P-tag.
Before you configure this command for a service instance, make sure you have configured match criteria
for the service instance by using the encapsulation command.
Examples
# Configure service instance 200 on Layer 2 interface Ten-GigabitEthernet 1/0/1 to match packets with
an outer VLAN tag of 200, bind the service instance to the VSI vpn1.
<Sysname> system-view
[Sysname] vsi vpn1
[Sysname-vsi-vpn1] quit
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] service-instance 200
[Sysname-Ten-GigabitEthernet1/0/1-srv200] encapsulation s-vid 200
[Sysname-Ten-GigabitEthernet1/0/1-srv200] xconnect vsi vpn1