vxlan statistics l3-mode enable (NVE interface view)

Function

The vxlan statistics l3-mode enable command enables Layer 3 traffic statistics collection by VNI and IPv6 VXLAN tunnel.

The undo vxlan statistics l3-mode enable command disables Layer 3 traffic statistics collection by VNI and IPv6 VXLAN tunnel.

By default, Layer 3 traffic statistics collection by VNI and IPv6 VXLAN tunnel is disabled.

Format

vxlan statistics l3-mode peer destIpv6Addr vni vni-val inbound enable

vxlan statistics l3-mode peer destIpv6Addr [ vni vni-val ] outbound enable

undo vxlan statistics l3-mode peer destIpv6Addr vni vni-val inbound enable

undo vxlan statistics l3-mode peer destIpv6Addr [ vni vni-val ] outbound enable

Parameters

Parameter Description Value
vni vni-val

Specifies a VNI for which Layer 3 IPv6 VXLAN traffic statistics collection is enabled or disabled.

The value is an integer ranging from 1 to 16777215.

inbound

Enables or disables Layer 3 upstream traffic statistics collection by VNI and IPv6 VXLAN tunnel.

-

peer destIpv6Addr

Specifies the IPv6 address of a peer VTEP for which Layer 3 IPv6 VXLAN traffic statistics collection is enabled or disabled.

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

outbound

Enables or disables Layer 3 downstream traffic statistics collection by VNI and IPv6 VXLAN tunnel.

-

Views

NVE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nvo3 write

Usage Guidelines

Usage Scenario

Before checking the statistics about sent or received Layer 3 traffic collected by VNI and IPv6 VXLAN tunnel for problem locating, run the vxlan statistics l3-mode enable command in the NVE interface view to enable upstream and downstream Layer 3 traffic statistics collection by VNI and IPv6 VXLAN tunnel. If you do not run the vxlan statistics l3-mode enable command, IPv6 VXLAN statistics cannot be obtained.

Example

# Enable upstream Layer 3 traffic statistics collection by VNI 1 and peer VTEP IPv6 address 2001:DB8:3::3.
<HUAWEI> system-view
[~HUAWEI] interface Nve 1
[~HUAWEI-Nve1] vxlan statistics l3-mode peer 2001:DB8:3::3 vni 1 inbound enable
# Enable downstream Layer 3 traffic statistics collection by VNI 1 and peer VTEP IPv6 address 2001:DB8:2::2.
<HUAWEI> system-view
[~HUAWEI] interface nve 1
[*HUAWEI-Nve1] source 2001:DB8:1::1
[*HUAWEI-Nve1] vni 1 head-end peer-list 2001:DB8:2::2
[*HUAWEI-Nve1] vxlan statistics l3-mode peer 2001:DB8:2::2 outbound enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >