eth-test start

Function

The eth-test start command starts an Ethernet test signal (ETH-test) test.

Format

eth-test start mep mep-id { mac mac-address | remote-mep rmep-id } rate rate-value [ [ timeout timeout-value ] | [ pattern { zero-no-crc | zero-crc } ] | [ 8021p 8021p-value ] | [ packet-size packet-size-value ] ] * [ out-of-service lck-level level-value ]

Parameters

Parameter Description Value
mac mac-address

Specifies the destination MAC address of test packets.

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 rmep-id

Specifies an RMEP ID.

The value is an integer ranging from 1 to 8191.

rate rate-value

Specifies the rate at which test packets are sent.

The value is an integer ranging from 1 to 4294967295, in kbit/s.

timeout timeout-value

Specifies the timeout period to wait for a response frame.

The value is an integer ranging from 1 to 1800, in seconds. The default value is 300.

pattern

Specifies the format of a Test TLV carried in test packets.

-

zero-no-crc

Specifies the format of a Test TLV carried in test packets.

A CRC-32 value follows the all-zeros code type in a Test TLV.

zero-crc

Specifies the format of a Test TLV carried in test packets.

No CRC-32 value follows the all-zeros code type in a Test TLV.

8021p 8021p-value

Specifies a priority value for test packets.

The value is an integer ranging from 0 to 7. By default, the priority configured in an MA is used. If no priority value is specified in an MA, priority value 7 takes effect by default.

packet-size packet-size-value

Specifies the size of each test packet.

The value is an integer ranging from 64 to 1518, in bytes. The default value is 64.

out-of-service

Specifies the level of LCK packets sent during an offline ETH-test instance.

-

lck-level level-value

Specifies the level of LCK packets sent during an offline ETH-test instance.

The value is an integer ranging from 0 to 7.

mep mep-id

Specifies the ID of a MEP on which an ETH-test test is to be started.

The value is an integer ranging from 1 to 8191.

Views

MA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
y1731 execute

Usage Guidelines

Usage Scenario

To start an ETH-test instance, run the eth-test start command. After this command is run, test results are displayed, which contain the maximum link bandwidth and frame loss ratio.

Prerequisites

The ETH-test function has been enabled using the eth-test enable command.

Precautions

After this command is run, the ETH-test instance starts. It will stop after the test timeout period elapses or the eth-test stop command is run.

Running this eth-test start command to start a test affects network service transmission. Exercise caution when using this command.

Example

# Start an ETH-test instance.
<HUAWEI> system-view
[~HUAWEI] evpn
[*HUAWEI-evpn] quit
[*HUAWEI] evpn vpn-instance evrf
[*HUAWEI-evpn-instance-evrf] quit
[*HUAWEI] interface GigabitEthernet 0/1/1
[*HUAWEI-GigabitEthernet0/1/1] evpn binding vpn-instance evrf
[*HUAWEI-GigabitEthernet0/1/1] quit
[*HUAWEI] cfm enable
[*HUAWEI] cfm md md1
[*HUAWEI-md-md1] ma ma1
[*HUAWEI-md-md1-ma-ma1] map evpn vpn-instance evrf
[*HUAWEI-md-md1-ma-ma1] mep mep-id 1 interface GigabitEthernet 0/1/1 inward
[*HUAWEI-md-md1-ma-ma1] eth-test enable mep 1
[*HUAWEI-md-md1-ma-ma1] remote-mep mep-id 2 mac 00e0-fc12-7890
[*HUAWEI-md-md1-ma-ma1] commit
[*HUAWEI-md-md1-ma-ma1] eth-test start mep 1 remote-mep 2 rate 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >