display vxlan statistics

Function

The display vxlan statistics command displays VXLAN packet statistics.

Format

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

display vxlan statistics vni vni-id

Parameters

Parameter Description Value
peer peer-ip

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

The value is in dotted decimal notation.

vni vni-id

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

The value is an integer ranging from 1 to 16777215.

source source-ip

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

The value is in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
nvo3 read

Usage Guidelines

Usage Scenario

  • After The statistic enable command is run in The VNI view to enable vxlan packet statistics collection, run The display vxlan statistics VNI command to view vxlan packet statistics collected by VNI.
  • After The vxlan statistics peer VNI enable command is run in The NVE interface view to enable vxlan packet statistics collection, run The display vxlan statistics source peer VNI command to view vxlan packet statistics collected by VNI and vxlan tunnel.

Precautions

Packet statistics collection based on the VXLAN tunnel and VNI and packet statistics collection based on the VXLAN tunnel are mutually exclusive.

Only split-horizon mode of traffic statistics collection for a VNI are supported, non-split-horizon mode is not supported.

In the statistics on VNI, unknown-unicast-drops, unknown-multicast-drops, and broadcasts-drops are pseudo counts with a displayed value 0.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display VXLAN packet statistics collected based on the VNI with the ID of 1.
<HUAWEI> display vxlan statistics vni 1
    Last 300 seconds input rate: 536 bits/sec, 0 packets/sec
    Last 300 seconds output rate: 368 bits/sec, 0 packets/sec
    2432180 packets input, 311319040 bytes
    2100693 packets output, 268210106 bytes
    Input:2432180 unicast packets, 0 multicast packets
          0 broadcasts
          0 unknown-unicast-drops
          0 unknown-multicast-drops
          0 broadcasts-drops

   Output:2100692 unicast packets, 0 multicast packets
          1 broadcasts
# Display 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> display vxlan statistics source 1.1.1.1 peer 1.1.1.2 vni 1
    Last 300 seconds input rate: 536 bits/sec, 0 packets/sec
    Last 300 seconds output rate: 368 bits/sec, 0 packets/sec
    1051720995 packets input, 134620265610 bytes
    909549472 packets output, 116038062100 bytes
    Input:1051720620 unicast packets, 0 multicast packets
          375 broadcasts
          0 unknown-unicast-drops
          0 unknown-multicast-drops
          0 broadcasts-drops

   Output:909549097 unicast packets, 0 multicast packets
          375 broadcasts
Table 1 Description of the display vxlan statistics command output
Item Description
Last 300 seconds input rate: 536 bits/sec, 0 packets/sec

536 indicates the number of received bits per second in last 300 seconds; 0 indicates the number of received packets per second in 300 seconds.

Last 300 seconds output rate: 368 bits/sec, 0 packets/sec

368 indicates the number of sent bits per second in last 300 seconds; 0 indicates the number of sent packets per second in 300 seconds.

0 unknown-unicast-drops

Number of discarded unknown unicast packets.

0 unknown-multicast-drops

Number of discarded unknown multicast packets.

0 broadcasts-drops

Number of discarded broadcast packets.

1051720995 packets input, 134620265610 bytes

1051720995 indicates the number of received packets; 134620265610 indicates the number of bytes of received packets.

909549472 packets output, 116038062100 bytes

909549472 indicates the number of sent packets; 116038062100 indicates the number of bytes of sent packets.

Input:1051720620 unicast packets, 0 multicast packets 375 broadcasts

1051720620 indicates the number of received unicast packets; 0 indicates the number of received multicast packets; 375 indicates the number of received broadcast packets.

Output:909549097 unicast packets, 0 multicast packets 375 broadcasts

909549097 indicates the number of sent unicast packets; 0 indicates the number of sent multicast packets; 375 indicates the number of sent broadcast packets.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >