11-226
Cisco IOS XR Troubleshooting Guide for the Cisco CRS-1 Router
OL-21483-02
Chapter 11 Troubleshooting the Statistics Infrastructure
Diagnosing Problems with Statistics Values
DETAILED STEPS
Displaying Incorrect Data for the show Commands
In general, the statistics infrastructure does not do anything with the data that it is given other than
adding and storing it. Therefore, the problems with the data values are almost always the result of errors
in the collectors.
Perform this task to find out which collectors are returning incorrect data.
SUMMARY STEPS
1. show stats manager info
2. show statsd registrations ifname interface name type stats ID
3. show statsd collectors brief
Command or Action Purpose
Step 1
show interfaces
Example:
RP/0/RP0/CPU0:router# show interfaces
Displays whether the number of packets and bytes
sent and received are correct. If the packets and
bytes are not correct, see “Displaying Incorrect Data
for the show Commands” section on page 11-226. If
the packet and byte rates are correct, the problem
resides with the statistics infrastructure. Go to the
next step to diagnose further.
Step 2
show statsd collectors brief
or
show statsd registrations ifname
interface name
feature
name item name
or
show statsd manager trace
Example:
RP/0/RP0/CPU0:router# show statsd collectors brief
RP/0/RP0/CPU0:router# show statsd registrations
ifname POS 0/1/0/0 feature internal generic
RP/0/RP0/CPU0:router# show statsd registrations
ifname POS 0/1/0/0 feature internal IPV4_UNICAST
RP/0/RP0/CPU0:router# show statsd manager trace
Collects the data for the statistics manager. If the
packet and byte rates are correct, the problem
resides with the statistics infrastructure.
Step 3
debug statsd manager datarate [interface
type
instance
]
Example:
RP/0/RP0/CPU0:router# debug statsd manager datarate
interface POS 0/1/0/0
Enables the debug statsd manager datarate
command to collect the output. Turn this on for a
couple of minutes. You can restrict it to a single
interface to reduce the amount of output.
Step 4
Contact Cisco Technical Support. Send all of the output collected above to Cisco
Technical Support, stating the expected rate.