Viewing IPv6 OSPF Statistics

View OSPF statistics to analyze trends.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. View statistics:

    show ipv6 ospf statistics [vrf WORD <1-16>] [vrfids WORD <0-512>]

Example

View IPv6 OSPF statistics:

Switch:1>enable
Switch:1#show ipv6 ospf statistics

================================================================================
                      OSPFv3 Statistics - GlobalRouter
================================================================================
          NumTxPkt: 9958
          NumRxPkt: 8982
      NumTxDropPkt: 33
      NumRxDropPkt: 0
       NumRxBadPkt: 0
         NumSpfRun: 42
        LastSpfRun: 0 day(s), 02:44:32
       LsdbTblSize: 45
       NumBadLsReq: 0
    NumSeqMismatch: 0
NumOspfAdjacencies: 7

Job Aid

The following table explains the output of the show ipv6 ospf statistics command.

Field

Description

NumTxPkt

Shows the count of sent packets.

NumRxPkt

Shows the count of received packets.

NumTxDropPkt

Shows the count of sent, dropped packets.

NumRxDropPkt

Shows the count of received, dropped packets.

NumRxBadPkt

Shows the count of received, bad packets.

NumSpfRun

Shows the count of intra-area route table updates with calculations using this area link-state database.

LastSpfRun

Shows the count of the most recent SPF run.

LsdbTblSize

Shows the size of the link-state database table.

NumBadLsReq

Shows the count of bad link requests.

NumSeqMismatch

Shows the count of sequence mismatched packets.

Variable Definitions

Use the data in the following table to use the show ipv6 ospf stats command.

Variable

Value

vrf WORD<1-16>

Specifies the VRF name.

vrfids WORD<0-512>

Specifies VRF IDs.