clear counters ingress-group

Clears all or specified counters for all ingress-groups.

Syntax

clear counters ingress-group { name | all }

Parameters

name
Specifies the name of the ingress-group counter. Supports 1-64 characters.
all
Specifies all ingress-group counters.

Modes

Exec mode

Usage Guidelines

If the ingress group has only the associated ports, the clear ingress-group counters command does not clear statistics as it fetches the interface statistics. Interface clear clears the statistics for the ingress group as well.

Examples

The following example clears ingress-group counters.

device# clear counters ingress-group ig1

device# clear counters ingress-group all

The following example displays all ingress-group counters information.

# show counters ingress-group all 
Number of ingress-groups: 2 
Ingress-group Packet Statistics (Vxlan Tunnel) 
        Name : IgVxlanVni100 
   RX Frames : 0 
    RX Bytes : 0 

The following example clears counters on all ingress groups and verifies it with the show command.

device# clear counters ingress-group all

device# show counters ingress-group all
Number of ingress-groups: 2
        Name : ig_01     
No ingress-group stats found

        Name : ig_02     
No ingress-group stats found