< Home

set net-manager vpn-instance

Function

The set net-manager vpn-instance command configures the default VPN instance that the NMS uses on the device.

The undo set net-manager vpn-instance command deletes the default VPN instance from the device.

By default, no VPN instance is configured on the device.

Format

set net-manager vpn-instance vpn-instance-name

undo set net-manager vpn-instance

Parameters

Parameter Description Value

vpn-instance vpn-instance-name

Specifies the name of the default VPN instance.

The value must be an existing VPN instance name.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If the NMS manages devices on the VPN network, you need to send the device information to the NMS using the VPN instance.

You can run the set net-manager vpn-instance command to configure the default VPN instance for the NMS to manage the device so that the device can use this VPN instance to communicate with the NMS.

Precautions

  • Before running the set net-manager vpn-instance command, you must create VPN instances.

  • After running this command, you can successfully run file transfer commands that you have configured based on the FTP, TFTP, SCP, and SFTP commands only in the default VPN instance.

  • If the host has been configured as a log host, the NMS can receive device logs from the default VPN instance.

Example

# Set the default VPN instance to v1.

<HUAWEI> system-view
[HUAWEI] set net-manager vpn-instance v1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >