MPLS L2VPN commands
ac interface
Use ac interface to bind an AC to a cross-connect.
Use undo ac interface to remove the binding.
Syntax
ac interface interface-type interface-number [ service-instance instance-id ] [ access-mode { ethernet |
vlan } ]
undo ac interface interface-type interface-number [ service-instance instance-id ]
Default
No AC is bound to a cross-connect.
Views
Cross-connect view
Predefined user roles
network-admin
mdc-admin
Parameters
interface-type interface-number: Specifies an interface.
service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 4096.
access-mode: Specifies the access mode. By default, the access mode is VLAN for a Layer 3 Ethernet
subinterface, a VLAN interface, or a service instance, and the access mode is Ethernet for other
interfaces.
ethernet: Specifies the Ethernet access mode.
vlan: Specifies the VLAN access mode.
Usage guidelines
An AC can be a Layer 3 interface or a service instance on a Layer 2 Ethernet interface.
After you bind a Layer 3 interface or a service instance to a cross-connect, packets received from the
Layer 3 interface or those match the service instance are forwarded to the bound PW or another AC.
The access mode determines how the PE treats the VLAN tag in Ethernet frames received from the AC. It
also determines 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 treats 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 treats
it as a U-tag and ignores it. Ethernet frames sent to the AC do not carry the P-tag.
The service instance specified in this command must have match criteria configured by encapsulation.
118