
32
Default
An AC is not mapped to any VSI.
Views
Ethernet service instance view
Predefined user roles
network-admin
Parameters
vsi-name
: Specifies the VSI name, a case-sensitive string of 1 to 31 characters.
access-mode
: Specifies an access mode. The default access mode is VLAN.
vlan
: Specifies the VLAN access mode.
track track-entry-number
&<1-3>
: Specifies a space-separated list of up to three track
entry numbers in the range of 1 to 1024. The AC is up only if a minimum of one associated track entry
is in positive state.
Usage guidelines
To monitor the status of an AC, associate it with track entries.
To configure this command for an Ethernet service instance, you must first use the
encapsulation
command to add a frame match criterion to the service instance.
For traffic that matches the Ethernet service instance, the system uses the VSI's MAC address table
to make a forwarding decision.
The access mode determines how a VTEP processes the 802.1Q VLAN tags in the inner Ethernet
frames assigned to the VSI. The device supports the VLAN access mode. In this mode, Ethernet
frames received from or sent to the local site must contain 802.1Q VLAN tags.
•
For an Ethernet frame received from the local site, the VTEP removes all its 802.1Q VLAN tags
before forwarding the frame.
•
For an Ethernet frame destined for the local site, the VTEP adds 802.1Q VLAN tags to the
frame before forwarding the frame.
In VLAN access mode, VXLAN packets sent between VXLAN sites do not contain 802.1Q VLAN
tags. VXLAN can provide Layer 2 connectivity for different 802.1Q VLANs between sites. You can
use different 802.1Q VLANs to provide the same service in different sites.
Examples
# On GigabitEthernet 1/0/1, configure Ethernet service instance 200 to match frames with an outer
802.1Q VLAN tag of 200, and map the instance to VSI
vpn1
.
<Sysname> system-view
[Sysname] vsi vpn1
[Sysname-vsi-vpn1] quit
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] service-instance 200
[Sysname-GigabitEthernet1/0/1-srv200] encapsulation s-vid 200
[Sysname-GigabitEthernet1/0/1-srv200] xconnect vsi vpn1
Related commands
display l2vpn service-instance
encapsulation
vsi