debug ip ospf
debug ip ospf
[
ip-address
|
adj
|
error
|
events
|
flood
|
graceful-restart
|
log-empty-lsa
|
ls-id
|
lsa-generation
|
max-metric
|
packet
|
retransmission
|
route
ip-address
]no debug ip ospf
[
ip-address
|
adj
|
error
|
events
|
flood
|
graceful-restart
|
log-debug-message
|
log-empty-lsa
|
ls-id
|
lsa-generation
|
max-metric
|
packet
|
retransmission
|
route
ip-address
]- adj
- Specifies information about OSPF adjacencies and authentication, including designated router (DR) and backup designated router (BDR) elections, sent and received hello packets, neighbor state transitions, and database description information.
- events
- Specifies information about internal OSPF events related to configuration or interaction with the standby management processor and interface state transitions.
- graceful-restart
- Specifies information about OSPF graceful restart events, including restart phases, graceful Link-State Advertisement (LSA) transmit and receive activity, and syslog messages.
Privileged EXEC mode
The no form of the command
disables OSPF debugging information from being displayed.
The following example displays OSPF debugging information.
device# debug ip ospf 10.1.1.2 OSPF: debug ospf neighbor 10.1.1.2 device(config)# OSPF: rcvd hello from 10.1.1.2 area 0 on interface 10.1.1.1, state DR, DR 10.1.1.1, BDR 10.1.1.2 OSPF: Neighbor 10.1.1.2, int v115, state FULL processing event HELLO_RECEIVED OSPF: rcvd hello from 10.1.1.2 area 0 on interface 10.1.1.1, state DR, DR 10.1.1.1, BDR 10.1.1.2 OSPF: Neighbor 10.1.1.2, int v115, state FULL processing event HELLO_RECEIVED OSPF: rcvd hello from 10.1.1.2 area 0 on interface 10.1.1.1, state DR, DR 10.1.1.1, BDR 10.1.1.2 OSPF: Neighbor 10.1.1.2, int v115, state FULL processing event HELLO_RECEIVED
The following example displays information about OSPF adjacencies and authentication.
device# debug ip ospf adj OSPF: adjacency events debugging is on device# debug ip ospf adj OSPF: send hello on area 0 interface 10.1.1.1 OSPF: rcvd hello from 10.1.1.2 area 0 on interface 10.1.1.1, state DR, DR 10.1.1.1, BDR 10.1.1.2 OSPF: Neighbor 10.1.1.2, int v115, state FULL processing event HELLO_RECEIVED OSPF: send hello on area 0 interface 10.1.1.1 OSPF: rcvd hello from 10.1.1.2 area 0 on interface 10.1.1.1, state DR, DR 10.1.1.1, BDR 10.1.1.2 OSPF: Neighbor 10.1.1.2, int v115, state FULL processing event HELLO_RECEIVED OSPF: send hello on area 0 interface 10.1.1.1 OSPF: rcvd hello from 10.1.1.2 area 0 on interface 10.1.1.1, state DR, DR 10.1.1.1, BDR 10.1.1.2 OSPF: Neighbor 10.1.1.2, int v115, state FULL processing event HELLO_RECEIVED
The following example displays information for receipt of OSPF packets with errors, or mismatches between hello packet options
device# debug ip ospf error OSPF: errors debugging is on device(config)# Debug: Jan 1 03:37:11 OSPF: invalid header or unable to find neighbor, drop Debug: Jan 1 03:37:11 OSPF: recv from:10.9.9.2 Intf:ve 9 Hello L:48 A:1 Rid:10.2.2.2 DR:10.9.9.2 BDR:0.0.0.0 Debug: Jan 1 03:37:23 OSPF: invalid header or unable to find neighbor, drop Debug: Jan 1 03:37:23 OSPF: recv from:10.9.9.2 Intf:ve 9 Hello L:48 A:1 Rid:10.2.2.2 DR:10.9.9.2 BDR:0.0.0.0 Debug: Jan 1 03:37:34 OSPF: invalid header or unable to find neighbor, drop Debug: Jan 1 03:37:34 OSPF: recv from:10.9.9.2 Intf:ve 9 Hello L:48 A:1 Rid:10.2.2.2 DR:10.9.9.2 BDR:0.0.0.0
The following example displays information about internal OSPF events.
device# debug ip ospf event OSPF: events debugging is on device(config)# OSPF: Interface ve 18 (10.1.18.1) state Waiting processing event Wait Timer OSPF: DR/BDR election for 10.1.18.1 on ve 18 OSPF: Neighbor 10.213.213.213 int v18, state 2_WAY processing event ADJACENCY_OK OSPF: send DBD to 10.213.213.213 on ve 18 flag 0x7 seq 0x18a3b9 len 32 OSPF: elect BDR(backup designated router): Router ID 10.213.213.213 IP interface 10.1.18.2 OSPF: elect DR(designated router): Router ID 10.10.10.77, IP interface 10.1.18.1 OSPF: Neighbor 10.116.116.1 int 2/1/21, state FULL processing event HELLO_RECEIVED OSPF: Neighbor 10.116.116.1 int v511, state FULL processing event HELLO_RECEIVED OSPF: Neighbor 10.116.116.1 int v911, state FULL processing event HELLO_RECEIVED OSPF: Neighbor 41.41.41.41 int v35, state FULL processing event HELLO_RECEIVED OSPF: Neighbor 10.213.213.213 int 2/1/14, state 2_WAY processing event HELLO_RECEIVED OSPF: Neighbor 10.116.116.1 int v511, state FULL processing event HELLO_RECEIVED OSPF: send DBD to 10.213.213.213 on ve 18 flag 0x7 seq 0x18a3b9 len 32 OSPF: Neighbor 49.2.3.4 int v34, state FULL processing event HELLO_RECEIVED OSPF: Neighbor 10.213.213.213 int v18, state EXCHANGE_START processing event HELLO_RECEIVED OSPF: Neighbor 10.213.213.213 int 4/1/12, state FULL processing event HELLO_RECEIVED OSPF: Interface ethernet 4/1/12 (10.1.51.2) state Down processing event Interface Up virtual interface 10.1.51.2 up, state changed to Other from Point To Point no deOSPF: Neighbor 10.213.213.213 int 4/1/12, state DOWN processing event HELLO_RECEIVED OSPF: Neighbor 10.213.213.213 int 4/1/12, state INITIALIZING processing event ONE_WAY bug ip OSPF: Neighbor 10.213.213.213 int 4/1/12, state INITIALIZING processing event HELLO_RECEIVED
The following example displays information about LSA flooding activity.
device# debug ip ospf flood OSPF: flooding debugging is on OSPF: flood LSA Type:1 AdvRtr:10.2.1.1 Age:0 LsId:10.2.1.1 OSPF: flood advertisement 10.2.1.1 throughout a specific area = 0 OSPF: flood LSA Type:1 AdvRtr:10.2.1.1 Age:0 LsId:10.2.1.1 OSPF: flood advertisement 10.2.1.1 throughout a specific area = 0 OSPF: flooding type 1 advertisement out interface 10.1.1.1 OSPF: attempting to flood rcvd LSA area = 0 interface type = 1 OSPF: flood LSA Type:1 AdvRtr:10.3.1.1 Age:1 LsId:10.3.1.1 OSPF: flood advertisement 10.3.1.1 throughout a specific area = 0 OSPF: attempting to flood rcvd LSA area = 0 interface type = 1 OSPF: flood LSA Type:2 AdvRtr:10.3.1.1 Age:3600 LsId:10.1.1.2 OSPF: flood advertisement 10.1.1.2 throughout a specific area = 0 OSPF: flood LSA Type:1 AdvRtr:10.2.1.1 Age:0 LsId:10.2.1.1 OSPF: flood advertisement 10.2.1.1 throughout a specific area = 0 OSPF: flooding type 1 advertisement out interface 10.1.1.1 OSPF: attempting to flood rcvd LSA area = 0 interface type = 1 OSPF: flood LSA Type:1 AdvRtr:10.3.1.1 Age:1 LsId:10.3.1.1 OSPF: flood advertisement 10.3.1.1 throughout a specific area = 0 OSPF: attempting to flood rcvd LSA area = 0 interface type = 1 OSPF: flood LSA Type:2 AdvRtr:10.3.1.1 Age:1 LsId:10.1.1.2 OSPF: flood advertisement 10.1.1.2 throughout a specific area = 0
The following example displays information about OSPF graceful restart events.
device# debug ip ospf graceful-restart OSPF: graceful-restart debugging is on device# LSA flush rcvd Type:4 AdvRtr:83.83.10.11 LsId:10.213.213.213 LSA flush rcvd Type:4 AdvRtr:83.83.10.11 LsId:10.213.213.213 LSA flush rcvd Type:4 AdvRtr:10.116.116.1 LsId:10.205.205.205 LSA flush rcvd Type:4 AdvRtr:10.116.116.1 LsId:10.205.205.205 rcv GRACE LSA from 10.1.14.1, age 0, Adv 10.213.213.213 install new GraceLSA, int 269, neighbor 10.1.14.1, age 0 rcv Grace_LSA from 10.1.14.1, area 0.0.0.10 Recvd grace lsa id=50331648 state=8 0x2dd5d5d5 0x2dd5d5d5 age=0 gr-state=0 neighbor 10.1.14.1 entering graceful restart state, timer 120, lsa age 0, max 120, helping 0 flood grace LSA, AdvRtr:10.213.213.213, Age:0 rcv GRACE LSA from 10.1.51.1, age 0, Adv 10.213.213.213 install new GraceLSA, int 779, neighbor 10.1.51.1, age 0 rcv Grace_LSA from 10.1.51.1, area 0.0.0.10 Recvd grace lsa id=50331648 state=8 0x2dd5d5d5 0x2dd5d5d5 age=0 gr-state=0 neighbor 10.1.51.1 entering graceful restart state, timer 120, lsa age 0, max 120, helping 0 flood grace LSA, AdvRtr:10.213.213.213, Age:0 rcv GRACE LSA from 10.1.18.2, age 0, Adv 10.213.213.213 install new GraceLSA, int 2050, neighbor 10.1.18.2, age 0 rcv Grace_LSA from 10.1.18.2, area 0.0.0.10 Recvd grace lsa id=50331648 state=8 0x2dd5d5d5 0x2dd5d5d5 age=0 gr-state=0 neighbor 10.1.18.2 entering graceful restart state, timer 120, lsa age 0, max 120, helping 0 flood grace LSA, AdvRtr:10.213.213.213, Age:0 rcv GRACE LSA from 10.1.14.1, age 0, Adv 10.213.213.213 Update same instance GRACE LSA age to 0 in database, refresh neighbor 10.1.14.1 restart timer to 120 rcv GRACE LSA from 10.1.51.1, age 0, Adv 10.213.213.213 Update same instance GRACE LSA age to 0 in database, refresh neighbor 10.1.51.1 restart timer to 120 rcv GRACE LSA from 10.1.18.2, age 0, Adv 10.213.213.213 Update same instance GRACE LSA age to 0 in database, refresh neighbor 10.1.18.2 restart timer to 120 rcv GRACE LSA from 10.1.14.1, age 0, Adv 10.213.213.213 Update same instance GRACE LSA age to 0 in database, refresh neighbor 10.1.14.1 restart timer to 120 rcv GRACE LSA from 10.1.51.1, age 0, Adv 10.213.213.213 Update same instance GRACE LSA age to 0 in database, refresh neighbor 10.1.51.1 restart timer to 120 rcv GRACE LSA from 10.1.18.2, age 0, Adv 10.213.213.213 Update same instance GRACE LSA age to 0 in database, refresh neighbor 10.1.18.2 restart timer to 120 device# no debug ip ospf graceful-restart OSPF: graceful-restart debugging is off
The following example displays information about empty LSAs.
device# debug ip ospf log-empty-lsa device(config)# debug ip ospf log-empty-lsa OSPF: empty-LSA logging debugging is on device(config)# debug ip ospf flOSPF: originate router LSA, area 0 OSPF: No difference found, restart 0 OSPF: send ls request to neighbor 10.1.1.2, retran 0 OSPF: sending ls request last size 36, count 1 OSPF: LSA rcvd Type:1 AdvRtr:10.2.1.1 Age:297 LsId:10.2.1.1 Seq-Num 8000000e from Neighbor 10.1.1.2 OSPF: Received self originated LSA type 1 with id = 10.2.1.1 Seq-Num 8000000e OSPF: install a new lsa, type 1, ls_id 10.2.1.1, age 0, seq 8000000f area-id 0 OSPF: NSR Sync ACK received for LSA OSPF: ls_header.id 10.2.1.1 type 1 ToBesyncedState 2 OSPF: NSR : Sync node add, type 1, ls_id 10.2.1.1, age 0, seq 8000000f OSPF: send_ls_update to interface 10.1.1.1 (224.0.0.6) tb 962478204, retran 0 OSPF: tx LSA Type:1 AdvRtr:10.2.1.1 Age:1 LsId:10.2.1.1 OSPF: originate router LSA, area 0 OSPF: originate_router_links_advertisement gen new instance set 10.2.1.1 (not sent - wait for MinLSInterval) OSPF: LSA rcvd Type:1 AdvRtr:10.3.1.1 Age:1 LsId:10.3.1.1 Seq-Num 8000000f from Neighbor 10.1.1.2 OSPF: install a new lsa, type 1, ls_id 10.3.1.1, age 1, seq 8000000f area-id 0 OSPF: NSR Sync ACK received for LSA OSPF: ls_header.id 10.3.1.1 type 1 ToBesyncedState 2 OSPF: NSR : Sync node add, type 1, ls_id 10.3.1.1, age 1, seq 8000000f OSPF: LSA rcvd Type:2 AdvRtr:10.3.1.1 Age:3600 LsId:115.1.1.2 Seq-Num 80000005 from Neighbor 10.1.1.2 OSPF: install a new lsa, type 2, ls_id 10.1.1.2, age 3600, seq 80000005 area-id 0 OSPF: NSR Sync ACK received for LSA OSPF: ls_header.id 105.1.1.2 type 2 ToBesyncedState 2 OSPF: NSR : Sync node add, type 2, ls_id 10.1.1.2, age 3600, seq 80000005 OSPF: trying age out LSA, id 10.1.1.2, len 32, type 2, from 10.3.1.1, age 3600 genNewLsa 0 area 0 OSPF: age out and remove lsa data base 10.1.1.2 OSPF: OSPF TIMER: Minlsa: sptr_database_entry generate_new_instance == TRUE for 1.2.1.1 OSPF: originate_delayed LSA, type 1, parm1: 0x0 OSPF: originate router LSA, area 0 OSPF: difference found, restart 0 OSPF: install a new lsa, type 1, ls_id 10.2.1.1, age 0, seq 80000010 area-id 0 OSPF: NSR Sync ACK received for LSA OSPF: ls_header.id 10.2.1.1 type 1 ToBesyncedState 2 OSPF: NSR : Sync node add, type 1, ls_id 10.2.1.1, age 0, seq 80000010 OSPF: OSPF: rcv LSA ack from 10.1.1.2, type 1, id 1.2.1.1, seq 0x8000000f, adv 10.2.1.1, age 1 OSPF: send_ls_update to interface 10.1.1.1 (224.0.0.6) tb 1017253324, retran 0 OSPF: tx LSA Type:1 AdvRtr:10.2.1.1 Age:1 LsId:10.2.1.1 OSPF: LSA rcvd Type:1 AdvRtr:10.3.1.1 Age:1 LsId:10.3.1.1 Seq-Num 80000010 from Neighbor 10.1.1.2 OSPF: install a new lsa, type 1, ls_id 10.3.1.1, age 1, seq 80000010 area-id 0 OSPF: NSR Sync ACK received for LSA OSPF: ls_header.id 10.3.1.1 type 1 ToBesyncedState 2 OSPF: NSR : Sync node add, type 1, ls_id 10.3.1.1, age 1, seq 80000010 OSPF: LSA rcvd Type:2 AdvRtr:10.3.1.1 Age:1 LsId:10.1.1.2 Seq-Num 80000006 from Neighbor 10.1.1.2 OSPF: install a new lsa, type 2, ls_id 10.1.1.2, age 1, seq 80000006 area-id 0 OSPF: NSR Sync ACK received for LSA OSPF: ls_header.id 10.1.1.2 type 2 ToBesyncedState 2 OSPF: NSR : Sync node add, type 2, ls_id 10.1.1.2, age 1, seq 80000006 OSPF: OSPF: rcv LSA ack from 10.1.1.2, type 1, id 10.2.1.1, seq 0x80000010, adv 10.2.1.1, age 1 OSPF: originate router LSA, area 0 OSPF: No difference found, restart 0
The following example displays information about OSPF LSA IDs.
device# debug ip ospf lsa-id Debug message destination: Console IP Routing: OSPF: flooding debugging is on OSPF: lsa generation debugging is on OSPF: ls-id 10.2.2.2 debugging is on device(config-ospf-router)# Debug: Jan 1 04:12:50 OSPF: LSA rcvd Type:1 AdvRtr:10.2.2.2 Age:1 LsId:10.2.2.2 Seq-Num 8000000e from Neighbor 10.9.9.2 Debug: Jan 1 04:12:50 OSPF: install a new lsa, type 1, ls_id 10.2.2.2, age 1, seq 8000000e area-id 0 Debug: Jan 1 04:12:50 OSPF: NSR Sync ACK received for LSA Debug: Jan 1 04:12:50 OSPF: ls_header.id 10.2.2.2 type 1 ToBesyncedState 2 Debug: Jan 1 04:12:50 OSPF: NSR : Sync node add, type 1, ls_id 10.2.2.2, age 1, seq 8000000e Debug: Jan 1 04:12:50 OSPF: attempting to flood rcvd LSA area = 0 interface type = 1 Debug: Jan 1 04:12:50 OSPF: flood LSA Type:1 AdvRtr:10.2.2.2 Age:1 LsId:10.2.2.2 Debug: Jan 1 04:12:50 OSPF: flood advertisement 10.2.2.2 throughout a specific area = 0 Debug: Jan 1 04:12:51 OSPF: LSA rcvd Type:1 AdvRtr:10.2.2.2 Age:1 LsId:10.2.2.2 Seq-Num 8000000f from Neighbor 10.9.9.2 Debug: Jan 1 04:12:51 OSPF: install a new lsa, type 1, ls_id 10.2.2.2, age 1, seq 8000000f area-id 0 Debug: Jan 1 04:12:51 OSPF: NSR Sync ACK received for LSA Debug: Jan 1 04:12:51 OSPF: ls_header.id 10.2.2.2 type 1 ToBesyncedState 2 Debug: Jan 1 04:12:51 OSPF: NSR : Sync node add, type 1, ls_id 10.2.2.2, age 1, seq 8000000f Debug: Jan 1 04:12:51 OSPF: attempting to flood rcvd LSA area = 0 interface type = 1 Debug: Jan 1 04:12:51 OSPF: flood LSA Type:1 AdvRtr:10.2.2.2 Age:1 LsId:10.2.2.2 Debug: Jan 1 04:12:51 OSPF: flood advertisement 10.2.2.2 throughout a specific area = 0
The following example displays information about LSAs.
device# debug ip ospf lsa-generation OSPF: lsa generation debugging is on device(config-if-e1000-1/1/15)#OSPF: originate router LSA, area 0 OSPF: trying age out LSA, id 10.2.1.1, len 36, type 1, from 10.2.1.1, age 3600 genNewLsa 0 area 0 OSPF: age out and remove lsa data base 10.2.1.1
The following example displays information about max-metric configurations.
device# debug ip ospf max-metric OSPF: max-metric debugging is on device(config-ospf-router)# max-metric router-lsa all-lsas Debug: Jan 1 04:20:05 OSPF: Max-metric advertisement started due to configuration change for vrf 0
The following example displays information about OSPF packets.
debug ip ospf packet device# OSPF: recv from:10.1.14.1 to 224.0.0.5 Intf:e 2/1/14 LS-Ack L:104 Auth:0 ID:10.213.213.213 OSPF: recv from:10.1.18.2 to 224.0.0.5 Intf:ve 18 LS-Ack L:104 Auth:0 ID:10.213.213.213 OSPF: send to:224.0.0.5 Intf:ve 36 Hello L:44 Auth:0 ID:10.10.10.77 DR:10.36.2.1 BDR:0.0.0.0 OSPF: send to:224.0.0.5 Intf:ve 36 Hello L:44 Auth:0 ID:10.10.10.77 DR:10.36.100.1 BDR:0.0.0.0 OSPF: send to:224.0.0.5 Intf:ve 511 Hello L:48 Auth:0 ID:10.10.10.77 DR:10.1.251.7 BDR:10.1.251.6 OSPF: send to:224.0.0.5 Intf:e 2/1/14 Hello L:48 Auth:0 ID:10.10.10.77 DR:10.1.14.2 BDR:10.1.14.1 OSPF: send to:224.0.0.5 Intf:e 2/1/21 LS-Ack L:104 Auth:0 ID:10.10.10.77 OSPF: send to:224.0.0.5 Intf:e 2/1/21 Hello L:48 Auth:0 ID:10.10.10.77 DR:0.0.0.0 BDR:0.0.0.0 OSPF: send to:224.0.0.5 Intf:ve 35 Hello L:48 Auth:0 ID:10.10.10.77 DR:10.1.35.16 BDR:10.1.35.15 OSPF: send to:10.1.251.6 Intf:ve 511 Hello L:48 Auth:0 ID:10.10.10.77 DR:0.0.0.0 BDR:0.0.0.0 OSPF: send to:10.1.18.2 Intf:e 4/1/12 Hello L:48 Auth:0 ID:10.10.10.77 DR:0.0.0.0 BDR:0.0.0.0 OSPF: recv from:10.1.35.15 to 224.0.0.5 Intf:ve 35 LS-Ack L:104 Auth:0 ID:41.41.41.41 OSPF: recv from:10.1.251.18 to 10.1.251.17 Intf:e 2/1/21 Hello L:48 Auth:0 ID:10.116.116.1 DR:0.0.0.0 BDR:0.0.0.0 OSPF: recv from:10.1.34.10 to 224.0.0.5 Intf:ve 34 LS-Ack L:104 Auth:0 ID:49.2.3.4 OSPF: recv from:10.1.34.10 to 224.0.0.5 Intf:ve 34 Hello L:48 Auth:0 ID:49.2.3.4 DR:10.1.34.16 BDR:10.1.34.10 OSPF: recv from:10.1.251.18 to 224.0.0.5 Intf:e 2/1/21 LS-Upd L:136 Auth:0 ID:10.116.116.1 Cnt:3 OSPF: send to:224.0.0.5 Intf:ve 18 LS-Upd L:136 Auth:0 ID:10.10.10.77 Cnt:3 OSPF: send to:224.0.0.5 Intf:e 2/1/14 LS-Upd L:136 Auth:0 ID:10.10.10.77 Cnt:3 OSPF: send to:224.0.0.5 Intf:e 4/1/12 LS-Upd L:136 Auth:0 ID:10.10.10.77 Cnt:3 OSPF: send to:224.0.0.5 Intf:ve 34 LS-Upd L:136 Auth:0 ID:10.10.10.77 Cnt:3 OSPF: send to:224.0.0.5 Intf:ve 35 LS-Upd L:136 Auth:0 ID:10.10.10.77 Cnt:3 OSPF: recv from:10.1.251.6 to 224.0.0.5 Intf:ve 511 LS-Upd L:136 Auth:0 ID:10.116.116.1 Cnt:3 OSPF: send to:10.1.251.6 Intf:ve 511 LS-Ack L:84 Auth:0 ID:10.10.10.77 OSPF: recv from:10.1.91.18 to 224.0.0.5 Intf:ve 911 LS-Upd L:136 Auth:0 ID:10.116.116.1 Cnt:3 OSPF: send to:10.1.91.18 Intf:ve 911 LS-Ack L:84 Auth:0 ID:10.10.10.77 OSPF: recv from:10.1.14.1 to 224.0.0.5 Intf:e 2/1/14 LS-Upd L:136 Auth:0 ID:10.213.213.213 Cnt:3 OSPF: recv from:10.1.51.1 to 224.0.0.5 Intf:e 4/1/12 LS-Upd L:136 Auth:0 ID:10.213.213.213 Cnt:3 OSPF: recv from:10.1.18.2 to 224.0.0.5 Intf:ve 18 LS-Upd L:136 Auth:0 ID:10.213.213.213 Cnt:3 OSPF: recv from:10.1.14.1 to 224.0.0.5 Intf:e 2/1/14 LS-Ack L:84 Auth:0 ID:10.213.213.213 OSPF: recv from:10.1.18.2 to 224.0.0.5 Intf:ve 18 LS-Ack L:84 Auth:0 ID:10.213.213.213 OSPF: send to:224.0.0.5 Intf:ve 911 Hello L:48 Auth:0 ID:10.10.10.77 DR:10.1.91.16 BDR:10.1.91.18 OSPF: send to:224.0.0.5 Intf:loopback 1 Hello L:44 Auth:0 ID:10.10.10.77 DR:10.10.10.77 BDR:0.0.0.0 OSPF: send to:224.0.0.5 Intf:loopback 2 Hello L:44 Auth:0 ID:10.10.10.77 DR:10.10.62.10 BDR:0.0.0.0 OSPF: send to:224.0.0.5 Intf:loopback 3 Hello L:44 Auth:0 ID:10.10.10.77 DR:10.10.63.10 BDR:0.0.0.0 OSPF: send to:224.0.0.5 Intf:loopback 4 Hello L:44 Auth:0 ID:10.10.10.77 DR:10.10.64.10 BDR:0.0.0.0 OSPF: send to:224.0.0.5 Intf:e 2/1/21 LS-Ack L:84 Auth:0 ID:10.10.10.77 OSPF: recv from:10.1.35.15 to 224.0.0.5 Intf:ve 35 LS-Ack L:84 Auth:0 ID:41.41.41.41 OSPF: recv from:10.1.34.10 to 224.0.0.5 Intf:ve 34 LS-Ack L:84 Auth:0 ID:49.2.3.4 OSPF: recv from:10.1.251.18 to 224.0.0.5 Intf:e 2/1/21 LS-Upd L:100 Auth:0 ID:10.116.116.1 Cnt:2 OSPF: send to:224.0.0.5 Intf:ve 18 LS-Upd L:100 Auth:0 ID:10.10.10.77 Cnt:2 OSPF: send to:224.0.0.5 Intf:e 2/1/14 LS-Upd L:100 Auth:0 ID:10.10.10.77 Cnt:2 OSPF: send to:224.0.0.5 Intf:e 4/1/12 LS-Upd L:100 Auth:0 ID:10.10.10.77 Cnt:2 OSPF: send to:224.0.0.5 Intf:ve 34 LS-Upd L:100 Auth:0 ID:10.10.10.77 Cnt:2 OSPF: send to:224.0.0.5 Intf:ve 35 LS-Upd L:100 Auth:0 ID:10.10.10.77 Cnt:2 OSPF: recv from:10.1.251.6 to 224.0.0.5 Intf:ve 511 LS-Upd L:100 Auth:0 ID:10.116.116.1 Cnt:2 OSPF: send to:10.1.251.6 Intf:ve 511 LS-Ack L:64 Auth:0 ID:10.10.10.77 OSPF: recv from:10.1.91.18 to 224.0.0.5 Intf:ve 911 LS-Upd L:100 Auth:0 ID:10.116.116.1 Cnt:2 OSPF: send to:10.1.91.18 Intf:ve 911 LS-Ack L:64 Auth:0 ID:10.10.10.77 OSPF: recv from:10.1.14.1 to 224.0.0.5 Intf:e 2/1/14 LS-Upd L:100 Auth:0 ID:10.213.213.213 Cnt:2 OSPF: recv from:10.1.51.1 to 224.0.0.5 Intf:e 4/1/12 LS-Upd L:100 Auth:0 ID:10.213.213.213 Cnt:2 OSPF: recv from:10.1.18.2 to 224.0.0.5 Intf:ve 18 LS-Upd L:100 Auth:0 ID:10.213.213.213 Cnt:2 OSPF: recv from:10.1.251.6 to 224.0.0.5 Intf:ve 511 LS-Upd L:748 Auth:0 ID:10.116.116.1 Cnt:20 OSPF: send to:224.0.0.5 Intf:ve 18 LS-Upd L:748 Auth:0 ID:10.10.10.77 Cnt:20 OSPF: send to:224.0.0.5 Intf:e 2/1/14 LS-Upd L:748 Auth:0 ID:10.10.10.77 Cnt:20 OSPF: send to:224.0.0.5 Intf:e 4/1/12 LS-Upd L:748 Auth:0 ID:10.10.10.77 Cnt:20 OSPF: send to:224.0.0.5 Intf:ve 34 LS-Upd L:748 Auth:0 ID:10.10.10.77 Cnt:20 OSPF: send to:224.0.0.5 Intf:ve 35 LS-Upd L:748 Auth:0 ID:10.10.10.77 Cnt:20
The following example displays information about OSPF retransmission of LSAs.
device# debug ip ospf retransmission device(config)# clear ip route OSPF: examine each neighbor and add advertisement ls-id 10.3.13.0 to the retransmission list if necessary OSPF: examine each neighbor and add advertisement ls-id 10.3.13.0 to the retransmission list if necessary OSPF: examine each neighbor and add advertisement ls-id 10.1.2.0 to the retransmission list if necessary OSPF: examine each neighbor and add advertisement ls-id 10.1.2.0 to the retransmission list if necessary OSPF: examine each neighbor and add advertisement ls-id 10.3.3.0 to the retransmission list if necessary OSPF: examine each neighbor and add advertisement ls-id 10.3.3.0 to the retransmission list if necessary OSPF: examine each neighbor and add advertisement ls-id 10.1.2.0 to the retransmission list if necessary OSPF: examine each neighbor and add advertisement ls-id 10.1.2.0 to the retransmission list if necessary OSPF: examine each neighbor and add advertisement ls-id 10.24.2.0 to the retransmission list if necessary OSPF: examine each neighbor and add advertisement ls-id 10.24.2.0 to the retransmission list if necessary OSPF: examine each neighbor and add advertisement ls-id 10.3.3.0 to the retransmission list if necessary OSPF: examine each neighbor and add advertisement ls-id 10.3.3.0 to the retransmission list if necessary OSPF: examine each neighbor and add advertisement ls-id 10.3.13.0 to the retransmission list if necessary OSPF: examine each neighbor and add advertisement ls-id 10.3.13.0 to the retransmission list if necessary device(config)# OSPF: examine each neighbor and add advertisement ls-id 10.24.2.0 to the retransmission list if necessary OSPF: examine each neighbor and add advertisement ls-id 10.24.2.0 to the retransmission list if necessary
The following example shows information about a specified OSPF route.
debug ip ospf route 10.3.3.0 OSPF: debug ospf route 10.3.3.0 device(config)# debug ip ospf route 192.168.30.0 OSPF: debug ospf route 192.168.30.0 device(config)# OSPF: invalidate whole table - entry 192.168.30.0, state 0, path type 3 OSPF: calc ext route 192.168.30.0 OSPF: delete route 192.168.30.0 from rtm 0x367e7270, not_in_main 0 OSPF: calc ext route 192.168.30.0 OSPF: calc ext route 192.168.30.0 OSPF: calc ext route 192.168.30.0 OSPF: calc ext route 192.168.30.0 OSPF: ext route, net = 192.168.30.0, mask = 10.255.255.0 advrtr = 10.3.1.1, fwd = 0.0.0.0 OSPF: ext route changed 192.168.30.0, state 0 OSPF: ext route new 192.168.30.0, state 2, path type 3 OSPF: add route 192.168.30.0 to rtm, next hop 115.1.1.2, type 3, state 3, not_in_main 1 OSPF: add to ospf route table, to valid 192.168.30.0, state 3, path type 3 OSPF: Modify route 192.168.30.0, type 3, state 3, not_in_main 0, next hop 10.1.1.2 OSPF: modify/modify route 192.168.30.0 (fwd 367e7333), type 3, state 3, not_in_main 0, nhp 381c51c0 OSPF: validate route, new->valid 192.168.30.0, state 3, path type 3