pe-vid ce-vid (NQA view)

Function

The pe-vid ce-vid command sets the inner and outer VLAN IDs in generalflow test packets.

The undo pe-vid command deletes VLAN IDs.

By default, no VLAN IDs are set.

Format

pe-vid pe-vid ce-vid ce-vid

undo pe-vid

Parameters

Parameter Description Value
pe-vid

Specifies the outer VLAN ID in generalflow test packets.

The value is an integer ranging from 1 to 4094.

ce-vid ce-vid

Specifies the inner VLAN ID in generalflow test packets.

The value is an integer ranging from 1 to 4094.

Views

NQA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

In generalflow tests, if the simulated inbound interface is a QinQ VLAN tag termination sub-interface, run the pe-vid ce-vid command to set the inner and outer VLAN IDs in test packets.

Prerequisites

The simulated inbound interface has been configured as a QinQ VLAN tag termination sub-interface.

Precautions

You cannot change this configuration of a running test instance.

Example

# Set the inner VLAN ID to 10 and outer VLAN ID to 20 in generalflow test packets.
<HUAWEI> system-view
[~HUAWEI] nqa test-instance user test
[*HUAWEI-nqa-user-test] test-type generalflow
[*HUAWEI-nqa-user-test] measure throughput
[*HUAWEI-nqa-user-test] destination-address mac 1-1-1
[*HUAWEI-nqa-user-test] forwarding-simulation inbound-interface GigabitEthernet 0/1/0.1
[*HUAWEI-nqa-user-test] pe-vid 20 ce-vid 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >