Use statistics to help you monitor Open Shortest Path First (OSPF) performance.
show ip ospf ifstats
show ip ospf ifstats detail [vrf WORD <1-16>] [vrfids WORD<0-512>]
show ip ospf ifstats mismatch [vrf WORD <1-16>] [vrfids WORD<0-512>]
show ip ospf ifstats vlan <1-4059>
show ip ospf ifstats vrf WORD<1-16>
show ip ospf ifstats vrfids WORD<0-512>
Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.
None
User EXEC
The show ip ospf ifstats command displays the following information:
| 
                         Field  | 
                     
                         Description  | 
                  
|---|---|
| 
                         INTERFACE  | 
                     
                         Indicates the IP address of the host.  | 
                  
| 
                         HELLOS RX  | 
                     
                         Indicates the number of hello packets received by this interface.  | 
                  
| 
                         HELLOS TX  | 
                     
                         Indicates the number of hello packets transmitted by this interface.  | 
                  
| 
                         DBS RX  | 
                     
                         Indicates the number of database descriptor packets received by this interface.  | 
                  
| 
                         DBS TX  | 
                     
                         Indicates the number of database descriptor packets transmitted by this interface.  | 
                  
| 
                         LS REQ RX  | 
                     
                         Indicates the number of link state request packets received by this interface.  | 
                  
| 
                         LS REQ TX  | 
                     
                         Indicates the number of link state request packets transmitted by this interface.  | 
                  
| 
                         LS UDP RX  | 
                     
                         Indicates the number of link state update packets received by this interface.  | 
                  
| 
                         LS UDP TX  | 
                     
                         Indicates the number of link state update packets transmitted by this interface.  | 
                  
| 
                         LS ACK RX  | 
                     
                         Indicates the number of link state acknowledge packets received by this interface.  | 
                  
| 
                         LS ACK TX  | 
                     
                         Indicates the number of link state acknowledge packets transmitted by this interface.  | 
                  
| 
                         VERSION  | 
                     
                         Indicates the OSPF version.  | 
                  
| 
                         AREA  | 
                     
                         Indicates the OSPF area.  | 
                  
| 
                         AUTHTYPE  | 
                     
                         Indicates the OSPF authentication type.  | 
                  
| 
                         AUTHFAIL  | 
                     
                         The count of authentication fail messages.  | 
                  
| 
                         NETMASK  | 
                     
                         Indicates the net mask.  | 
                  
| 
                         HELLO  | 
                     
                         The count of Hello messages.  | 
                  
| 
                         DEADTRR OPTION  | 
                     
                         The dead TRR option.  | 
                  
Switch:1#show ip ospf ifstats
================================================================================
                    OSPF Interface Statistics - GlobalRouter
================================================================================
                ---HELLOS---- ---DBS--- -LS REQ-- --LS UPD--- --LS ACK---
INTERFACE       RX     TX     RX   TX   RX   TX   RX    TX     RX    Tx    
--------------------------------------------------------------------------------
192.0.2.3      76035  76355  33   32   4    9    2483  2551  2525  1247 
192.0.2.8      76038  76349  0    0    0    0    0     0     0     0