Establishing a Baseline for IP Statistics

IP statistics are stored in system counters. The only way to reset the system counters is to reboot the router. You can, however, establish a baseline for IP statistics by setting a group of reference counters to zero.

The router implements the baseline by reading and storing the statistics at the time the baseline is set and then subtracting this baseline whenever baseline-relative statistics are retrieved.

You can use the delta keyword with IP show commands to specify that baselined statistics are to be shown.

Note: Baselining is not supported for IP socket statistics.

You can establish a baseline for IP statistics with the following tasks:

Setting a Baseline for IP Interface Statistics

You can set a baseline for statistics on an IP interface using the baseline ip interface command.

To set a baseline for a specified IP interface:

Setting a Baseline for IP Statistics

You can set a statistics baseline for IP statistics using the baseline ip command.

To set a statistics baseline for IP statistics:

Setting a Baseline for IP UDP Statistics

You can set a statistics baseline for UDP statistics using the baseline ip udp command.

To set a statistics baseline for UDP statistics:

Setting a Baseline for IP TCP Statistics

You can set a statistics baseline for all (both IPv4 and IPv6) TCP statistics or for only IPv4 or IPv6 statistics using the baseline tcp command.

To set a statistics baseline for only IPv4 statistics:

To set a statistics baseline for all (both IPv4 and IPv6) TCP statistics:

Related Documentation