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.
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
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. |
- |
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.
<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