< Home

reset vxlan statistics

Function

The reset vxlan statistics command clears VXLAN tunnel packet statistics.

Format

reset vxlan statistics source source-ip-address peer peer-ip-address [ vni vni-id ]

reset vxlan statistics source source-ipv6-address peer peer-ipv6-address [ vni vni-id ]

Only the S6730-S, S6730S-S, S5732-H, S5731-S, S5731S-S, S5731S-H, S5730-HI, S6730-H, S6730S-H, S5731-H, and S6720-HI support the source and peer parameters configured as IPv6 address.

Parameters

Parameter Description Value

source source-ip-address

Specifies the IPv4 address of the source VTEP.

The value is in dotted decimal notation.

peer peer-ip-address

Specifies the IPv4 address of the destination VTEP.

The value is in dotted decimal notation.

source source-ipv6-address

Specifies the IPv6 address of the source VTEP.

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

peer peer-ipv6-address

Specifies the IPv6 address of the destination VTEP.

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

vni vni-id

Specifies a VNI ID.

The value is an integer that ranges from 1 to 16777215.

Views

User view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before you collect VXLAN tunnel packet statistics within a specific period, run the reset vxlan statistics command to clear the existing statistics to ensure statistics accuracy.

Precautions

Packet statistics cannot be restored after you clear them; therefore, exercise caution before you run the reset vxlan statistics command.

Example

# Clear statistics on VXLAN tunnel packets, with 10.10.1.1 and 10.1.1.1 as the source and destination VTEP IP addresses.

<HUAWEI> reset vxlan statistics source 10.10.1.1 peer 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >