Chapter 56
Using the Top N Utility
Enabling Top N Utility Report Creation
To enable Top N Utility report creation, perform this task:
Command
Router# collect top [ number_of_ports ] counters
interface { interface_type
[sort-by statistic_type
1. interface_type = ethernet, fastethernet, gigabitethernet, tengigabitethernet, port-channel
2. statistic_type = broadcast, bytes, errors, multicast, overflow, packets, utilization
When enabling Top N Utility report creation, note the following information:
•
•
•
•
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:
Command
Router# show top counters interface report [ report_num ]
Top N Utility statistics are not displayed in these situations:
•
•
•
•
•
OL-4266-08
1
| all | layer-2 | layer-3}
2
] [interval seconds ]
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.
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.
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
Purpose
Enables Top N Utility report creation.
Purpose
Displays the Top N Utility reports.
To display information about all the reports, do not
Note
enter a report_num value.
Using the Top N Utility
56-3