R21xx-HP FlexFabric 11900 MPLS Configuration Guide
228
Configuring a Layer 2 Ethernet interface
Configure the Layer 2 Ethernet interface connected to the CE to create a Layer 2 link between the PE and
CE.
The Layer 2 interface type determines the access mode of the AC. On the Layer 2 Ethernet interface, you
can use the access-mode keyword of the ac interface command to specify the access mode as Ethernet
(the default) or VLAN.
Configuring a service instance on a Layer 2 Ethernet interface
When the PE connects to a CE through a Layer 2 Ethernet interface, you can configure a service instance
on the Layer 2 Ethernet interface to match specific packets from the AC.
To configure a service instance:
Ste
p
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enter Layer 2 Ethernet
interface view.
interface interface-type
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.
Configuring a cross-connect
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a cross-connect group
and enter cross-connect group
view.
xconnect-group group-name
By default, no cross-connect group
is created.
3. (Optional.) Configure a
description for the
cross-connect group.
description text
By default, no description is
configured for the cross-connect
group.
4. (Optional.) Enable the
cross-connect group.
undo shutdown
By default, the cross-connect group
is enabled.
5. Create a cross-connect and
enter cross-connect view.
connection connection-name
By default, no cross-connect is
created.










