R211x-HP Flexfabric 11900 MPLS Command Reference
303
access-mode: Specifies the AC access mode. By default, the access mode is VLAN.
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 to a VSI,
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, and 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
Related commands
• display l2vpn interface
• display l2vpn service-instance
• encapsulation
• vsi










