Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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:

    • Issue the baseline ip interface command in Privileged Exec mode.
      host1#baseline ip interface pos 2/0

    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:

    • Issue the baseline ip command in Privileged Exec mode.
      host1#baseline ip

    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:

    • Issue the baseline ip udp command in Privileged Exec mode.
      host1#baseline ip udp

    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:

    • Issue the baseline tcp command with the ip keyword in Privileged Exec mode.
      host1#baseline ip tcp

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

    • Issue the baseline tcp command in Privileged Exec mode.
      host1#baseline tcp

    Published: 2014-08-13