Clearing VXLAN Statistics

You can clear statistics for an entire VXLAN gateway tunnel or for a particular VXLAN Network Identifier (VNI).
Use any of the following commands, as required, to clear VXLAN statistics. Using these commands is optional and they can be entered in any order. For more information on the full list of commands, refer to the RUCKUS FastIron Command Reference:
  1. 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
    
  2. 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
    
    
  3. 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
    
  4. 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