forwarding-simulation inbound-interface (Generalflow test instance)

Function

The forwarding-simulation inbound-interface command specifies a simulated inbound interface.

The undo forwarding-simulation inbound-interface command deletes the simulated inbound interface configuration.

By default, no simulated inbound interfaces are configured.

Format

forwarding-simulation inbound-interface { ifName | ifType ifNum }

forwarding-simulation inbound-interface { ifName | ifType ifNum } share-mode

undo forwarding-simulation inbound-interface

Parameters

Parameter Description Value
ifName

Specifies the name of a simulated inbound interface.

-

ifType

Specifies the name of a simulated inbound interface.

-

ifNum

Specifies the number of a simulated inbound interface.

-

share-mode

Enables both test flows and non-test flows to pass through.

If share-mode is not set, only test flows can pass through.

-

Views

NQA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

By default, NQA test packets of Generalflow test type are considered as host packets. The host packets have a higher forwarding priority than the forwarded packets.

The forwarding-simulation inbound-interface command specifies a simulated interface through which the NQA test packets, same as the forwarded packets, are forwarded to the product forwarding channel.

Example

# Configure the simulated inbound interface for NQA test instance.
<HUAWEI> system-view
[~HUAWEI] nqa test-instance user test
[*HUAWEI-nqa-user-test] test-type generalflow
[*HUAWEI-nqa-user-test] forwarding-simulation inbound-interface GigabitEthernet 0/1/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >