Clearing VXLAN Statistics
You can clear statistics for an entire
VXLAN gateway tunnel or for a particular VXLAN Network Identifier (VNI).
- Clear the network counters for a
site.
device# clear overlay-gateway 1 site mm2-site network-counters Cleared the counters for the site ! device# show overlay-gateway 1 site mm2-site network-counters ------ The Network Counter Stats ------ InUcastPkts: 0 InUcastBytes: 0 InMcastPkts: 0 InMcastBytes: 0 InBcastPkts: 0 InBcastBytes: 0 OutKnownUcastPkts: 0 OutKnownUcastBytes: 0 OutBumPkts : 0 OutBumBytes : 0 Bum Traffic consists Unknown Ucast, Mcast, Bcast Traffic - Clear the VNI counters for an
overlay gateway.
device# clear overlay-gateway 1 vnid 30000 counters Cleared the counters for VNI ! device# show overlay-gateway 1 vnid 30000 counters ------ The VNI Counter Stats ------ InUcastPkts: 0 InUcastBytes: 0 InMcastPkts: 0 InMcastBytes: 0 InBcastPkts: 0 InBcastBytes: 0 OutKnownUcastPkts: 0 OutKnownUcastBytes: 0 OutBumPkts : 0 OutBumBytes : 0 Bum Traffic consists Unknown Ucast, Mcast, Bcast Traffic - Clear the access counters for an
Ethernet interface.
device# clear overlay-gateway 1 vnid 30000 ethernet 2/1/17 access-counters Cleared the counters for the access counters ! device# show overlay-gateway 1 vnid 30000 ethernet 2/1/17 access-counters ------ The Access Counter Stats ------ InUcastPkts: 0 InUcastBytes: 0 InMcastPkts: 0 InMcastBytes: 0 InBcastPkts: 0 InBcastBytes: 0 OutKnownUcastPkts: 0 OutKnownUcastBytes: 0 OutBumPkts : 0 OutBumBytes : 0 Bum Traffic consists Unknown Ucast, Mcast, Bcast Traffic - Clear the access counters for a LAG interface.
device# clear overlay-gateway 1 vnid 30000 lag 2 access-counters Cleared the counters for the access counters ! device# show overlay-gateway 1 vnid 30000 lag 2 access-counters ------ The Access Counter Stats ------ InUcastPkts: 0 InUcastBytes: 0 InMcastPkts: 0 InMcastBytes: 0 InBcastPkts: 0 InBcastBytes: 0 OutKnownUcastPkts: 0 OutKnownUcastBytes: 0 OutBumPkts : 0 OutBumBytes : 0 Bum Traffic consists Unknown Ucast, Mcast, Bcast Traffic
The following example clears the network counters for a site.
device# clear overlay-gateway 1 site mm2-site network-counters
Cleared the counters for the site !
device# show overlay-gateway 1 site mm2-site network-counters
------ The Network Counter Stats ------
InUcastPkts: 0 InUcastBytes: 0
InMcastPkts: 0 InMcastBytes: 0
InBcastPkts: 0 InBcastBytes: 0
OutKnownUcastPkts: 0 OutKnownUcastBytes: 0
OutBumPkts : 0 OutBumBytes : 0
Bum Traffic consists Unknown Ucast, Mcast, Bcast Traffic
The following example clears the VNI counters for an overlay gateway.
device# clear overlay-gateway 1 vnid 30000 counters
Cleared the counters for VNI !
device# show overlay-gateway 1 vnid 30000 counters
------ The VNI Counter Stats ------
InUcastPkts: 0 InUcastBytes: 0
InMcastPkts: 0 InMcastBytes: 0
InBcastPkts: 0 InBcastBytes: 0
OutKnownUcastPkts: 0 OutKnownUcastBytes: 0
OutBumPkts : 0 OutBumBytes : 0
Bum Traffic consists Unknown Ucast, Mcast, Bcast Traffic
The following example clears the access counters for an Ethernet interface.
device# clear overlay-gateway 1 vnid 30000 ethernet 2/1/17 access-counters
Cleared the counters for the access counters !
device# show overlay-gateway 1 vnid 30000 ethernet 2/1/17 access-counters
------ The Access Counter Stats ------
InUcastPkts: 0 InUcastBytes: 0
InMcastPkts: 0 InMcastBytes: 0
InBcastPkts: 0 InBcastBytes: 0
OutKnownUcastPkts: 0 OutKnownUcastBytes: 0
OutBumPkts : 0 OutBumBytes : 0
Bum Traffic consists Unknown Ucast, Mcast, Bcast Traffic
The following example clears the access counters for a LAG interface.
device# clear overlay-gateway 1 vnid 30000 lag 2 access-counters
Cleared the counters for the access counters !
device# show overlay-gateway 1 vnid 30000 lag 2 access-counters
------ The Access Counter Stats ------
InUcastPkts: 0 InUcastBytes: 0
InMcastPkts: 0 InMcastBytes: 0
InBcastPkts: 0 InBcastBytes: 0
OutKnownUcastPkts: 0 OutKnownUcastBytes: 0
OutBumPkts : 0 OutBumBytes : 0
Bum Traffic consists Unknown Ucast, Mcast, Bcast Traffic