56-3
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 56 Using the Top N Utility
Using the Top N Utility
Enabling Top N Utility Report Creation
To enable Top N Utility report creation, perform this task:
When enabling Top N Utility report creation, note the following information:
• You can specify the number of busiest ports for which to create reports (the default is 20).
• You can specify the statistic type by which ports are determined to be the busiest (the default
is utilization).
• You can specify the interval over which statistics are collected (range: 0 through 999; the default
is 30 seconds).
• Except for a utilization report (configured with the sort-by utilization keywords), you can specify
an interval of zero to create a report that displays the current counter values instead of a report that
displays the difference between the start-of-interval counter values and the end-of-interval counter
values.
This example shows how to enable Top N Utility report creation for an interval of 76 seconds for the four
ports with the highest utilization:
Router# collect top 4 counters interface all sort-by utilization interval 76
TopN collection started.
Displaying the Top N Utility Reports
To display the Top N Utility reports, perform this task:
Top N Utility statistics are not displayed in these situations:
• If a port is not present during the first poll.
• If a port is not present during the second poll.
• If a port’s speed or duplex changes during the polling interval.
• If a port’s type changes from Layer 2 to Layer 3 during the polling interval.
• If a port’s type changes from Layer 3 to Layer 2 during the polling interval.
Command Purpose
Router# collect top [
number_of_ports
] counters
interface {
interface_type
1
| all | layer-2 | layer-3}
[sort-by
statistic_type
2
] [interval
seconds
]
1. interface_type = ethernet, fastethernet, gigabitethernet, tengigabitethernet, port-channel
2. statistic_type = broadcast, bytes, errors, multicast, overflow, packets, utilization
Enables Top N Utility report creation.
Command Purpose
Router# show top counters interface report [
report_num
]
Displays the Top N Utility reports.
Note To display information about all the reports, do not
enter a report_num value.