debug ospf6

This command debugs the Open Shortest Path First (OSPF) routing protocol for Internet Protocol (IP) Version 6 networks.

Syntax

# debug ospf6 

Command

Description

abr

Debugs the OSPF Version 6 Area Border Router (ABR) function. ABRs connect one or more areas to the main backbone network.

asbr

Debugs the OSPF Version 6 ASBR (Autonomous System Boundary Router) function.

border-routers {area-id|router-id}

Debugs the border router (debugs a specific area according to area ID in A.B.C.D. notation, or debugs a specific border router according to that border router's ID in A.B.C.D. notation).

flooding

Debugs the OSPF Version 6 flooding function.

interface

Debugs the OSPF Version 6 interface.

lsa [XXXX/0xXXXX]
{as-external|inter-prefix|inter-router|
intra-prefix|link|
network|router|unknown}

Debugs the OSPF Link State Advertisement.
Debugs according to LS type specified as hexadecimal, or debugs AS-External, Inter-Prefix, Inter-Router, Intra-Prefix, Link, Network, Router or Unknown).
Possible value for each of these:

examin (debugs Examining)
flooding (debugs Flooding) -or-
originate (debugs Originating)

message {all|dbdesc|

hello|lsack|lsreq|

lsupdate|unknown} (recv|send}

Debugs the OSPF Version 6 messages. Debugs:

all  (All messages)
dbdesc (Database Description messages)
hello (Hello messages)
lsack (Link State Acknowledgement messages)
lsreq (Link State Request messages)
lsupdate (Link State Update messages)
unknown (Unknown messages)

Possible value for each of these:

All
Received only -or-
Sent only

neighbor {event|state}

Debugs the OSPF Version 6 Neighbor. After two routers become OSPF neighbors, they can become adjacent and exchange routing information.

event (Debugs OSPF Version 6 neighbor event)
state (Debugs OSPF Version 6 neighbor state change)

route {inter-area|intra-area|

memory|table}

Debugs the calculation of the route table:

inter-area (Debugs the calculation of the inter-area route)
intra-area (Debugs the calculation of the intra-area route)
memory (Debugs route memory use)
table (Debugs detail)

spf {database|process|time}

Debugs the calculation of the SPF algorithm which computes the best path to all known destinations based on the data in their link state database.

database (Log number of Link State Advertisements at the time the SPF is calculated)
process (Debugs the detailed SPF process)
time (Measures how long it takes to calculate the SPF)

zebra {recv|send}

Debugs Zebra routing software. Zebra provides TCP/IP based routing services with support from routing protocols RIP, OSPF and BGP. Zebra also supports IPv4 and IPv6 routing protocols.

Possible values:
recv (Debugs only messages received)
send (Debugs only messages sent)

Command Mode

Privileged User

Example

This example debugs how long it takes the SPF algorithm to make its calculation:

# debug ospf6 spf time