23
Configuring service instances
Before configuring the MEPs and MIPs, you must first configure service instances. A service instance is a
set of service access points (SAPs), and belongs to an MA in an MD.
A service instance is indicated by an integer to represent an MA in an MD. The MD and MA define the
level and VLAN attribute of the messages handled by the MPs in a service instance.
Service instances fall into two types:
•
Service instance with the MD name, which takes effect in any version of CFD.
•
Service instance without the MD name, which takes effect in only CFD IEEE 802.1ag.
You can create either type of service instance as needed.
Creating a service instance with the MD name
To create a service instance with the MD name, create the MD and MA for the service instance first.
Follow these steps in strict order to configure a service instance with the MD name:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Create an MD
cfd md
md-name
level
level-value
Required
Not created by default.
Create an MA
cfd ma
ma-name
md
md-name
vlan
vlan-id
Required
Not created by default.
Create a service instance with the
MD name
cfd service-instance
instance-id
md
md-name
ma
ma-name
Required
Not created by default.
CAUTION:
You must create the MD, MA, and service instance by strictly following the order stated in the table.
Creating a service instance without the MD name
When you create a service instance without the MD name, the system automatically creates the MA and
MD for the service instance.
Follow these steps to create a service instance without the MD name:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Create a service instance without
the MD name
cfd service-instance
instance-id
maid format
{
icc-based
ma-name
|
string
ma-name
}
level
level-value
vlan
vlan-id
Required
Not created by default.
Configuring MEPs
CFD is implemented through various operations on MEPs. As a MEP is configured on a service instance,
the MD level and VLAN attribute of the service instance become the attribute of the MEP.