reset vxlan statistics

Function

The reset vxlan statistics command clears VXLAN packet statistics.

Format

reset vxlan statistics source source-ip peer peer-ip vni vni-id

reset vxlan statistics source source-ip peer peer-ip local-vni vni-id

reset vxlan statistics source source-ip peer peer-ip remote-vni vni-id

reset vxlan statistics vni vni-id

Parameters

Parameter Description Value
peer peer-ip

Clears VXLAN packet statistics collected based on the IP address of the peer virtualized edge node.

The value is in dotted decimal notation.

vni

Clears VXLAN packets statistics collected based on a specified VNI ID.

The value is an integer ranging from 1 to 16777215.

vni-id

Specifies the value of VNI ID.

The value is an integer ranging from 1 to 16777215.

source source-ip

Clears VXLAN packets statistics collected based on the source IP address.

The value is in dotted decimal notation.

local-vni

Specifies the local VNI ID based on which upstream VXLAN packet statistics are to be cleared.

-

remote-vni

Specifies the remote VNI ID based on which downstream VXLAN packet statistics are to be cleared.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nvo3 execute

Usage Guidelines

Usage Scenario

In cloud VPN scenarios, cloud GWs support VXLAN packet statistics collection. To clear VXLAN packet statistics, run the reset vxlan statistics command.

Precautions

After the reset vxlan statistics command is run, VXLAN packet statistics on a device are cleared and cannot be restored. Exercise caution when you run this command.

Example

# Clear downstream VXLAN packet statistics collected based on the source IP address 10.1.1.1, remote VTEP IP address 10.2.2.2, and remote VNI ID 2.
<HUAWEI> reset vxlan statistics source 10.1.1.1 peer 10.2.2.2 remote-vni 2
# Clear upstream VXLAN packet statistics collected based on the source IP address 10.1.1.1, remote VTEP IP address 10.2.2.2, and local VNI ID 1.
<HUAWEI> reset vxlan statistics source 10.1.1.1 peer 10.2.2.2 local-vni 1
# Clear VXLAN packet statistics collected based on the source IP address 1.1.1.1, VNI with the ID of 1, and the IP address of the peer virtualized edge node as 1.1.1.2.
<HUAWEI> reset vxlan statistics source 1.1.1.1 peer 1.1.1.2 vni 1
# Clear VXLAN packet statistics collected based on the VNI with the ID of 1.
<HUAWEI> reset vxlan statistics vni 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >