To check the network status or locate network faults, you can enable the traffic statistics function to view VXLAN packet statistics.
Run system-view
The system view is displayed.
Run bridge-domain bd-id
A BD is created, and the BD view is displayed.
Run statistic enable
VXLAN packet statistics collection is enabled for the BD.
Run commit
The configuration is committed.
Run system-view
The system view is displayed.
Run vni vni-id
A VNI is created, and the VNI view is displayed.
Run statistic enable
VXLAN packet statistics collection is enabled.
Run commit
The configuration is committed.
Run system-view
The system view is displayed.
Run interface nve nve-number
An NVE interface is created, and the NVE interface view is displayed.
Run source ip-address
The IP address of the source VTEP is configured.
Run vni vni-id head-end peer-list ip-address &<1-10>
An ingress replication list is configured for the VNI.
Run vxlan statistics peer peer-ip vni vni-id [ inbound | outbound ] enable
VNI- and VXLAN tunnel-based packet statistics collection is enabled.
Run vxlan statistic l3-mode peer peer-ip vni vni-id inbound enable
Upstream Layer 3 traffic statistics collection by VNI and VXLAN tunnel is enabled.
Run vxlan statistics l3-mode peer peer-ip [ vni vni-id ] outbound enable
VNI- and VXLAN tunnel-based downlink Layer 3 traffic statistics collection is enabled.
Run commit
The configuration is committed.
The system view is displayed.
An NVE interface is created, and its view is displayed.
VNI- and IPv6 VXLAN tunnel-based packet statistics collection is enabled.
VNI- and IPv6 VXLAN tunnel-based Layer 3 uplink traffic statistics collection is enabled.
VNI- and VXLAN tunnel-based Layer 3 downlink traffic statistics collection is enabled.
The configuration is committed.