vlan (Generalflow test instance)

Function

The vlan command sets a VLAN ID for the NQA generalflow test instance.

The undo vlan command deletes a specified VLAN ID.

By default, no VLAN ID is configured.

Format

vlan vlan-id

undo vlan

Parameters

Parameter Description Value
vlan vlan-id

Specifies a VLAN ID.

vlan-id is an integer that ranges 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

If both the destination MAC address and the specified VLAN need to be matched, set a VLAN ID.

Example

# Set the VLAN ID of the test instance to 1.
<HUAWEI> system-view
[~HUAWEI] nqa test-instance user test
[*HUAWEI-nqa-user-test] test-type generalflow
[*HUAWEI-nqa-user-test] vlan 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >