The test-id command configures a test instance ID.
The undo test-id command cancels the configuration.
By default, the test instance ID is not configured in an MA.
Parameter | Description | Value |
---|---|---|
test-id |
Specifies the ID of a test instance. |
The value is an integer ranging from 1 to 4294967295. |
testid-file |
Indicates the file recording the performance statistics collected by test ID. |
- |
mep mep-id |
Specifies the ID of a MEP. |
The value is an integer ranging from 1 to 8191. |
mac mac-address |
Specifies the MAC address of an RMEP. |
The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros. For example, e0 is displayed as 00e0. |
remote-mep mep-id |
Specifies the ID of an RMEP. |
The value is an integer ranging from 1 to 8191. |
peer-ip peer-ip |
Specifies the peer ip. Only measurement of PW link based on PW in VPLS scenario be supported. |
The value is in dotted decimal notation. |
vc-id vc-id |
Specifies the VC ID. Only measurement of PW link based on PW in VPLS scenario be supported. |
The value is an integer ranging from 1 to 4294967295. |
8021p 8021p-value |
Sets a priority value for DMMs. |
The value is an integer ranging from 0 to 7. |
description description |
Specifies the description of test instance. |
The value is a string ranging from 1 to 63. |
Usage Scenario
To collect link performance statistics using Y.1731, run this command to create a test instance for performance statistics collection.
Prerequisites
This command takes effect only after the following configurations are complete:
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] mpls l2vc 2.2.2.2 100 [*HUAWEI-GigabitEthernet0/1/0] quit [*HUAWEI] cfm enable [*HUAWEI] cfm md md1 [*HUAWEI-md-md1] ma ma1 [*HUAWEI-md-md1-ma-ma1] map mpls l2vc 2.2.2.2 100 raw [*HUAWEI-md-md1-ma-ma1] mep mep-id 1 interface GigabitEthernet0/1/0 inward [*HUAWEI-md-md1-ma-ma1] test-id 1 mep 1 mac 00e0-fc12-7890