Establishing a Baseline for IPv6 Statistics
IPv6 statistics are stored in system counters. The only way to reset the system counters is to reboot the system. You can, however, establish a baseline for IPv6 statistics by setting a group of reference counters to zero (0).
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 IPv6 show commands to specify that baselined statistics are to be shown.
You can establish a baseline for IPv6 statistics with the following tasks:
- Setting a Baseline for IPv6 Statistics
- Setting a Baseline for IPv6 Interface Statistics
- Setting a Baseline for IPv6 Local Address Pool Statistics
- Setting a Baseline for IPv6 TCP Statistics
Setting a Baseline for IPv6 Statistics
You can set a baseline for IPv6 statistics using the baseline ipv6 command. You can use the udp keyword to set a baseline for UDP statistics.
![]() | Note:
|
To set a baseline for IPv6 statistics:
- Issue the baseline ipv6 command
in Privileged Exec mode.host1#baseline ipv6
Setting a Baseline for IPv6 Interface Statistics
You can set a statistical baseline for a specified IPv6 interface using the baseline ipv6 interface command.
![]() | Note:
|
To set a statistical baseline for a specified IPv6 interface:
- Issue the baseline ipv6 interface command in Privileged Exec mode.host1#baseline ipv6 interface atm 2/0.100
Setting a Baseline for IPv6 Local Address Pool Statistics
To set a baseline for IPv6 local address pool statistics used in DHCP prefix delegation:
- Issue the baseline ipv6 local pool command in Privileged Exec mode.host1#baseline ipv6 local pool
Setting a Baseline for IPv6 TCP Statistics
You can use the baseline tcp command to set a statistics baseline for all (both IPv4 and IPv6) TCP statistics or for only IPv4 or IPv6 statistics.
![]() | Note:
|
To set a statistics baseline for IPv6 TCP statistics:
- Issue the baseline tcp command
with the ipv6 keyword in Privileged Exec
mode.host1#baseline ipv6 tcp
To set a statistics baseline for all TCP statistics:
- Issue the baseline tcp command
in Privileged Exec mode.host1#baseline tcp