packet-size (NQA view)

Function

The packet-size command sets one or multiple sizes for NQA test packets.

The undo packet-size command restores the default test packet size.

By default, the test packet size is 512 bytes.

Format

packet-size { datasizeValue } &<1-10>

undo packet-size

Parameters

Parameter Description Value
datasizeValue

Specifies the size of packets in an NQA test instance.

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

Views

NQA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

To set the size of NQA test packets in an Ethernet service activation test, run the packet-size <PACKET-SIZE> & <1-10> command. This command allows a carrier network to transmit packets of various sizes in an environment close to real-world situations.

The packet in an Ethernet service activation test cannot be fragmented.

Example

# Set the NQA test packet sizes to 100 bytes and 200 bytes.
<HUAWEI> system-view
[~HUAWEI] nqa test-instance user test
[*HUAWEI-nqa-user-test] test-type ethernet-service
[*HUAWEI-nqa-user-test] packet-size 100 200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >