< Home

vpn-instance

Function

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

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

Format

vpn-instance vpn-instance-name

undo vpn-instance

Parameters

Parameter Description Value
vpn-instance-name Specifies to which VPN instance an NQA test instance belongs. The value is a string of 1 to 31 characters.

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

Prerequisites

Before running the datafill command, run the test-type command to specify the type of a test instance, which may be one of the following:
  • ICMP
  • FTP
  • HTTP
  • UDP-tracert
  • TCP
  • UDP
  • UDP-jitter

Precautions

You cannot modify the VPN instance of a currently performed test.

Example

# Set the VPN instance for a test instance named admin http to vrf1.

<sysname> system-view
[sysname] nqa test-instance admin http
[sysname-nqa-admin-http] test-type http
[sysname-nqa-admin-http] vpn-instance vrf1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic