display vxlan statistics source source-ip-address peer peer-ip-address [ vni vni-id ]
display 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.
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. |
You can run the display vxlan statistics command to view VXLAN tunnel packet statistics. The information helps you locate faults and simplifies VXLAN network maintenance.
Before using this command to view VXLAN tunnel packet statistics, run the vxlan statistics enable command on an NVE interface to enable statistics collection on VXLAN tunnel packets.
# Display statistics on VXLAN tunnel packets, with 10.10.1.1 and 10.1.1.1 as the source and destination VTEP IP addresses.
<HUAWEI> display vxlan statistics source 10.10.1.1 peer 10.1.1.1 Total: -------------------------------------------------------------------------- Item Packets Bytes -------------------------------------------------------------------------- Inbound 5 760 Outbound 5 760 -------------------------------------------------------------------------- Slot 30: -------------------------------------------------------------------------- Item Packets Bytes -------------------------------------------------------------------------- Inbound 5 760 Outbound 5 760 --------------------------------------------------------------------------
Item |
Description |
---|---|
Slot |
Slot ID. |
Item |
Statistical item. |
Packets |
Number of packets. |
Bytes |
Number of bytes. |
Inbound |
Packet statistics in the inbound direction of the VXLAN tunnel. |
Outbound |
Packet statistics in the outbound direction of the VXLAN tunnel. |