The test-id command creates a test instance for Y.1731 statistics collection.
The undo test-id command deletes a test instance.
By default, no test instance is created in an MA for Y.1731 statistics collection.
Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.
test-id test-id mep mep-id { remote-mep mep-id } [ 8021p 8021p-value ] [ description description ]
undo test-id test-id
Parameter | Description | Value |
---|---|---|
test-id test-id | Specifies the ID of a test instance. | The value is an integer ranging from 1 to 4294967295. |
mep mep-id | Specifies the MEP ID. | The value is an integer that ranges from 1 to 8191. |
remote-mep mep-id | Specifies the RMEP ID. | The value is an integer that ranges from 1 to 8191. |
8021p 8021p-value | Specifies a priority value for packets. | The value is an integer that ranges from 0 to 7. |
description description | Specifies the description of a test instance. | The value is a string of 1 to 63 case-sensitive characters without spaces. |
Usage Scenario
To implement single-ended SLM, run the test-id command to create a test instance.
During two-way frame delay measurement in point-to-multipoint scenarios, you need to run this command to configure a test instance.
During two-way frame delay measurement, if the size or priority of outgoing DMMs needs to be specified or there is the high requirement on the detection accuracy, you can run this command to configure a test instance.
Prerequisites
A MEP has been created using the mep mep-id command in the MA view.
An RMEP has been created using the remote-mep command in the MA view.
Precautions
To configure a test instance, run the set service-mode command in the system view to configure the device to work in enhanced (S5732-H, S6730-H, S6730S-H, S6730-S, and S6730S-S is enhanced-oam) mode before enabling CFM globally.
IEEE 802.1ag has two versions: IEEE 802.1ag Draft 7 and IEEE Standard 802.1ag-2007. This command can be used only on the device running IEEE Standard 802.1ag-2007. Before using the test-id command, you must use the cfm version command to set the Ethernet CFM version to IEEE Standard 802.1ag-2007.
When you run this command in the same MA view to configure multiple test instances, the REMPs of the local MEP must be different switches.
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] port link-type trunk [HUAWEI-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 [HUAWEI-GigabitEthernet0/0/1] quit [HUAWEI] set service-mode enhanced Warning: This command will effect forward performance. Continue? [Y/N]:y [HUAWEI] cfm enable [HUAWEI] cfm md md1 [HUAWEI-md-md1] ma ma1 [HUAWEI-md-md1-ma-ma1] map vlan 100 [HUAWEI-md-md1-ma-ma1] mep mep-id 8 interface gigabitethernet 0/0/1 inward [HUAWEI-md-md1-ma-ma1] remote-mep mep-id 9 [HUAWEI-md-md1-ma-ma1] test-id 200 mep 8 remote-mep 9