< Home

vpn-instance (NQA view)

Function

The vpn-instance command configures the VPN instance that an NQA test instance belongs to.

The undo vpn-instance command deletes the configured VPN instance.

By default, no VPN instance is configured.

Format

vpn-instance vpn-instance-name

undo vpn-instance

Parameters

Parameter Description Value

vpn-instance-name

Specifies the VPN instance that an NQA test instance belongs to.

The value must be an existing VPN instance name.

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

The vpn-instance command applies to FTP, HTTP, ICMP, ICMP Jitter, Path Jitter, SNMP, TCP, trace, UDP, and UDP Jitter test instances.

In a PWE3 Trace test instance, if the protocol type of the L2VPN VC is set to BGP by the vc-type command, you can run the vpn-instance command to specify a VPN instance name for the PWE3 Trace test instance.

You cannot change this configuration of a running test instance.

Example

# Set the VPN instance for an NQA test instance named user test to vrf1.

<HUAWEI> system-view
[HUAWEI] nqa test-instance user test
[HUAWEI-nqa-user-test] test-type icmp
[HUAWEI-nqa-user-test] vpn-instance vrf1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic