< Home

delay-measure two-way send test-id

Function

The delay-measure two-way send test-id command configures on-demand two-way frame delay measurement based on the test instance.

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.

Format

delay-measure two-way send test-id test-id interval { 1000 | 10000 } count count [ packet-size packet-size ]

Parameters

Parameter Description Value
test-id Specifies the ID of a test instance. The value is an integer ranging from 1 to 4294967295.
interval { 1000 | 10000 } Specifies the interval at which DMMs are sent. The value is either 1000 or 10000, expressed in milliseconds.
count count Specifies the number of times that DMMs are sent. The value is an integer ranging from 1 to 60.
packet-size packet-size Specifies the size of the sent packets. The value is an integer ranging from 64 to 1518, in bytes. The default value is 64.

Views

MA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In VLAN scenarios, to implement two-way on-demand frame DM, run the delay-measure two-way send command. This command does not take effect in point-to-multipoint link scenarios.

To implement two-way on-demand frame DM for point-to-multipoint links, run the delay-measure two-way send test-id command.

Prerequisites

A test instance has been created using the test-id command in the MA view.

Precautions

The delay-measure two-way send test-id and delay-measure two-way send commands are mutually exclusive.

If the configuration changes during on-demand statistics, you can view only the pre-change statistics results. You are advised to run the command for on-demand statistics again for query.

Example

# Configure two-way frame DM with the test instance ID of 1, DMM transmission interval of 10s, and measurement times of 60.

<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 1 interface gigabitethernet 0/0/1 inward
[HUAWEI-md-md1-ma-ma1] remote-mep mep-id 2
[HUAWEI-md-md1-ma-ma1] remote-mep ccm-receive enable
[HUAWEI-md-md1-ma-ma1] test-id 1 mep 1 remote-mep 2
[HUAWEI-md-md1-ma-ma1] delay-measure two-way send test-id 1 interval 10000 count 60
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >