vxlan statistics enable (NVE interface view)

Function

The vxlan statistics enable command enables the function of collecting IPv6 VXLAN packet statistics based on the VNI and IPv6 VXLAN tunnel.

The undo vxlan statistics enable command disables the function of collecting IPv6 VXLAN packet statistics based on the VNI and IPv6 VXLAN tunnel.

By default, the function of collecting IPv6 VXLAN packet statistics based on the VNI and IPv6 VXLAN tunnel is disabled.

Format

vxlan statistics peer destIpv6Addr vni vni-val inbound enable

vxlan statistics peer destIpv6Addr vni vni-val outbound enable

vxlan statistics peer destIpv6Addr vni vni-val enable

undo vxlan statistics peer destIpv6Addr vni vni-val inbound enable

undo vxlan statistics peer destIpv6Addr vni vni-val outbound enable

undo vxlan statistics peer destIpv6Addr vni vni-val enable

Parameters

Parameter Description Value
vni vni-val

Enables IPv6 VXLAN packets statistics collection based on a specified VNI ID.

The value is an integer ranging from 1 to 4294967295.

inbound

Collects IPv6 VXLAN packet statistics for upstream traffic.

-

peer destIpv6Addr

Enables IPv6 VXLAN packet statistics collection based on the IPv6 address of the peer VTEP.

The address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

outbound

Collects IPv6 VXLAN packet statistics for downstream traffic.

-

Views

NVE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nvo3 write

Usage Guidelines

Usage Scenario

By default, IPv6 VXLAN traffic statistics collection is disabled. To enable the IPv6 VXLAN traffic statistics collection function based on a VNI ID and IPv6 VXLAN tunnel, run the vxlan statistics enable command. If the function of collecting IPv6 VXLAN packet statistics is disabled, you cannot obtain the statistics.

Example

# Enable the IPv6 VXLAN packet statistics collection function based on the VNI with the ID of 1 and the IPv6 address of the peer VTEP as 2001:DB8:1::1.
<HUAWEI> system-view
[~HUAWEI] interface nve 1
[*HUAWEI-Nve1] source 2001:DB8:1::1
[*HUAWEI-Nve1] vxlan statistics peer 2001:DB8:2::2 vni 1 enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >