< Home

interface virtual-if api transform

Function

The interface virtual-if api transform command enables the virtual-IF name conversion function for a northbound interface (NBI).

The undo interface virtual-if api transform command disables the function.

Format

interface virtual-if api transform

undo interface virtual-if api transform

Parameters

None.

Views

System view

Default Level

3: Management level

Usage Guidelines

By default, the function is disabled.

After enabling the function, note the following points:

  • When you obtain interface status and configuration through an NBI, the VLAN-IF interface name is displayed as virtual-if-[vsysname].
  • When interface configuration is delivered through an NBI, the virtual-If interface name must be delivered in the format of virtual-if-[vsysname].

For details on interface use when the function is not enabled, see the API Development Guide of the corresponding NBI.

Example

# Enable the virtual-if name conversion function for an NBI.

<sysname> system-view
[sysname] interface virtual-if api transform
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >