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.
vlan vlan-id
undo vlan
Specifies a VLAN ID.
vlan-id is an integer that ranges from 1 to 4094.
NQA view
2: Configuration level
Usage Scenario
If both the destination MAC address and the specified VLAN need to be matched, set a VLAN ID.
<HUAWEI> system-view [~HUAWEI] nqa test-instance user test [*HUAWEI-nqa-user-test] test-type generalflow [*HUAWEI-nqa-user-test] vlan 1