Gathering VXLAN Statistics
You can collect and control certain
statistics pertaining to VXLAN virtual ports and VXLAN Network Identifiers (VNIs).
The
following task enables detailed statistics collection for a VNI.
Note: Statistics can be gathered for a maximum of 10 VNIs at a time.
Complete the following steps to gather VXLAN statistics.
- Enter global configuration mode.
- Name the overlay gateway and enter overlay-gateway configuration mode.
- Enable VNI counters for the VXLAN overlay gateway and enable Virtual Forwarding Instance (VFI) counters for the VNIs. Also, collect statistics from Access Virtual Ports.
The following example enables VNI counters for a
VXLAN overlay gateway. It also enables Virtual Forwarding Instance (VFI) counters
for the VNIs. Statistics from Access Virtual Ports are also collected. Statistics
are then displayed using the show overlay-gateway command.
device# configure terminal
device(config)# overlay-gateway gate1
device(config-overlay-gw-gate1)# vni-counters vni 30000 stats detailed
device# show overlay-gateway 1 vnid 30000 counters
------ The VNI Counter Stats ------
InUcastPkts: 30 InUcastBytes: 4590
InMcastPkts: 0 InMcastBytes: 0
InBcastPkts: 0 InBcastBytes: 0
OutKnownUcastPkts: 38 OutKnownUcastBytes: 4590
OutBumPkts : 0 OutBumBytes : 0
Bum Traffic consists Unknown Ucast, Mcast, Bcast Traffic