vni

Function

The vni command adds a VNI to a VNI list.

The undo vni command deletes a VNI from a VNI list.

By default, no VNI is added to a VNI list.

Format

vni vni-value

undo vni vni-value

Parameters

Parameter Description Value
vni-value

Specifies a VNI.

The value is an integer ranging from 1 to 16777215.

Views

VNI list view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
route-base write

Usage Guidelines

Usage Scenario

VNIs, similar to VLAN IDs, differentiate virtual extensible local area network (VXLAN) segments and identify tenants. A VNI represents only one tenant, even if multiple terminal users sharing the VNI. To add a VNI to a VNI list, run the vni command.

Example

# Add the VNI 10 to a VNI list.
<HUAWEI> system-view
[~HUAWEI] filter-list vni abc
[~HUAWEI-vni-list-abc] vni 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic