Viewing the OSPF interface statistics

Use statistics to help you monitor OSPF performance.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. View the OSPF interface statistics:

    show ip ospf ifstats [detail] [mismatch] [vlan <1-4059>] [vrf WORD<1-16>] [vrfids WORD<0-512>]

Example

View the OSPF interface statistics:

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       428    431    0      0      0      0      0      0      0      0

192.0.2.11      1454   493    14     13     4      5      66     54     58     3

Variable definitions

The following table defines parameters for the show ip ospf ifstats command.

Variable

Value

<1-4059>

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.

detail

Displays the details of the OSPF.

mismatch

Specifies the number of times the area ID is not matched.

vrf WORD<1-16>

Specifies a VRF by name.

vrfids WORD<0-512>

Specifies a range of VRF IDs.