# Configuring Statistics Collection for Output Policies on Tunnel Interfaces

To enable collection and preservation of statistics for output policies on tunnel interfaces based on fragments:

- From Global Configuration mode, enable the capability to collect output policy statistics for tunnel interfaces based on the number of fragments.

host1(config)#enable-frag-stats

To enable collection and preservation of statistics for output policies on tunnel interfaces based on packets:

- From Global Configuration mode, enable the capability to collect output policy statistics for tunnel interfaces based on packets. By default, output policy counters are computed based on the number of packets.

host1(config)#no enable-frag-stats

You cannot configure fragment-based collection of output policy statistics for tunnel interfaces that are managed by the SRC client running on the router. The fragment-based statistics collection functionality is preserved across unified ISSU, stateful SRP switchover, and stateful line module switchover operations.

You can use the show enable-frag-stats command to verify whether collection of output policy statistics for traffic on tunnel interfaces is enabled.

#### Related Documentation

- Statistics Collection for Output Policies on Tunnel Interfaces Overview
- Verifying Statistics Collection for Output Policies on Tunnel Interfaces
- enable-frag-stats
- show enable-frag-stats