This command displays OSPFv2 packet and LSA statistics and OSPFv2 message queue statistics for the virtual router. If no router is specified, the information for the default router will be displayed. Packet statistics count packets and LSAs since OSPFv2 counters were last cleared (using the clear ip ospf counters command).
Note: The clear ip ospf counters command does not clear the message queue high water
marks.
Format | show ip ospf traffic [vrf vrf-name] |
Mode | Privileged EXEC |
Parameter | Description |
---|---|
OSPFv2 Packet Statistics | The number of packets of each type sent and received since OSPF counters were last cleared. |
LSAs Retransmitted | The number of LSAs retransmitted by this router since OSPF counters were last cleared. |
LS Update Max Receive Rate | The maximum rate of LS Update packets received during any 5-second interval since OSPF counters were last cleared. The rate is in packets per second. |
LS Update Max Send Rate | The maximum rate of LS Update packets transmitted during any 5-second interval since OSPF counters were last cleared. The rate is in packets per second. |
Number of LSAs Received | The number of LSAs of each type received since OSPF counters were last cleared. |
OSPFv2 Queue Statistics | For each OSPFv2 message queue, the current count, the high water mark, the number of packets that failed to be enqueued, and the queue limit. The high water marks are not cleared when OSPF counters are cleared. |
Example: The following shows example CLI display output for the command.
(Router) #show ip ospf traffic Time Since Counters Cleared: 4000 seconds OSPFv2 Packet Statistics Hello Database Desc LS Request LS Update LS ACK Total Recd: 500 10 20 50 20 600 Sent: 400 8 16 40 16 480 LSAs Retransmitted................0 LS Update Max Receive Rate........20 pps LS Update Max Send Rate...........10 pps Number of LSAs Received T1 (Router).......................10 T2 (Network)......................0 T3 (Net Summary)..................300 T4 (ASBR Summary).................15 T5 (External).....................20 T7 (NSSA External)................0 T9 (Link Opaque)..................0 T10 (Area Opaque).................0 T11 (AS Opaque)...................0 Total.............................345 OSPFv2 Queue Statistics Current Max Drops Limit Hello 0 10 0 500 ACK 2 12 0 1680 Data 24 47 0 500 Event 1 8 0 1000