display cfd service-instance
Syntax
display cfd service-instance [ instance-id ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
instance-id: Service instance ID, ranging from 1 to 32767.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display cfd service-instance to display the configuration information of a service instance.
Without specifying the service instance ID, the command will display the configuration information of all service instances.
Examples
# Display the configuration information of all service instances.
<Sysname> display cfd service-instance 2 service instance(s) configured: Service instance 5: Maintenance domain: mdtest_5 Maintenance association: matest_5 Level: 5 VLAN: 5 MIP rule: None CCM interval: 1s Service instance 6: Maintenance domain: mdtest_6 Maintenance association: matest_6 Level: 6 VLAN: 6 MIP rule: None CCM interval: 1s MEP ID: 730 Interface: Ethernet1/0/1 Direction: Inbound Service instance 6: Maintenance domain: (Without Name) Maintenance association: matest_6 Level: 6 VLAN: 6 MIP rule: None CCM interval: 1s MEP ID: 731 Interface: Ethernet1/0/2 Direction: Outbound
Table 17: Command output
Field | Description |
---|---|
2 service instance(s) are configured. | Number of service instance configured. |
Service instance 5 | Service instance ID. |
Maintenance domain | MD of the service instance. (If the MD does not have a name, this field is displayed as Without Name.) |
Maintenance association: | MA of the service instances. |
Level | MD level. |
VLAN | VLAN that the MA belongs to. |
MIP rule | MIP generation rules configured on service instance. |
CCM interval | Interval to send CCMs. |
MEP ID | ID of MEPs configured on the service instance. |
Interface | Interface of the MEP configured on the service instance. |
Direction | Direction of the MEPs configured on the service instance. |