- Preface
- Product Overview
- Configuring the Router for the First Time
- Configuring a Supervisor Engine 720
- Configuring a Route Switch Processor 720
- Configuring NSF with SSO Supervisor Engine Redundancy
- ISSU and eFSU on Cisco 7600 Series Routers
- Configuring RPR and RPR+ Supervisor Engine Redundancy
- Configuring Interfaces
- Configuring a Supervisor Engine 32
- Configuring LAN Ports for Layer 2 Switching
- Configuring Flex Links
- Configuring EtherChannels
- Configuring VTP
- Configuring VLANs
- Configuring Private VLANs
- Configuring Cisco IP Phone Support
- Configuring IEEE 802.1Q Tunneling
- Configuring Layer 2 Protocol Tunneling
- Configuring L2TPv3
- Configuring STP and MST
- Configuring Optional STP Features
- Configuring Layer 3 Interfaces
- Configuring GTP-SLB IPV6 Support
- IP Subscriber Awareness over Ethernet
- Configuring UDE and UDLR
- Configuring Multiprotocol Label Switching on the PFC
- Configuring IPv4 Multicast VPN Support
- Configuring Multicast VPN Extranet Support
- Configuring IP Unicast Layer 3 Switching
- Configuring IPv6 Multicast PFC3 and DFC3 Layer 3 Switching
- Configuring IPv4 Multicast Layer 3 Switching
- Configuring MLDv2 Snooping for IPv6 Multicast Traffic
- Configuring IGMP Snooping for IPv4 Multicast Traffic
- Configuring PIM Snooping
- Configuring Network Security
- Understanding Cisco IOS ACL Support
- Configuring VRF aware 6RD Tunnels
- Configuring VLAN ACLs
- Private Hosts (Using PACLs)
- Configuring IPv6 PACL
- IPv6 First-Hop Security Features
- Configuring Online Diagnostics
- Configuring Denial of Service Protection
- Configuring DHCP Snooping
- Configuring Dynamic ARP Inspection
- Configuring Traffic Storm Control
- Unknown Unicast Flood Blocking
- Configuring PFC QoS
- Configuring PFC QoS Statistics Data Export
- Configuring MPLS QoS on the PFC
- Configuring LSM MLDP based MVPN Support
- Configuring IEEE 802.1X Port-Based Authentication
- Configuring IEEE 802.1ad
- Configuring Port Security
- Configuring UDLD
- Configuring NetFlow and NDE
- Configuring Local SPAN, RSPAN, and ERSPAN
- Configuring SNMP IfIndex Persistence
- Power Management and Environmental Monitoring
- Configuring Web Cache Services Using WCCP
- Using the Top N Utility
- Using the Layer 2 Traceroute Utility
- Configuring Bidirectional Forwarding and Detection over Switched Virtual Interface
- Configuring Call Home
- Configuring IPv6 Policy Based Routing
- Using the Mini Protocol Analyzer
- Configuring Resilient Ethernet Protocol
- Configuring Synchronous Ethernet
- Configuring Link State Tracking
- Configuring BGP PIC Edge and Core for IP and MPLS
- Configuring VRF aware IPv6 tunnels over IPv4 transport
- ISIS IPv4 Loop Free Alternate Fast Reroute (LFA FRR)
- Multicast Service Reflection
- Y.1731 Performance Monitoring
- Online Diagnostic Tests
- Acronyms
- Cisco IOS Release 15S Software Images
- Index
Using the Top N Utility
This chapter describes how to use the Top N utility on the Cisco 7600 series routers.
Note For complete syntax and usage information for the commands used in this chapter, refer to the Cisco 7600 Series Routers Command References at this URL:
http://www.cisco.com/en/US/products/hw/routers/ps368/prod_command_reference_list.html
Understanding the Top N Utility
These sections describe the Top N utility:
Top N Utility Overview
The Top N utility allows you to collect and analyze data for each physical port on a router. When the Top N utility starts, it obtains statistics from the appropriate hardware counters and then goes into sleep mode for a user-specified interval. When the interval ends, the utility obtains the current statistics from the same hardware counters, compares the current statistics from the earlier statistics, and stores the difference. The statistics for each port are sorted by one of the statistic types that are listed in Table 61-1 .
|
|
|
|---|---|
Note
When calculating the port utilization, the Top N utility bundles the Tx and Rx lines into the same counter and also looks at the full-duplex bandwidth when calculating the percentage of utilization. For example, a Gigabit Ethernet port would be 2000-Mbps full duplex.
Understanding Top N Utility Operation
When you enter the collect top command, processing begins and the system prompt reappears immediately. When processing completes, the reports are not displayed immediately on the screen; the reports are saved for later viewing. The Top N Utility notifies you when the reports are complete by sending a syslog message to the screen.
To view the completed reports, enter the show top counters interface report command. The Top N Utility displays only those reports that are completed. For reports that are not completed, the Top N Utility displays a short description of the Top N process information.
To terminate a Top N process, enter the clear top counters interface report command. Pressing Ctrl-C does not terminate Top N processes. The completed reports remain available for viewing until you remove them by entering the clear top counters interface report { all | report_num } command.
Using the Top N Utility
These sections describe how to use the Top N Utility:
- Enabling Top N Utility Report Creation
- Displaying the Top N Utility Reports
- Clearing Top N Utility Reports
Enabling Top N Utility Report Creation
To enable Top N Utility report creation, perform this task:
|
|
|
|---|---|
Router# collect top [ number_of_ports ] counters interface { interface_type1 | all | layer-2 | layer-3 } [ sort-by statistic_type2 ] [ interval seconds ] |
|
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:
- 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:
Displaying the Top N Utility Reports
To display the Top N Utility reports, perform this task:
|
|
|
|---|---|
Displays the Top N Utility reports. Note To display information about all the reports, do not enter a report_num value. |
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.
This example shows how to display information about all the Top N Utility reports:
Note
Reports for which statistics are still being obtained are shown with a status of pending.
This example shows how to display a specific Top N Utility report:
Clearing Top N Utility Reports
To clear Top N Utility reports, perform one of these tasks:
|
|
|
|---|---|
Clears all the Top N Utility reports that have a status of done. |
|
Clears Top N Utility report number report_num regardless of status. |
This example shows how to remove all reports that have a status of done:
This example shows how to remove a report number 4:
Feedback