The vxlan statistics enable command enables statistics collection on VXLAN tunnel packets.
The undo vxlan statistics enable command disables statistics collection on VXLAN tunnel packets.
By default, statistics collection on VXLAN tunnel packets is disabled.
vxlan statistics peer peer-ip-address [ vni vni-id ] enable
undo vxlan statistics peer peer-ip-address [ vni vni-id ] enable
vxlan statistics peer peer-ipv6-address [ vni vni-id ] enable
undo vxlan statistics peer peer-ipv6-address [ vni vni-id ] enable
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 |
---|---|---|
peer peer-ip-address |
Specifies the IPv4 address of the destination VTEP. |
The value is in dotted decimal notation. |
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. If vni vni-id is specified, the device collects packet statistics based on the VXLAN tunnel and VNI. If vni vni-id is not specified, the device collects packet statistics based on the VXLAN tunnel only. |
The value is an integer that ranges from 1 to 16777215. |
VXLAN tunnel packet statistics provide information about the number of packets going into and leaving a VXLAN tunnel.
To view VXLAN tunnel packet statistics, run the vxlan statistics enable and display vxlan statistics commands in sequence.
Packet statistics collection based on the VXLAN tunnel and VNI and packet statistics collection based on the VXLAN tunnel are mutually exclusive. For example, if the vxlan statistics peer 10.1.1.1 vni 10 enable command is configured, do not configure the vxlan statistics peer 10.1.1.1 enable command. If the vxlan statistics peer 10.1.1.1 enable command is configured, do not configure the vxlan statistics peer 10.1.1.1 vni 10 enable command.