R21xx-HP FlexFabric 11900 MPLS Configuration Guide

265
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 VSI
Ste
p
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. Configure an MTU for the VSI.
mtu mtu
By default, the MTU of a VSI is
1500 bytes.
5. (Optional.) Enable the VSI.
undo shutdown By default, a VSI is enabled.
Configuring a PW
Configuring a PW class
In a PW class, you can configure PW attributes such as the PW type. To simplify PW configuration, you
can configure PWs with the same attributes by referencing the same PW class.
To configure a PW class:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a PW class and enter
PW class view.
pw-class class-name By default, no PW class is created.
3. Specify the PW type.
pw-type { ethernet | vlan } By default, the PW type is VLAN.