Table Of Contents
OSPF Debug Commands on Cisco IOS XR Software
debug ospf adj
debug ospf chkpt
debug ospf config
debug ospf database-timer
debug ospf events
debug ospf flood
debug ospf gs
debug ospf hello
debug ospf lsa-generation
debug ospf mda
debug ospf monitor
debug ospf mpls traffic-eng advertisements
debug ospf nsf
debug ospf packet
debug ospf rib
debug ospf rtrid
debug ospf spf
debug ospf trace
debug ospf tree
debug ospf uv
OSPF Debug Commands on Cisco IOS XR Software
This chapter describes the commands used to debug the Open Shortest Path First (OSPF) routing protocol on Cisco IOS XR software.
debug ospf adj
To display debugging information for Open Shortest Path First (OSPF) adjacency events, use the debug ospf adj command in EXEC mode. To disable debugging output, use the no form of this command.
debug ospf instance-name adj [interface-type interface-instance]
no debug ospf instance-name adj [interface-type interface-instance]
Syntax Description
instance-name
|
Name that uniquely identifies an OSPF routing process. The instance name is any alphanumeric string no longer than 40 characters. The instance-name argument is defined by the router ospf command.
|
interface-type
|
(Optional) Interface type. For more information, use the question mark (?) online help function.
|
interface-instance
|
(Optional) Either a physical interface instance or a virtual interface instance as follows:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the modular services card or line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
Defaults
Debugging is disabled.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Use the debug ospf adj command to display debugging messages containing information related to adjacency events, such as the following:
•
Interface down event.
•
Two-way communication with a neighbor event. This is the most advanced state before beginning adjacency establishment. Communication between the two routers is bidirectional.
•
Neighbor (NBR) negotiation complete.
Caution 
The
debug ospf adj command generates a substantial amount of output. Use the command only when traffic on the IP network is low so that other activity on the system is not adversely affected.
Task ID
Task ID
|
Operations
|
ospf
|
read, write
|
Examples
The following is sample output from the debug ospf adj command:
RP/0/RP0/CPU0:router# debug ospf 1 adj GigabitEthernet0/2/0/0
RP/0/RP0/CPU0:13:39: ospf[239]: Neighbor change Event on intf GigabitEthernet0/2/0/0
RP/0/RP0/CPU0:13:39: ospf[239]: DR/BDR election on GigabitEthernet0/2/0/0
RP/0/RP0/CPU0:13:39: ospf[239]: Elect BDR Router ID 192.168.20.207(IP Addr
192.168.20.207)
RP/0/RP0/CPU0:13:39: ospf[239]: Elect DR Router ID 1.1.1.1(IP Addr 192.168.20.206)
RP/0/RP0/CPU0:13:39: ospf[239]: DR: 1.1.1.1(Id) 192.168.20.206(IP Addr)
RP/0/RP0/CPU0:13:39: ospf[239]: BDR: 192.168.20.207(Id) 192.168.20.207(IP Addr)
RP/0/RP0/CPU0:14:9: ospf[239]: Rcv DBD from 192.168.20.207(192.168.20.207) on
GigabitEthernet0/2/0/0 seq 0x19b8 opt 0x52 flag 0x7 len 32 mtu 1500 state FULL
RP/0/RP0/CPU0:14:9: ospf[239]: Bad seq received from 192.168.20.207 on
GigabitEthernet0/2/0/0
RP/0/RP0/CPU0:14:9: ospf[239]: Send DBD to 192.168.20.207(192.168.20.207) on
GigabitEthernet0/2/0/0 seq 0x5251 opt 0x52 flag 0x7 len 32
RP/0/RP0/CPU0:14:9: ospf[239]: Neighbor change Event on intf GigabitEthernet0/2/0/0
RP/0/RP0/CPU0:14:9: ospf[239]: DR/BDR election on GigabitEthernet0/2/0/0
RP/0/RP0/CPU0:14:9: ospf[239]: Elect BDR Router ID 192.168.20.207(IP Addr 192.168.20.207)
RP/0/RP0/CPU0:14:9: ospf[239]: Elect DR Router ID 1.1.1.1(IP Addr 192.168.20.206)
RP/0/RP0/CPU0:14:9: ospf[239]: DR: 1.1.1.1(Id) 192.168.20.206(IP Addr)
RP/0/RP0/CPU0:14:9: ospf[239]: BDR: 192.168.20.207(Id) 192.168.20.207(IP Addr)
RP/0/RP0/CPU0:14:14: ospf[239]: Rcv DBD from 192.168.20.207(192.168.20.207) on
GigabitEthernet0/2/0/0 seq 0x19b8 opt 0x52 flag 0x7 len 32 mtu 1500 state EXSTART
RP/0/RP0/CPU0:14:14: ospf[239]: NBR Negotiation Done. We are the SLAVE
RP/0/RP0/CPU0:14:14: ospf[239]: build dbd: took 0 ms for nbr 192.168.20.207, count=1
RP/0/RP0/CPU0:14:14: ospf[239]: Send DBD to 192.168.20.207(192.168.20.207) on
GigabitEthernet0/2/0/0 seq 0x19b8 opt 0x52 flag 0x2 len 52
RP/0/RP0/CPU0:14:14: ospf[239]: Rcv DBD from 192.168.20.207(192.168.20.207) on
GigabitEthernet0/2/0/0 seq 0x19b9 opt 0x52 flag 0x1 len 52 mtu 1500 state EXCHANGE
RP/0/RP0/CPU0:14:14: ospf[239]: Exchange Done with 192.168.20.207 on
GigabitEthernet0/2/0/0
RP/0/RP0/CPU0:14:14: ospf[239]: sent LS REQ packet to 192.168.20.207, length 12
RP/0/RP0/CPU0:14:14: ospf[239]: Send DBD to 192.168.20.207(192.168.20.207) on
GigabitEthernet0/2/0/0 seq 0x19b9 opt 0x52 flag 0 len 32
RP/0/RP0/CPU0:14:14: ospf[239]: Synchronized with 192.168.20.207 on
GigabitEthernet0/2/0/0, state FULL
RP/0/RP0/CPU0:14:14: ospf[239]: %ROUTING-OSPF-5-ADJCHG : Process 1, Nbr 192.168.20.207 on
GigabitEthernet0/2/0/0 from LOADING to FULL, Loading Done
RP/0/RP0/CPU0:14:14: ospf[239]: Flooding Stats for nbr 192.168.20.207, LSA-Req Sent: 2
packets, 2 LSAs; LSA Upd rec'ed: 5 packets, 5 LSAs, DBD-rec'ed: 4 packets, 2 LSAs
Related Commands
Command
|
Description
|
undebug
|
Enters debug mode to disable or reset multiple active debug command sessions.
|
debug ospf chkpt
To display debugging information for Open Shortest Path First (OSPF) checkpoint information, use the debug ospf chkpt command in EXEC mode. To disable debugging output, use the no form of this command.
debug ospf instance-name chkpt
no debug ospf instance-name chkpt
Syntax Description
instance-name
|
Name that uniquely identifies an OSPF routing process. The instance name is any alphanumeric string no longer than 40 characters. The instance name is defined by the router ospf command.
|
Defaults
Debugging is disabled.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
OSPF checkpoints neighbor uptime to improve scalability. The debug ospf chkpt command logs checkpoint events such as neighbor uptime items and checkpoint-related error conditions.
Caution 
The
debug ospf chkpt command generates a substantial amount of output. Use the command only when traffic on the IP network is low so that other activity on the system is not adversely affected.
Task ID
Task ID
|
Operations
|
ospf
|
read, write
|
Examples
The following example shows how to enable debugging information OSPF checkpoint information:
RP/0/RP0/CPU0:router# debug ospf 1 chkpt
Related Commands
Command
|
Description
|
undebug
|
Enters debug mode to disable or reset multiple active debug command sessions.
|
debug ospf config
To display debugging information for the Open Shortest Path First (OSPF) configuration, use the debug ospf config command in EXEC mode. To turn off debugging output, use the no form of this command.
debug ospf instance-name config
no debug ospf instance-name config
Syntax Description
instance-name
|
Name that uniquely identifies an OSPF routing process. The instance name is any alphanumeric string no longer than 40 characters. The instance name is defined by the router ospf command.
|
Defaults
Debugging is disabled.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Caution 
The
debug ospf config command generates a substantial amount of output. Use the command only when traffic on the IP network is low so that other activity on the system is not adversely affected.
Task ID
Task ID
|
Operations
|
ospf
|
read, write
|
Examples
The following example shows how to enable debugging information for the OSPF configuration:
RP/0/RP0/CPU0:router# debug ospf config
Related Commands
Command
|
Description
|
undebug
|
Enters debug mode to disable or reset multiple active debug command sessions.
|
debug ospf database-timer
To display debugging information for Open Shortest Path First (OSPF) database timer events, use the debug ospf database-timer command in EXEC mode. To disable debugging output, use the no form of this command.
debug ospf instance-name database-timer
no debug ospf instance-name database-timer
Syntax Description
instance-name
|
Name that uniquely identifies an OSPF routing process. The instance name is any alphanumeric string no longer than 40 characters. The instance name is defined by the router ospf command.
|
Defaults
Debugging is disabled.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Use the debug ospf database-timer command to display messages containing information related to database events.
Caution 
The
debug ospf database-timer command generates a substantial amount of output. Use the command only when traffic on the IP network is low so that other activity on the system is not adversely affected.
Task ID
Task ID
|
Operations
|
ospf
|
read, write
|
Examples
The following is sample output from the debug ospf database-timer command:
RP/0/RP0/CPU0:router# debug ospf 1 database-timer
RP/0/RP0/CPU0:26:18: ospf[239]: Stop timer for 1.1.1.1 1.1.1.1 1 3
RP/0/RP0/CPU0:26:18: ospf[239]: Stop timer for 192.168.20.207 192.168.20.207 1 3
RP/0/RP0/CPU0:26:18: ospf[239]: Stop timer for 192.168.20.207 192.168.20.207 2 3
RP/0/RP0/CPU0:26:18: ospf[239]: Add 1.1.1.1 1.1.1.1 1 to min 27
RP/0/RP0/CPU0:26:18: ospf[239]: Delay 600/765270/765788 translated to 27/0 for 15/21 0
(3)
RP/0/RP0/CPU0:26:58: ospf[239]: Add 192.168.20.207 192.168.20.207 1 to min 27
RP/0/RP0/CPU0:26:58: ospf[239]: Delay 600/725715/725852 translated to 27/0 for 15/60 0
(3)
RP/0/RP0/CPU0:26:58: ospf[239]: Add 192.168.20.207 192.168.20.207 2 to min 27
RP/0/RP0/CPU0:26:58: ospf[239]: Delay 600/725709/725852 translated to 27/0 for 15/60 0
(3)
Related Commands
Command
|
Description
|
undebug
|
Enters debug mode to disable or reset multiple active debug command sessions.
|
debug ospf events
To display information on OSPF-related events such as adjacencies, flooding information, designated router selection, and Shortest Path First (SPF) calculation, use the debug ospf events command in EXEC mode. To disable debugging output, use the no form of this command.
debug ospf instance-name events [interface-type interface-instance]
no debug ospf instance-name events [interface-type interface-instance]
Syntax Description
instance-name
|
Name that uniquely identifies an OSPF routing process. The instance name is any alphanumeric string no longer than 40 characters. The instance name is defined by the router ospf command.
|
interface-type
|
(Optional) Interface type. For more information, use the question mark (?) online help function.
|
interface-instance
|
(Optional) Either a physical interface instance or a virtual interface instance as follows:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the modular services card or line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
Defaults
Debugging is disabled.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Use the debug ospf events command to display messages containing information related to neighbor state, interface, database, and so on.
The debug ospf events command output shown may appear if any of the following situations occurs:
•
The IP subnet masks for routers on the same network do not match.
•
The OSPF hello interval for the router does not match that configured for a neighbor.
•
The OSPF dead interval for the router does not match that configured for a neighbor.
If a router configured for OSPF routing is not seeing an OSPF neighbor on an attached network, perform the following tasks:
•
Make sure that both routers have been configured with the same IP mask, OSPF hello interval, and OSPF dead interval.
•
Make sure that both neighbors are part of the same area type.
In the following example line, the neighbor and this router are not part of a stub area (that is, one is a part of a transit area and the other is a part of a stub area, as explained in RFC 1247):
OSPF: hello packet with mismatched E bit
Caution 
The
debug ospf events command generates a substantial amount of output. Use the command only when traffic on the IP network is low so that other activity on the system is not adversely affected.
Task ID
Task ID
|
Operations
|
ospf
|
read, write
|
Examples
The following is sample output from the debug ospf events command:
RP/0/RP0/CPU0:router# debug ospf 1 events
RP/0/RP0/CPU0:28:55: ospf[239]: Send hello to 224.0.0.5 area 0 on GigabitEthernet0/2/0/0
from 192.168.20.206 (nbr/if state 3/2)
RP/0/RP0/CPU0:28:55: ospf[239]: Send hello pkt pri 1 options 0x12 DR 0.0.0.0 BDR 0.0.0.0
hello 10 dead 40 netmask 255.255.255.0
RP/0/RP0/CPU0:28:59: ospf[239]: Rcv hello from 192.168.20.207 area 0 from
GigabitEthernet0/2/0/0 192.168.20.207 (nbr/if state 3/2)
RP/0/RP0/CPU0:28:59: ospf[239]: Rcv hello pkt pri 1 options 0x12 DR 192.168.20.207 BDR
192.168.20.206 hello 10 dead 40 netmask 255.255.255.0 (nbr_dr 192.168.20.207 nbr_bdr
192.168.20.206)
RP/0/RP0/CPU0:28:59: ospf[239]: End of hello processing
RP/0/RP0/CPU0:29:5: ospf[239]: Send hello to 224.0.0.5 area 0 on GigabitEthernet0/2/0/0
from 192.168.20.206 (nbr/if state 3/2)
RP/0/RP0/CPU0:29:5: ospf[239]: Send hello pkt pri 1 options 0x12 DR 0.0.0.0 BDR 0.0.0.0
hello 10 dead 40 netmask 255.255.255.0
RP/0/RP0/CPU0:29:9: ospf[239]: Rcv hello from 192.168.20.207 area 0 from
GigabitEthernet0/2/0/0 192.168.20.207 (nbr/if state 3/2)
RP/0/RP0/CPU0:29:9: ospf[239]: Rcv hello pkt pri 1 options 0x12 DR 192.168.20.207 BDR
192.168.20.206 hello 10 dead 40 netmask 255.255.255.0 (nbr_dr 192.168.20.207 nbr_bdr
192.168.20.206)
RP/0/RP0/CPU0:29:9: ospf[239]: End of hello processing
RP/0/RP0/CPU0:29:15: ospf[239]: Send hello to 224.0.0.5 area 0 on GigabitEthernet0/2/0/0
from 192.168.20.206 (nbr/if state 3/2)
RP/0/RP0/CPU0:29:15: ospf[239]: Send hello pkt pri 1 options 0x12 DR 0.0.0.0 BDR 0.0.0.0
hello 10 dead 40 netmask 255.255.255.0
RP/0/RP0/CPU0:29:19: ospf[239]: Rcv hello from 192.168.20.207 area 0 from
GigabitEthernet0/2/0/0 192.168.20.207 (nbr/if state 3/2)
RP/0/RP0/CPU0:29:19: ospf[239]: Rcv hello pkt pri 1 options 0x12 DR 192.168.20.207 BDR
192.168.20.206 hello 10 dead 40 netmask 255.255.255.0 (nbr_dr 192.168.20.207 nbr_bdr
192.168.20.206)
RP/0/RP0/CPU0:29:19: ospf[239]: End of hello processing
RP/0/RP0/CPU0:29:25: ospf[239]: end of Wait on intf GigabitEthernet0/2/0/0
RP/0/RP0/CPU0:29:25: ospf[239]: DR/BDR election on GigabitEthernet0/2/0/0
RP/0/RP0/CPU0:29:25: ospf[239]: Elect BDR Router ID 1.1.1.1(IP Addr 192.168.20.206)
RP/0/RP0/CPU0:29:25: ospf[239]: Elect DR Router ID 192.168.20.207(IP Addr 192.168.20.207)
RP/0/RP0/CPU0:29:25: ospf[239]: Elect BDR Router ID 1.1.1.1(IP Addr 192.168.20.206)
Related Commands
Command
|
Description
|
debug ospf packet
|
Displays information about each OSPF packet received.
|
undebug
|
Enters debug mode to disable or reset multiple active debug command sessions.
|
debug ospf flood
To display information about Open Shortest Path First (OSPF) flood events such as acknowledgments and updates received, use the debug ospf flood command in EXEC mode. To disable debugging output, use the no form of this command.
debug ospf instance-name flood [access-list-name]
no debug ospf instance-name flood [access-list-name]
Syntax Description
instance-name
|
Name that uniquely identifies an OSPF routing process. The instance name is any alphanumeric string no longer than 40 characters. The instance name is defined by the router ospf command.
|
access-list-name
|
(Optional) Name of a particular access control list. The name cannot contain a space or quotation mark; it may contain numbers.
|
Defaults
Debugging is disabled.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Use the debug ospf flood command to display messages containing information related to flood events.
Caution 
The
debug ospf flood command generates a substantial amount of output. Use the command only when traffic on the IP network is low so that other activity on the system is not adversely affected.
Task ID
Task ID
|
Operations
|
ospf
|
read, write
|
Examples
The following is sample output from the debug ospf flood command:
RP/0/RP0/CPU0:router# debug ospf 1 flood
RP/0/RP0/CPU0:33:19: ospf[239]: Rcv Update Type 2, LSID 192.168.20.207, Adv rtr
192.168.20.207, age 764, seq 0x80000001
RP/0/RP0/CPU0:33:19: ospf[239]: Mask 255.255.255.0
RP/0/RP0/CPU0:33:19: ospf[239]: %ROUTING-OSPF-5-ADJCHG : Process 1, Nbr 192.168.20.207 on
GigabitEthernet0/2/0/0 from LOADING to FULL, Loading Done
RP/0/RP0/CPU0:33:19: ospf[239]: Sending update on GigabitEthernet0/2/0/0 to 192.168.20.207
Area 0
RP/0/RP0/CPU0:33:19: ospf[239]: Send Type 1, LSID 1.1.1.1, Adv rtr 1.1.1.1, age 40, seq
0x80000001 (0)
RP/0/RP0/CPU0:33:19: ospf[239]: Inc retrans unit nbr count index 1 (0/1) to 1/1
RP/0/RP0/CPU0:33:19: ospf[239]: Set Nbr 192.168.20.207 1 first flood info from 0 (0) to
0x81e1994 (18)
RP/0/RP0/CPU0:33:19: ospf[239]: Init Nbr 192.168.20.207 1 next flood info to 0x81e1994
RP/0/RP0/CPU0:33:19: ospf[239]: Add Type 1 LSA ID 1.1.1.1 Adv rtr 1.1.1.1 Seq 80000002 to
GigabitEthernet0/2/0/0 192.168.20.207 retransmission list
RP/0/RP0/CPU0:33:19: ospf[239]: Start GigabitEthernet0/2/0/0 192.168.20.207 retrans timer
RP/0/RP0/CPU0:33:19: ospf[239]: Set idb next flood info from 0 (0) to 0x81e1994 (18)
RP/0/RP0/CPU0:33:19: ospf[239]: Add Type 1 LSA ID 1.1.1.1 Adv rtr 1.1.1.1 Seq 80000002 to
GigabitEthernet0/2/0/0 flood list
RP/0/RP0/CPU0:33:19: ospf[239]: Start GigabitEthernet0/2/0/0 pacing timer for 0.000001
msec
RP/0/RP0/CPU0:33:19: ospf[239]: Flooding update on GigabitEthernet0/2/0/0 to 224.0.0.5
Area 0
RP/0/RP0/CPU0:33:19: ospf[239]: Send Type 1, LSID 1.1.1.1, Adv rtr 1.1.1.1, age 1, seq
0x80000002 (0)
RP/0/RP0/CPU0:33:19: ospf[239]: Create retrans unit 0x81e0178/0x81df818 1 (0/1) 1
RP/0/RP0/CPU0:33:19: ospf[239]: Set nbr 1 (0/1) retrans to 4976 count to 1
RP/0/RP0/CPU0:33:19: ospf[239]: Set idb next flood info from 0x81e1994 (18) to 0 (0)
RP/0/RP0/CPU0:33:19: ospf[239]: Remove Type 1 LSA ID 1.1.1.1 Adv rtr 1.1.1.1 Seq 80000002
from GigabitEthernet0/2/0/0 flood list
RP/0/RP0/CPU0:33:19: ospf[239]: Stop GigabitEthernet0/2/0/0 flood timer
RP/0/RP0/CPU0:33:21: ospf[239]: Sending delayed ACK on GigabitEthernet0/2/0/0
RP/0/RP0/CPU0:33:21: ospf[239]: Ack Type 1, LSID 192.168.20.207, Adv rtr 192.168.20.207,
age 764, seq 0x80000003
RP/0/RP0/CPU0:33:21: ospf[239]: Ack Type 2, LSID 192.168.20.207, Adv rtr 192.168.20.207,
age 764, seq 0x80000001
RP/0/RP0/CPU0:33:21: ospf[239]: Received ACK from 192.168.20.207 on GigabitEthernet0/2/0/0
RP/0/RP0/CPU0:33:21: ospf[239]: Rcv Ack Type 1, LSID 1.1.1.1, Adv rtr 1.1.1.1, age 40, seq
0x80000001
RP/0/RP0/CPU0:33:24: ospf[239]: Retransmitting update on GigabitEthernet0/2/0/0 to
192.168.20.207 Area 0
Related Commands
Command
|
Description
|
undebug
|
Enters debug mode to disable or reset multiple active debug command sessions.
|
debug ospf gs
To display information on Open Shortest Path First (OSPF) graceful shutdown events, use the debug ospf gs command in EXEC mode. To disable debugging output, use the no form of this command.
debug ospf instance-name gs
no debug ospf instance-name gs
Syntax Description
instance-name
|
Name that uniquely identifies an OSPF routing process. The instance name is any alphanumeric string no longer than 40 characters. The instance name is defined by the router ospf command.
|
Defaults
Debugging is disabled.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Use the debug ospf gs command to display information about OSPF graceful shutdown events.
Caution 
The
debug ospf gs command generates a substantial amount of output. Use the command only when traffic on the IP network is low so that other activity on the system is not adversely affected.
Task ID
Task ID
|
Operations
|
ospf
|
read, write
|
Examples
The following is sample output from the debug ospf gs command:
RP/0/RP0/CPU0:router# debug ospf 1 gs
RP/0/RP0/CPU0:1h:39:57: ospf[239]: GS: Leave init. state/event
Initial/Shutdown_Not_Configured
RP/0/RP0/CPU0:1h:39:57: ospf[239]: GS: Moving to normal OSPF operation. state Initial ->
Normal
RP/0/RP0/CPU0:1h:39:57: ospf[239]: GS: NORMAL memory notification seen
Related Commands
Command
|
Description
|
undebug
|
Enters debug mode to disable or reset multiple active debug command sessions.
|
debug ospf hello
To display information about Open Shortest Path First (OSPF) hello events for an interface or all interfaces, use the debug ospf hello command in EXEC mode. To disable debugging output, use the no form of this command.
debug ospf instance-name hello [interface-type interface-instance]
no debug ospf instance-name hello [interface-type interface-instance]
Syntax Description
instance-name
|
Name that uniquely identifies an OSPF routing process. The instance name is any alphanumeric string no longer than 40 characters. The instance name is defined by the router ospf command.
|
interface-type
|
(Optional) Interface type. For more information, use the question mark (?) online help function.
|
interface-instance
|
(Optional) Either a physical interface instance or a virtual interface instance as follows:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the modular services card or line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
Defaults
Debugging is disabled.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Use the debug ospf hello command to obtain information about the hello protocol messages related to the hello protocol events such as receiving, sending, and processing hello packets.
Caution 
The
debug ospf hello command generates a substantial amount of output. Use the command only when traffic on the IP network is low so that other activity on the system is not adversely affected.
Task ID
Task ID
|
Operations
|
ospf
|
read, write
|
Examples
The following is sample output from the debug ospf hello command:
RP/0/RP0/CPU0:router# debug ospf 1 hello
RP/0/RP0/CPU0:34:50: ospf[239]: Rcv hello from 192.168.20.207 area 0 from
GigabitEthernet0/2/0/0 192.168.20.207 (nbr/if state 3/2)
RP/0/RP0/CPU0:34:50: ospf[239]: ospf_router Rcv hello from new nbr 192.168.20.207 area 0
from GigabitEthernet0/2/0/0 192.168.20.207
RP/0/RP0/CPU0:34:50: ospf[239]: Rcv hello pkt pri 1 options 0x12 DR 192.168.20.207 BDR
192.168.20.206 hello 10 dead 40 netmask 255.255.255.0 (nbr_dr 0.0.0.0 nbr_bdr 0.0.0.0)
RP/0/RP0/CPU0:34:50: ospf[239]: End of router thread hello processing
RP/0/RP0/CPU0:34:56: ospf[239]: Send hello to 224.0.0.5 area 0 on GigabitEthernet0/2/0/0
from 192.168.20.206 (nbr/if state 3/2)
RP/0/RP0/CPU0:34:56: ospf[239]: Send hello pkt pri 1 options 0x12 DR 0.0.0.0 BDR 0.0.0.0
hello 10 dead 40 netmask 255.255.255.0
RP/0/RP0/CPU0:35:0: ospf[239]: Rcv hello from 192.168.20.207 area 0 from
GigabitEthernet0/2/0/0 192.168.20.207 (nbr/if state 3/2)
RP/0/RP0/CPU0:35:0: ospf[239]: Rcv hello pkt pri 1 options 0x12 DR 192.168.20.207 BDR
192.168.20.206 hello 10 dead 40 netmask 255.255.255.0 (nbr_dr 192.168.20.207 nbr_bdr
192.168.20.206)
RP/0/RP0/CPU0:35:0: ospf[239]: End of hello processing
RP/0/RP0/CPU0:35:6: ospf[239]: Send hello to 224.0.0.5 area 0 on GigabitEthernet0/2/0/0
from 192.168.20.206 (nbr/if state 3/2)
RP/0/RP0/CPU0:35:6: ospf[239]: Send hello pkt pri 1 options 0x12 DR 0.0.0.0 BDR 0.0.0.0
hello 10 dead 40 netmask 255.255.255.0
RP/0/RP0/CPU0:35:10: ospf[239]: Rcv hello from 192.168.20.207 area 0 from
GigabitEthernet0/2/0/0 192.168.20.207 (nbr/if state 3/2)
RP/0/RP0/CPU0:35:10: ospf[239]: Rcv hello pkt pri 1 options 0x12 DR 192.168.20.207 BDR
192.168.20.206 hello 10 dead 40 netmask 255.255.255.0 (nbr_dr 192.168.20.207 nbr_bdr
192.168.20.206)
RP/0/RP0/CPU0:35:10: ospf[239]: End of hello processing
RP/0/RP0/CPU0:35:16: ospf[239]: Send hello to 224.0.0.5 area 0 on GigabitEthernet0/2/0/0
from 192.168.20.206 (nbr/if state 3/2)
RP/0/RP0/CPU0:35:16: ospf[239]: Send hello pkt pri 1 options 0x12 DR 0.0.0.0 BDR 0.0.0.0
hello 10 dead 40 netmask 255.255.255.0
RP/0/RP0/CPU0:35:20: ospf[239]: Rcv hello from 192.168.20.207 area 0 from
GigabitEthernet0/2/0/0 192.168.20.207 (nbr/if state 3/2)
RP/0/RP0/CPU0:35:20: ospf[239]: Rcv hello pkt pri 1 options 0x12 DR 192.168.20.207 BDR
192.168.20.206 hello 10 dead 40 netmask 255.255.255.0 (nbr_dr 192.168.20.207 nbr_bdr
192.168.20.206)
RP/0/RP0/CPU0:35:20: ospf[239]: End of hello processing
RP/0/RP0/CPU0:35:26: ospf[239]: Send hello to 224.0.0.5 area 0 on GigabitEthernet0/2/0/0
from 192.168.20.206 (nbr/if state 3/6)
RP/0/RP0/CPU0:35:26: ospf[239]: Send hello pkt pri 1 options 0x12 DR 192.168.20.207 BDR
192.168.20.206 hello 10 dead 40 netmask 255.255.255.0
RP/0/RP0/CPU0:35:26: ospf[239]: %ROUTING-OSPF-5-ADJCHG : Process 1, Nbr 192.168.20.207 on
GigabitEthernet0/2/0/0 from LOADING to FULL, Loading Done
RP/0/RP0/CPU0:35:30: ospf[239]: Rcv hello from 192.168.20.207 area 0 from
GigabitEthernet0/2/0/0 192.168.20.207 (nbr/if state 3/6)
RP/0/RP0/CPU0:35:30: ospf[239]: Rcv hello pkt pri 1 options 0x12 DR 192.168.20.207 BDR
192.168.20.206 hello 10 dead 40 netmask 255.255.255.0 (nbr_dr 192.168.20.207 nbr_bdr
192.168.20.206)
RP/0/RP0/CPU0:35:30: ospf[239]: End of hello processing
Related Commands
Command
|
Description
|
undebug
|
Enters debug mode to disable or reset multiple active debug command sessions.
|
debug ospf lsa-generation
To display information about Open Shortest Path First (OSPF) link-state advertisement (LSA) events, use the debug ospf lsa-generation command in EXEC mode. To disable debugging output, use the no form of this command.
debug ospf instance-name lsa-generation [access-list-name]
no debug ospf instance-name lsa-generation [access-list-name]
Syntax Description
instance-name
|
Name that uniquely identifies an OSPF routing process. The instance name is any alphanumeric string no longer than 40 characters. The instance name is defined by the router ospf command.
|
access-list-name
|
(Optional) Name of a particular access control list. The name cannot contain a space or quotation mark; it may contain numbers.
|
Defaults
Debugging is disabled.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Use the debug ospf lsa-generation command to display messages containing information related to LSA generation events.
Caution 
The
debug ospf lsa-generation command generates a substantial amount of output. Use the command only when traffic on the IP network is low so that other activity on the system is not adversely affected.
Task ID
Task ID
|
Operations
|
ospf
|
read, write
|
Examples
The following is sample output from the debug ospf lsa-generation command:
RP/0/RP0/CPU0:router# debug ospf 1 lsa-generation
RP/0/RP0/CPU0:36:32: ospf[239]: Build router LSA for area 0, router ID 1.1.1.1, seq
0x80000001
RP/0/RP0/CPU0:36:32: ospf[239]: Start redist-scanning
RP/0/RP0/CPU0:36:32: ospf[239]: Scan for redistribution
RP/0/RP0/CPU0:36:32: ospf[239]: End scanning, Elapsed time 000000000.000000000
RP/0/RP0/CPU0:37:11: ospf[239]: %ROUTING-OSPF-5-ADJCHG : Process 1, Nbr 192.168.20.207 on
GigabitEthernet0/2/0/0 from LOADING to FULL, Loading Done
RP/0/RP0/CPU0:37:12: ospf[239]: Build router LSA for area 0, router ID 1.1.1.1, seq
0x80000002
Related Commands
Command
|
Description
|
undebug
|
Enters debug mode to disable or reset multiple active debug command sessions.
|
debug ospf mda
To display debugging information for the Open Shortest Path First (OSPF) management data API (MDA), use the debug ospf mda command in EXEC mode. To turn off debugging output, use the no form of this command.
debug ospf instance-name mda
no debug ospf instance-name mda
Syntax Description
instance-name
|
Name that uniquely identifies an OSPF routing process. The instance name is any alphanumeric string no longer than 40 characters. The instance name is defined by the router ospf command.
|
Defaults
Debugging is disabled.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Caution 
The
debug ospf mda command generates a substantial amount of output. Use the command only when traffic on the IP network is low so that other activity on the system is not adversely affected.
Task ID
Task ID
|
Operations
|
ospf
|
read, write
|
Examples
The following example shows how to enable debugging information for the OSPF MDA:
RP/0/RP0/CPU0:router# debug ospf mda
Related Commands
Command
|
Description
|
undebug
|
Enters debug mode to disable or reset multiple active debug command sessions.
|
debug ospf monitor
To display debugging information for Open Shortest Path First (OSPF) Shortest Path First (SPF) (Dijkstra) monitoring, use the debug ospf monitor command in EXEC mode. To turn off debugging output, use the no form of this command.
debug ospf instance-name monitor
no debug ospf instance name monitor
Syntax Description
instance-name
|
Name that uniquely identifies an OSPF routing process. The instance name is any alphanumeric string no longer than 40 characters. The instance name is defined by the router ospf command.
|
Defaults
Debugging is disabled.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.
Caution 
The
debug ospf monitor command generates a substantial amount of output. Use the command only when traffic on the IP network is low so that other activity on the system is not adversely affected.
Task ID
Task ID
|
Operations
|
ospf
|
read, write
|
Examples
The following is sample output from the debug ospf monitor command:
RP/0/RP0/CPU0:router# debug ospf monitor
RP/0/RP0/CPU0:40:40: ospf[239]: sched dijkstra: Schedule SPF in area 0 Change in LS ID
1.1.1.1, LSA type R,
RP/0/RP0/CPU0:40:40: ospf[239]: Begin Dijkstra for area 0 at 000002440.267000000
RP/0/RP0/CPU0:40:40: ospf[239]: initialize throttling to 500 ms
RP/0/RP0/CPU0:40:40: ospf[239]: End Dijkstra at 000002440.269000000, Total elapsed time
000000000.002000000
RP/0/RP0/CPU0:41:19: ospf[239]: initialize throttling to 500 ms
RP/0/RP0/CPU0:41:19: ospf[239]: sched dijkstra: Schedule SPF in area 0 Change in LS ID
192.168.20.207, LSA type R,
RP/0/RP0/CPU0:41:19: ospf[239]: initialize throttling to 500 ms
RP/0/RP0/CPU0:41:19: ospf[239]: %ROUTING-OSPF-5-ADJCHG : Process 1, Nbr 192.168.20.207 on
GigabitEthernet0/2/0/0 from LOADING to FULL, Loading Done
RP/0/RP0/CPU0:41:19: ospf[239]: sched dijkstra: Schedule SPF in area 0 Change in LS ID
192.168.20.207, LSA type N,
RP/0/RP0/CPU0:41:19: ospf[239]: reset throttling to 5000 ms
RP/0/RP0/CPU0:41:19: ospf[239]: Schedule SPF: spf_time 000002440.272000000 wait_interval
000000005.000000000
RP/0/RP0/CPU0:41:19: ospf[239]: Force running SPF
RP/0/RP0/CPU0:41:19: ospf[239]: sched dijkstra: Schedule SPF in area 0 Change in LS ID
0.0.0.0, LSA type R, N,
RP/0/RP0/CPU0:41:20: ospf[239]: reset throttling to 500 ms
RP/0/RP0/CPU0:41:20: ospf[239]: wait_interval 500 ms next wait_interval 5000 ms
RP/0/RP0/CPU0:41:20: ospf[239]: sched dijkstra: Schedule SPF in area 0 Change in LS ID
1.1.1.1, LSA type R,
RP/0/RP0/CPU0:41:20: ospf[239]: Begin Dijkstra for area 0 at 000002480.302000000
RP/0/RP0/CPU0:41:20: ospf[239]: End Dijkstra at 000002480.302000000, Total elapsed time
000000000.000000000
Related Commands
Command
|
Description
|
undebug
|
Enters debug mode to disable or reset multiple active debug command sessions.
|
debug ospf mpls traffic-eng advertisements
To print information about traffic engineering advertisements in Open Shortest Path First (OSPF) link-state advertisement (LSA) messages, use the debug ospf mpls traffic-eng advertisements command in EXEC mode. To disable debugging output, use the no form of this command.
debug ospf instance-name mpls traffic-eng advertisements [access-list-name]
no debug ospf instance-name mpls traffic-eng advertisements [access-list-name]
Syntax Description
instance-name
|
Name that uniquely identifies an OSPF routing process. The instance name is any alphanumeric string no longer than 40 characters. The instance name is defined by the router ospf command.
|
access-list-name
|
(Optional) Name of a particular access control list. The name cannot contain a space or quotation mark; it may contain numbers.
|
Defaults
Debugging is disabled.
Command Modes
EXEC
Co