OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3
First Published: February 27, 2006
Last Updated: May 4, 2009
This document describes new and modified commands that provide enhanced OSPF traffic statistics for OSPFv2 and OSPFv3. The ability to collect and display more detailed traffic statistics increases high availability for the OSPF network by making the troubleshooting process more efficient.
New OSPF traffic statistics are collected and displayed to include the following information:
•OSPF Hello input queue and OSPF process queue status and statistics.
•Global OSPF traffic statistics.
•Per-OSPF-interface traffic statistics.
•Per-OSPF-process traffic statistics.
Finding Feature Information
For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the "Feature Information for OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3" section.
Use Cisco Feature Navigator to find information about platform support and Cisco IOS XE software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•Prerequisites for OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3
•Information About OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3
•How to Display and Clear OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3
•Configuration Examples for OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3
•Additional References
•Feature Information for OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3
Prerequisites for OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3
OSPFv2 or OSPFv3 must be configured on the router.
Information About OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3
The OSPF enhanced traffic statistics are enabled by default and cannot be disabled.
The detailed OSPF traffic statistics are especially beneficial for troubleshooting the following types of OSPF instabilities:
•OSPF process queue status and statistical information can help the network administrator determine if an OSPF process can handle the amount of traffic sent to OSPF.
•OSPF packet header errors and LSA errors statistics keep a record of different errors found in received OSPF packets.
OSPF enhanced traffic control statistics also monitor the amount of traffic control exchanged between OSPF processes—an important consideration in network environments with slow links and frequent topology changes.
How to Display and Clear OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3
This section contains the following tasks:
•Displaying and Clearing OSPF Traffic Statistics for OSPFv2
•Displaying and Clearing OSPF Traffic Statistics for OSPFv3
Displaying and Clearing OSPF Traffic Statistics for OSPFv2
SUMMARY STEPS
1. enable
2. show ip ospf [process-id] traffic [interface-type interface-number]
3. clear ip ospf traffic
DETAILED STEPS
|
|
|
Step 1 |
enable
Router> enable |
Enables privileged EXEC mode. •Enter your password if prompted. |
Step 2 |
show ip ospf [process-id] traffic [interface-type interface-number]
Router# show ip ospf 10 traffic gigabitethernet 0/0/0 |
Displays OSPFv2 traffic statistics. |
Step 3 |
clear ip ospf traffic
Router# clear ip ospf traffic |
Clears OSPFv2 traffic statistics. |
Displaying and Clearing OSPF Traffic Statistics for OSPFv3
SUMMARY STEPS
1. enable
2. show ipv6 ospf [process-id] traffic [interface-type interface-number]
3. clear ipv6 ospf traffic
DETAILED STEPS
|
|
|
Step 1 |
enable
Router> enable |
Enables privileged EXEC mode. •Enter your password if prompted. |
Step 2 |
show ipv6 ospf [process-id] traffic [interface-type interface-number]
Router# show ipv6 ospf traffic |
Displays OSPFv3 traffic statistics. |
Step 3 |
clear ipv6 ospf traffic
Router# clear ipv6 ospf traffic |
Clears OSPFv3 traffic statistics. |
Configuration Examples for OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3
This section contains the following examples:
•Example: Displaying and Clearing Enhanced Traffic Statistics for OSPFv2
•Example: Displaying and Clearing Enhanced Traffic Statistics for OSPFv3
Example: Displaying and Clearing Enhanced Traffic Statistics for OSPFv2
The following example shows display output for the show ip ospf traffic command for OSPFv2:
Router# show ip ospf traffic
Rcvd: 55 total, 0 checksum errors
22 hello, 7 database desc, 2 link state req
6 link state updates, 6 link state acks
45 hello, 7 database desc, 2 link state req
10 link state updates, 4 link state acks
OSPF Router with ID (10.1.1.1) (Process ID 8)
OSPF queues statistic for process ID 8:
OSPF Hello queue size 0, no limit, drops 0, max size 0
OSPF Router queue size 0, limit 200, drops 0, max size 0
Interface GigabitEthernet0/0/1
OSPF packets received/sent
Length 0, Checksum 0, Version 0, Bad Source 0,
No Virtual Link 0, Area Mismatch 0, No Sham Link 0,
Self Originated 0, Duplicate ID 0, Hello 0,
MTU Mismatch 0, Nbr Ignored 0, LLS 0,
Type 0, Length 0, Data 0, Checksum 0,
Summary traffic statistics for process ID 8:
OSPF packets received/sent
Length 0, Checksum 0, Version 0, Bad Source 0,
No Virtual Link 0, Area Mismatch 0, No Sham Link 0,
Self Originated 0, Duplicate ID 0, Hello 0,
MTU Mismatch 0, Nbr Ignored 0, LLS 0,
Type 0, Length 0, Data 0, Checksum 0,
OSPF Router with ID (10.1.1.4) (Process ID 1)
OSPF queues statistic for process ID 1:
OSPF Hello queue size 0, no limit, drops 0, max size 2
OSPF Router queue size 0, limit 200, drops 0, max size 2
OSPF packets received/sent
Length 0, Checksum 0, Version 0, Bad Source 0,
No Virtual Link 0, Area Mismatch 0, No Sham Link 0,
Self Originated 0, Duplicate ID 0, Hello 0,
MTU Mismatch 0, Nbr Ignored 0, LLS 0,
Type 0, Length 0, Data 0, Checksum 0,
Interface GigabitEthernet0/0/0
OSPF packets received/sent
Length 0, Checksum 0, Version 0, Bad Source 13,
No Virtual Link 0, Area Mismatch 0, No Sham Link 0,
Self Originated 0, Duplicate ID 0, Hello 0,
MTU Mismatch 0, Nbr Ignored 0, LLS 0,
Type 0, Length 0, Data 0, Checksum 0,
Summary traffic statistics for process ID 1:
OSPF packets received/sent
Length 0, Checksum 0, Version 0, Bad Source 13,
No Virtual Link 0, Area Mismatch 0, No Sham Link 0,
Self Originated 0, Duplicate ID 0, Hello 0,
MTU Mismatch 0, Nbr Ignored 0, LLS 0,
Type 0, Length 0, Data 0, Checksum 0,
The network administrator can issue the clear ip ospf traffic command to reset all counters and restart all statistics collections:
Router# clear ip ospf traffic
Example: Displaying and Clearing Enhanced Traffic Statistics for OSPFv3
The following example shows display output for the show ipv6 ospf traffic command for OSPFv3:
Router# show ipv6 ospf traffic
Rcvd: 32 total, 0 checksum errors
10 hello, 7 database desc, 2 link state req
9 link state updates, 4 link state acks
17 hello, 12 database desc, 2 link state req
8 link state updates, 6 link state acks
OSPFv3 Router with ID (10.1.1.4) (Process ID 6)
OSPFv3 queues statistic for process ID 6
Hello queue size 0, no limit, max size 2
Router queue size 0, limit 200, drops 0, max size 2
OSPFv3 packets received/sent
Length 0, Checksum 0, Version 0, No Virtual Link 0,
Area Mismatch 0, Self Originated 0, Duplicate ID 0,
Instance ID 0, Hello 0, MTU Mismatch 0,
Nbr Ignored 0, Authentication 0,
Type 0, Length 0, Data 0, Checksum 0,
Interface GigabitEthernet0/0/0
OSPFv3 packets received/sent
Length 0, Checksum 0, Version 0, No Virtual Link 0,
Area Mismatch 0, Self Originated 0, Duplicate ID 0,
Instance ID 0, Hello 0, MTU Mismatch 0,
Nbr Ignored 0, Authentication 0,
Type 0, Length 0, Data 0, Checksum 0,
Summary traffic statistics for process ID 6:
OSPFv3 packets received/sent
Length 0, Checksum 0, Version 0, No Virtual Link 0,
Area Mismatch 0, Self Originated 0, Duplicate ID 0,
Instance ID 0, Hello 0, MTU Mismatch 0,
Nbr Ignored 0, Authentication 0,
Type 0, Length 0, Data 0, Checksum 0,
The network administrator can issue the clear ipv6 ospf traffic command to reset all counters and restart all statistics collections:
Router# clear ipv6 ospf traffic
Additional References
The following sections provide references related to the OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3 feature.
Related Documents
Standards
|
|
No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature. |
— |
MIBs
|
|
No new or modified MIBs are supported by this feature, and support for existing MIBs has not been modified by this feature. |
To locate and download MIBs for selected platforms, Cisco IOS XE releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs |
RFCs
|
|
No new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature. |
— |
Technical Assistance
|
|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |
http://www.cisco.com/cisco/web/support/index.html |
Feature Information for OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3
Table 1 lists the release history for this feature.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS XE software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Note Table 1 lists only the Cisco IOS XE software release that introduced support for a given feature in a given Cisco IOS XE software release train. Unless noted otherwise, subsequent releases of that Cisco IOS XE software release train also support that feature.
Table 1 Feature Information for OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3
|
|
|
OSPF Enhanced Traffic Statistics for OSPFv2 and OSPFv3 |
Cisco IOS XE Release 2.1 |
This document describes the detailed OSPF traffic statistics that are provided when the user enters the new and modified show commands for OSPFv2 and OSPFv3. The following commands are introduced or modified in the feature documented in this module: •clear ipv6 ospf traffic •show ip ospf traffic •show ipv6 ospf traffic |
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1005R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.
© 2011 Cisco Systems, Inc. All rights reserved.