378
An AC is an Ethernet 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 Ethernet service
instance to the bound VSI.
On a PE, configure an Ethernet 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 an Ethernet 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 an Ethernet service
instance and enter Ethernet
service instance view.
service-instance
instance-id
By default, no Ethernet service
instance is created.
4.
Configure match criteria for
the Ethernet 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 outer VLAN ID:
encapsulation s-vid
vlan-id
[
only-tagged
]
By default, no match criteria
are configured for the
Ethernet 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.
Configuring a VSI
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a VSI and enter VSI
view.
vsi
vsi-name
By default, no VSI is created.
3.
(Optional.) Configure a
description for the VSI.
description
text
By default, no description is
configured for a VSI.
4.
(Optional.) Set the default PW
ID for the VSI.
default-pw-id
default-pw-id
By default, no default PW ID is
configured for the VSI.
5.
Set an MTU for the VSI.
mtu
mtu
By default, the MTU of a VSI is
1500 bytes.
6.
(Optional.) Enable the VSI.
undo shutdown
By default, a VSI is enabled.