Binding an AC to a VSI

This task is mutually exclusive from Ethernet link aggregation. If a Layer 2 Ethernet interface has been added to a link aggregation group, you cannot bind a service instance on the interface to a VSI, and vice versa.

After you bind a service instance on a Layer 2 Ethernet interface or Layer 2 aggregate interface to a VSI, packets that are received from the interface and meet the match criteria of the service instance are forwarded based on the MAC address table of the VSI. A service instance can match all packets, tagged packets, or untagged packets.

To bind a service instance to a VSI:

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 an Ethernet service instance and enter Ethernet service instance view.

service-instance instance-id

By default, no Ethernet service instance exists on an interface.

4. Bind the Ethernet service instance to a VSI.

xconnect vsi vsi-name [ access-mode { ethernet | vlan } ]

By default, a service instance is not bound to any VSI.