Configuring an AC


[CAUTION: ]

CAUTION:

  • On a PE, if the interface connected to a PW and the interface connected to an AC reside on different IRF member devices, the default VLAN ID configured on the interface connected to the AC must be different from the inner VLAN ID of the packets to be forwarded from the PW to the AC.

  • On an interface, service instance is mutually exclusive with EVB. For more information about EVB, see EVB Configuration Guide.


  • An AC is a service instance on a Layer 2 Ethernet interface or Layer 2 aggregate interface. The AC forwards packets that are received on the interface and meet the match criteria of the service instance to the bound VSI.

    On a PE, configure a service instance on the Layer 2 Ethernet interface or Layer 2 aggregate interface that connects to a CE to match packets for the AC.

    To configure a service instance:

    Step

    Command

    Remarks

    1. Enter system view.

    system-view

    N/A

    2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view.

    • Enter Layer 2 Ethernet interface view:interface interface-type interface-number

    • Enter Layer 2 aggregate interface view:interface bridge-aggregation interface-number

    N/A

    3. Create a service instance and enter service instance view.

    service-instance instance-id

    By default, no service instance is created.

    4. Configure match criteria for the service instance.

    • Match all incoming packets:encapsulation default

    • Match incoming packets with any VLAN ID or no VLAN ID:encapsulation { tagged | untagged }

    • Match incoming packets with a specific VLAN ID:encapsulation s-vid vlan-id [ only-tagged ]

    Use one of the commands.

    By default, no match criteria are configured for the service instance.

    To match packets with VLAN IDs on an interface, you must first create the VLANs, and then assign the interface to the VLANs.