clear counters ingress-group

Clears ingress-group counters information.

Syntax

clear counters ingress-group { name | all }

Parameters

name
Specifies the name of the ingress-group counters.
all
Specifies all ingress-group counters names.

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 ig1 ingress-group counters.

device# clear counters ingress-group ig1

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