clear counters encap

Clears current statistics available on encap.

Syntax

clear counters encap { name | all }

Parameters

name
Specifies the encap counter name.
all
Specifies all encap counters.

Modes

Encap config mode

Usage Guidelines

Valid encap name must be provided.

Examples

The following example clears encap_1 counters.

device(config-encap)# clear counters encap encap_1 

Show running:   
device# show encap counters encap_1 

Tunnel Encapsulation Statistics(GRE) 
    Egress port : ethernet 1/2 
      RX Frames : 0 
       RX Bytes : 0

The following example clears all encap counters.

device# clear counters encap all

The following example shows encap counters.

device# show counters encap encap-1 

Tunnel Encapsulation Statistics(GRE) 
    Egress port : ethernet 10/2 
      RX Frames : 0 
       RX Bytes : 0 
mac access-list L2