The following example shows display output for the show ip ospf traffic command for OSPFv2:
Router# show ip ospf traffic
OSPF statistics:
Rcvd: 55 total, 0 checksum errors
22 hello, 7 database desc, 2 link state req
6 link state updates, 6 link state acks
Sent: 68 total
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 statistics:
Interface GigabitEthernet0/0/1
OSPF packets received/sent
Type Packets Bytes
RX Invalid 0 0
RX Hello 0 0
RX DB des 0 0
RX LS req 0 0
RX LS upd 0 0
RX LS ack 0 0
RX Total 0 0
TX Failed 0 0
TX Hello 16 1216
TX DB des 0 0
TX LS req 0 0
TX LS upd 0 0
TX LS ack 0 0
TX Total 16 1216
OSPF header errors
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,
Authentication 0,
OSPF LSA errors
Type 0, Length 0, Data 0, Checksum 0,
Summary traffic statistics for process ID 8:
OSPF packets received/sent
Type Packets Bytes
RX Invalid 0 0
RX Hello 0 0
RX DB des 0 0
RX LS req 0 0
RX LS upd 0 0
RX LS ack 0 0
RX Total 0 0
TX Failed 0 0
TX Hello 16 1216
TX DB des 0 0
TX LS req 0 0
TX LS upd 0 0
TX LS ack 0 0
TX Total 16 1216
OSPF header errors
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,
Authentication 0,
OSPF LSA errors
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
Interface statistics:
Interface Serial2/0/0
OSPF packets received/sent
Type Packets Bytes
RX Invalid 0 0
RX Hello 11 528
RX DB des 4 148
RX LS req 1 60
RX LS upd 3 216
RX LS ack 2 128
RX Total 21 1080
TX Failed 0 0
TX Hello 14 1104
TX DB des 3 252
TX LS req 1 56
TX LS upd 3 392
TX LS ack 2 128
TX Total 23 1932
OSPF header errors
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,
Authentication 0,
OSPF LSA errors
Type 0, Length 0, Data 0, Checksum 0,
Interface GigabitEthernet0/0/0
OSPF packets received/sent
Type Packets Bytes
RX Invalid 0 0
RX Hello 13 620
RX DB des 3 116
RX LS req 1 36
RX LS upd 3 228
RX LS ack 4 216
RX Total 24 1216
TX Failed 0 0
TX Hello 17 1344
TX DB des 4 276
TX LS req 1 56
TX LS upd 7 656
TX LS ack 2 128
TX Total 31 2460
OSPF header errors
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,
Authentication 0,
OSPF LSA errors
Type 0, Length 0, Data 0, Checksum 0,
Summary traffic statistics for process ID 1:
OSPF packets received/sent
Type Packets Bytes
RX Invalid 0 0
RX Hello 24 1148
RX DB des 7 264
RX LS req 2 96
RX LS upd 6 444
RX LS ack 6 344
RX Total 45 2296
TX Failed 0 0
TX Hello 31 2448
TX DB des 7 528
TX LS req 2 112
TX LS upd 10 1048
TX LS ack 4 256
TX Total 54 4392
OSPF header errors
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,
Authentication 0,
OSPF LSA errors
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