The command outputs in the following section are examples only; actual displays may differ depending on supported functionality and user configuration.
This command enables the context to display OSPF information.
This command enables the context to display OSPF3 information.
This command displays configuration information about all areas or the specified area. When detail is specified operational and statistical information will be displayed.
OSPF Area Output
The following table describes the standard and detailed command output fields for an OSPF area.
Label | Description |
Area Id | A 32 bit integer uniquely identifying an area. |
Type | NSSA This area is configured as an NSSA area. |
Standard This area is configured as a standard area (not NSSA or Stub). | |
Stub This area is configured as a stub area. | |
SPF Runs | The number of times that the intra-area route table has been calculated using this area’s link state database. |
LSA Count | The total number of link-state advertisements in this area’s link state database, excluding AS External LSAs. |
LSA Cksum Sum | The 32-bit unsigned sum of the link-state database advertisements LS checksums contained in this area’s link state database. This checksum excludes AS External LSAs (type-5). |
No. of OSPF Areas | The number of areas configured on the router. |
Virtual Links | The number of virtual links configured through this transit area. |
Active IFs | The active number of interfaces configured in this area. |
Area Bdr Rtrs | The total number of ABRs reachable within this area. |
AS Bdr Rtrs | The total number of ASBRs reachable within this area. |
Last SPF Run | The time when the last intra-area SPF was run on this area. |
Router LSAs | The total number of router LSAs in this area. |
Network LSAs | The total number of network LSAs in this area. |
Summary LSAs | The summary of LSAs in this area. |
Asbr-summ LSAs | The summary of ASBR LSAs in this area. |
Nssa-ext LSAs | The total number of NSSA-EXT LSAs in this area. |
Area opaque LSAs | The total number of opaque LSAs in this area. |
Total Nbrs | The total number of neighbors in this area. |
Total IFs | The total number of interfaces configured in this area. |
Total LSAs | The sum of LSAs in this area excluding autonomous system external LSAs. |
Blackhole Range | False No blackhole route is installed for aggregates configured in this area. |
True A lowest priority blackhole route is installed for aggregates configured in this area. |
This command displays the entries in the Router Information (RI) LSAs.
OSPF Capabilities Output
The following table describes the standard and detailed command output fields for OSPF capabilities.
This command displays information about the OSPF link state database (LSDB).
When no command line options are specified, the command displays brief output for all database entries
OSPF Database Output
The following table describes the standard and detailed command output fields for an OSPF database.
Label | Description |
Area Id | The OSPF area identifier. |
Type LSA Type | Router LSA type of router (OSPF) |
Network LSA type of network (OSPF) | |
Summary LSA type of summary (OSPF) | |
ASBR Summary LSA type of ASBR summary (OSPF) | |
Nssa-ext LSA area-specific, NSSA external (OSPF) | |
Area opaque LSA type of area opaque (OSPF) | |
router LSA type of router (OSPF3) | |
Network LSA type of network (OSPF3) | |
IE Pfx LSA type of IE Pfx (OSPF3)IE Rtr LSA type of IE Rtr (OSPF3) | |
IA Pfx LSA type of IA Pfx (OSPF3) | |
Nssa-ext NSSA area-specific AS external (OSPF3) | |
Link State Id | The link state Id is an LSA type specific field containing either a number to distinguish several LSAs from the same router, an interface ID, or a router-id; it identifies the piece of the routing domain being described by the advertisement. |
Adv Rtr Id Adv Router Id | The router identifier of the router advertising the LSA. |
Age | The age of the link state advertisement in seconds. |
Sequence Sequence No | The signed 32-bit integer sequence number. |
Cksum Checksum | The 32-bit unsigned sum of the link-state advertisements' LS checksums. |
No. of LSAs | The number of LSAs displayed. |
Options | EA External Attribute LSA Support |
DC Demand Circuit Support | |
R If clear, a node can participates in OSPF topology distribution without being used to forward transit traffic. | |
N Type 7 LSA Support | |
MC Multicast Support | |
E External Routes Support | |
V6 V6 works in conjunction with R. If V6 is clear, a node can participate in OSPF topology distribution without being used to forward IPv6 datagrams. If R is set and V6 is clear, IPv6 datagrams are not forwarded but diagrams belonging to another protocol family may be forwarded. | |
Prefix Options | P Propagate NSSA LSA. |
MC Multicast support. | |
LA Lcal address capability. If set, the prefix is an IPv6 interface address of the advertising router. | |
NU No unicast capability. If set, the prefix is excluded from IPv6 unicast calculations. | |
Flags | None No flags set V The router is an endpoint for one or more fully adjacent Virtual Links having the described area as the transit area E The router is an AS Boundary Router B The router is an Area Border Router |
Link Count | The number of links advertised in the LSA. |
Link Type (n) | The link type of the nth link in the LSA. |
Network (n) | The network address of the nth link in the LSA. |
Metric-0 (n) | The cost metric of the nth link in the LSA. |
Displays the details of the OSPF interface, this interface can be identified by ip-address or ip interface name. When neither is specified, all in-service interfaces are displayed.
The detail option produces a great amount of data. It is recommended to detail only when requesting a specific interface.
Standard OSPF Interface Output
The following table describes the standard command output fields for an OSPF interface.
Label | Description |
If Name | The interface name. |
Area Id | A 32-bit integer uniquely identifying the area to which this interface is connected. Area ID 0.0.0.0 is used for the OSPF backbone. |
D Rtr Id | The IP Interface address of the router identified as the Designated Router for the network in which this interface is configured. Set to 0.0.0.0 if there is no Designated router. |
BD Rtr Id | The IP Interface address of the router identified as the Backup Designated Router for the network in which this interface is configured. Set to 0.0.0.0 if there is no Backup Designated router. |
Adm | Dn OSPF on this interface is administratively shut down. |
Up OSPF on this interface is administratively enabled. | |
Opr | Down This is the initial interface state. In this state, the lower-level protocols have indicated that the interface is unusable. |
Wait The router is trying to determine the identity of the (Backup) Designated router for the network. | |
PToP The interface is operational, and connects either to a physical point-to-point network or to a virtual link. | |
DR This router is the Designated Router for this network. | |
BDR This router is the backup Designated Router for this network. | |
ODR The interface is operational and part of a broadcast or NBMA network on which another router has been selected to be the Designated Router. | |
No. of OSPF Interfaces | The number of interfaces listed. |
Detailed OSPF Interface Output
The following table describes the detailed command output fields for an OSPF interface.
Label | Description |
Interface | The IP address of this OSPF interface. |
IP Address | The IP address and mask of this OSPF interface. |
Interface Name | The interface name. |
Area Id | A 32-bit integer uniquely identifying the area to which this interface is connected. Area ID 0.0.0.0 is used for the OSPF backbone. |
Priority | The priority of this interface. Used in multi-access networks, this field is used in the designated router election algorithm. |
Hello Intrvl | The length of time, in seconds, between the Hello packets that the router sends on the interface. This value must be the same for all routers attached to a common network. |
Rtr Dead Intrvl | The number of seconds that a router's Hello packets have not been seen before it's neighbors declare the router down. This should be some multiple of the Hello interval. This value must be the same for all routers attached to a common network. |
Retrans Intrvl | The number of seconds between link-state advertisement retransmissions, for adjacencies belonging to this interface. This value is also used when retransmitting database description and link-state request packets. |
Poll Intrvl | The larger time interval, in seconds, between the Hello packets sent to an inactive non-broadcast multi-access neighbor. |
Metric | The metric to be advertised for this interface. |
Advert Subnet | False When a point-to-point interface is configured as false, then the subnet is not advertised and the endpoints are advertised as host routes. |
True When a point-to-point interface is configured to true, then the subnet is advertised. | |
Transit Delay | The estimated number of seconds it takes to transmit a link state update packet over this interface. |
Auth Type | Identifies the authentication procedure to be used for the packet. |
None Routing exchanges over the network/subnet are not authenticated. | |
Simple A 64-bit field is configured on a per-network basis. All packets sent on a particular network must have this configured value in their OSPF header 64-bit authentication field. This essentially serves as a “clear” 64-bit password. | |
MD5 A shared secret key is configured in all routers attached to a common network/subnet. For each OSPF protocol packet, the key is used to generate/verify a “message digest” that is appended to the end of the OSPF packet. | |
Passive | False This interfaces operates as a normal OSPF interface with regard to adjacency forming and network/link behavior. |
True no OSPF HELLOs will be sent out on this interface and the router advertises this interface as a stub network/link in its router LSAs. | |
MTU | The desired size of the largest packet which can be sent/received on this OSPF interface, specified in octets. This size DOES include the underlying IP header length, but not the underlying layer headers/trailers. |
Admin Status | Disabled OSPF on this interface is administratively shut down. |
Enabled OSPF on this interface is administratively enabled. | |
Oper State | Down This is the initial interface state. In this state, the lower-level protocols have indicated that the interface is unusable. |
Waiting The router is trying to determine the identity of the (Backup) Designated router for the network. | |
Point To Point The interface is operational, and connects either to a physical point-to-point network or to a virtual link. | |
Designated Rtr This router is the Designated Router for this network. | |
Other Desig Rtr The interface is operational and part of a broadcast or NBMA network on which another router has been selected to be the Designated Router. | |
Backup Desig Rtr This router is the Backup Designated Router for this network. | |
DR-Id | The IP Interface address of the router identified as the Designated Router for the network in which this interface is configured. Set to 0.0.0.0 if there is no Designated router |
BDR-Id | The IP Interface address of the router identified as the Backup Designated Router for the network in which this interface is configured. Set to 0.0.0.0 if there is no Backup Designated router. |
IF Type | Broadcast LANs, such as Ethernet. |
NBMA X.25, Frame Relay and similar technologies. | |
Point-To-Point Links that are definitively point to point. | |
Network Type | Stub OPSF has not established a neighbor relationship with any other OSPF router on this network as such only traffic sourced or destined to this network will be routed to this network. |
Transit OPSF has established at least one neighbor relationship with any other OSPF router on this network as such traffic en route to other networks may be routed via this network. | |
Oper MTU | The operational size of the largest packet which can be sent/received on this OSPF interface, specified in octets. This size DOES include the underlying IP header length, but not the underlying layer headers/trailers. |
Last Enabled | The time that this interface was last enabled to run OSPF on this interface. |
Nbr Count | The number of OSPF neighbors on the network for this interface. |
If Events | The number of times this OSPF interface has changed its state, or an error has occurred since this interface was last enabled. |
Tot Rx Packets | The total number of OSPF packets received on this interface since this interface was last enabled. |
Tot Tx Packets | The total number of OSPF packets transmitted on this interface since this interface was last enabled. |
Rx Hellos | The total number of OSPF Hello packets received on this interface since this interface was last enabled. |
Tx Hellos | The total number of OSPF Hello packets transmitted on this interface since this interface was last enabled. |
Rx DBDs | The total number of OSPF database description packets received on this interface since this interface was last enabled. |
Tx DBDs | The total number of OSPF database description packets transmitted on this interface since this interface was last enabled. |
Rx LSRs | The total number of Link State Requests (LSRs) received on this interface since this interface was last enabled. |
Tx LSRs | The total number of Link State Requests (LSRs) transmitted on this interface since this interface was last enabled. |
Rx LSUs | The total number of Link State Updates (LSUs) received on this interface since this interface was last enabled. |
Tx LSUs | The total number of Link State Updates (LSUs) transmitted on this interface since this interface was last enabled. |
Rx LS Acks | The total number of Link State Acknowledgments received on this interface since this interface was last enabled. |
Tx LS Acks | The total number of Link State Acknowledgments transmitted on this interface since this interface was last enabled. |
Retransmits | The total number of OSPF Retransmits sent on this interface since this interface was last enabled. |
Discards | The total number of OSPF packets discarded on this interface since this interface was last enabled. |
Bad Networks | The total number of OSPF packets received with invalid network or mask since this interface was last enabled. |
Bad Virt Links | The total number of OSPF packets received on this interface that are destined to a virtual link that does not exist since this interface was last enabled. |
Bad Areas | The total number of OSPF packets received with an area mismatch since this interface was last enabled. |
Bad Dest Addrs | The total number of OSPF packets received with the incorrect IP destination address since this interface was last enabled. |
Bad Auth Types | The total number of OSPF packets received with an invalid authorization type since this interface was last enabled. |
Auth Failures | The total number of OSPF packets received with an invalid authorization key since this interface was last enabled. |
Bad Neighbors | The total number of OSPF packets received where the neighbor information does not match the information this router has for the neighbor since this interface was last enabled. |
Bad Pkt Types | The total number of OSPF packets received with an invalid OSPF packet type since this interface was last enabled |
Bad Lengths | The total number of OSPF packets received on this interface with a total length not equal to the length given in the packet itself since this interface was last enabled. |
Bad Hello int. | The total number of OSPF packets received where the hello interval given in packet was not equal to that configured on this interface since this interface was last enabled. |
Bad Dead Int. | The total number of OSPF packets received where the dead interval given in the packet was not equal to that configured on this interface since this interface was last enabled. |
Bad Options | The total number of OSPF packets received with an option that does not match those configured for this interface or area since this interface was last enabled. |
Bad Versions | The total number of OSPF packets received with bad OSPF version numbers since this interface was last enabled. |
Te Metric | Indicates the TE metric configured for this interface. This metric is flooded out in the TE metric sub-tlv in the OSPF TE LSAs. Depending on the configuration, either the TE metric value or the native OSPF metric value is used in CSPF computations. |
Te State | Indicates the MPLS interface TE status from OSPF standpoint. |
Admin Groups | Indicates the bit-map inherited from MPLS interface that identifies the admin groups to which this interface belongs. |
Ldp Sync | Specifies whether the IGP-LDP synchronization feature is enabled or disabled on all interfaces participating in the OSPF routing protocol. |
Ldp Sync Wait | Indicates the time to wait for the LDP adjacency to come up. |
Ldp Timer State | Indicates the state of the LDP sync time left on the OSPF interface. |
Ldp Tm Left | Indicates the time left before OSPF reverts back to advertising normal metric for this interface. |
This command displays OSPF Loop-Free Alternate (LFA) next-hop information.
This command will display all neighbor information. To reduce the amount of output the user may opt to select the neighbors on a given interface by address or name.
The detail option produces a large amount of data. It is recommended to use detail only when requesting a specific neighbor.
Standard OSPF Neighbor Output
The following table describes the standard command output fields for an OSPF neighbor.
Label | Description |
Nbr IP Addr | The IP address this neighbor is using in its IP Source Address. On addressless links, this will not be 0.0.0.0, but the address of another of the neighbor's interfaces. |
Nbr Rtr Id | A 32-bit integer uniquely identifying the neighboring router in the Autonomous System. |
Nbr State | Down This is the initial state of a neighbor conversation. It indicates that there has been no recent information received from the neighbor. |
Attempt This state is only valid for neighbors attached to NBMA networks. It indicates that no recent information has been received from the neighbor, but that a more concerted effort should be made to contact the neighbor. | |
Init In this state, an Hello packet has recently been seen from the neighbor. However, bidirectional communication has not yet been established with the neighbor (i.e., the router itself did not appear in the neighbor's Hello packet). | |
Two Way In this state, communication between the two routers is bidirectional. | |
ExchStart This is the first step in creating an adjacency between the two neighboring routers. The goal of this step is to decide which router is the master, and to decide upon the initial Database Descriptor sequence number. | |
Exchange In this state the router is describing its entire link state database by sending Database Description packets to the neighbor. | |
Loading In this state, Link State Request packets are sent to the neighbor asking for the more recent LSAs that have been discovered (but not yet received) in the Exchange state. | |
Full In this state, the neighboring routers are fully adjacent. These adjacencies will now appear in router-LSAs and network-LSAs. | |
Priority | The priority of this neighbor in the designated router election algorithm. The value 0 signifies that the neighbor is not eligible to become the designated router on this particular network. |
RetxQ Len | The current length of the retransmission queue. |
Dead Time | The time until this neighbor is declared down, this timer is set to the dead router interval when a valid hello packet is received from the neighbor. |
No. of Neighbors | The number of adjacent OSPF neighbors on this interface. |
Detailed OSPF Neighbor Output
The following table describes the detailed command output fields for an OSPF neighbor.
Label | Description |
Neighbor IP Addr | The IP address this neighbor is using in its IP source address. On addressless links, this will not be 0.0.0.0, but the address of another of the neighbor's interfaces. |
Local IF IP Addr | The IP address of this OSPF interface. |
Area Id | A 32-bit integer uniquely identifying the area to which this interface is connected. Area ID 0.0.0.0 is used for the OSPF backbone |
Designated Rtr | The IP Interface address of the router identified as the Designated Router for the network in which this interface is configured. Set to 0.0.0.0 if there is no Designated router. |
Neighbor Rtr Id | A 32-bit integer uniquely identifying the neighboring router in the AS. |
Neighbor State | Down This is the initial state of a neighbor conversation. It indicates that there has been no recent information received from the neighbor |
Attempt This state is only valid for neighbors attached to NBMA networks. It indicates that no recent information has been received from the neighbor, but that a more concerted effort should be made to contact the neighbor. | |
Init In this state, an Hello packet has recently been seen from the neighbor. However, bidirectional communication has not yet been established with the neighbor (i.e., the router itself did not appear in the neighbor's Hello packet). | |
Two Way In this state, communication between the two routers is bidirectional. | |
Exchange start This is the first step in creating an adjacency between the two neighboring routers. The goal of this step is to decide which router is the master, and to decide upon the initial Database Descriptor sequence number. | |
Exchange In this state the router is describing its entire link state database by sending Database Description packets to the neighbor | |
Loading In this state, Link State Request packets are sent to the neighbor asking for the more recent LSAs that have been discovered (but not yet received) in the Exchange state. | |
Full In this state, the neighboring routers are fully adjacent. These adjacencies will now appear in router-LSAs and network-LSAs. | |
Priority | The priority of this neighbor in the designated router election algorithm. The value 0 signifies that the neighbor is not eligible to become the designated router on this particular network. |
Retrans Q Length | The current length of the retransmission queue. |
Options | E External Routes Support |
MC Multicast Support | |
N/P Type 7 LSA Support | |
EA External Attribute LSA Support | |
DC Demand Circuit Support | |
O Opaque LSA Support | |
Backup Desig Rtr | The IP Interface address of the router identified as the Backup Designated Router for the network in which this interface is configured. Set to 0.0.0.0 if there is no backup designated router. |
Events | The number of times this neighbor relationship has changed state, or an error has occurred. |
Last Event Time | The time when the last event occurred that affected the adjacency to the neighbor. |
Up Time | This value represents the uninterrupted time, in hundredths of seconds, the adjacency to this neighbor has been up. To evaluate when the last state change occurred see last event time. |
Time Before Dead | The time until this neighbor is declared down, this timer is set to the dead router interval when a valid hello packet is received from the neighbor. |
Bad Nbr States | The total number of OSPF packets received when the neighbor state was not expecting to receive this packet type since this interface was last enabled. |
LSA Inst fails | The total number of times an LSA could not be installed into the LSDB due to a resource allocation issue since this interface was last enabled. |
Bad Seq Nums | The total number of times when a database description packet was received with a sequence number mismatch since this interface was last enabled. |
Bad MTUs | The total number of times when the MTU in a received database description packet was larger than the MTU of the receiving interface since this interface was last enabled. |
Bad Packets | The total number of times when an LS update was received with an illegal LS type or an option mismatch since this interface was last enabled. |
LSA not in LSDB | The total number of times when an LS request was received for an LSA not installed in the LSDB of this router since this interface was last enabled. |
Option Mismatches | The total number of times when a LS update was received with an option mismatch since this interface was last enabled. |
Nbr Duplicates | The total number of times when a duplicate database description packet was received during the exchange state since this interface was last enabled. |
This command displays OSPF opaque database information.
OSPF Opaque Database Output
The following table describes the OSPF opaque database output fields.
Label | Description |
Area Id | A 32-bit integer uniquely identifying an area. Area ID 0.0.0.0 is used for the OSPF backbone. |
Type | NSSA This area is configured as a NSSA area. |
Area This area is configured as a standard area (not NSSA or stub). | |
Stub This area is configured as a NSSA area. | |
Link State Id | The link state ID is an LSA type specific field containing either a Router-Id or an IP Address; it identifies the piece of the routing domain being described by the advertisement. |
Adv Rtr Id | The router identifier of the router advertising the LSA. |
Age | The age of the link state advertisement in seconds. |
Sequence | The signed 32-bit integer sequence number. |
Cksum | The 32-bit unsigned sum of the link-state advertisements' LS checksums. |
This command displays OSPF prefix SIDs.
This command displays ranges of addresses on an Area Border Router (ABR) for the purpose of route summarization or suppression.
OSPF Range Output
The following table describes the OSPF range output fields.
Label | Description |
Area Id | A 32-bit integer uniquely identifying an area. Area ID 0.0.0.0 is used for the OSPF backbone. |
Address/Mask | The mask for the range expressed as a decimal integer mask length or in dotted decimal notation. |
Advertise | False The specified address/mask is not advertised outside the area. |
True The specified address/mask is advertised outside the area. | |
LSDB Type | NSSA This range was specified in the NSSA context, and specifies that the range applies to external routes (via type-7 LSAs) learned within the NSSA when the routes are advertised to other areas as type-5 LSAs. |
Summary This range was not specified in the NSSA context, the range applies to summary LSAs even if the area is an NSSA. |
This command displays information about OSPF routes.
This command displays statistics of shortest-path-first (SPF) calculations.
SPF Output Fields
The following table describes SPF output fields.
Label | Description |
Total SPF Runs | The total number of incremental SPF runs triggered by new or updated LSAs. |
Last Full SPF run @ | The date and time when the external OSPF Dijkstra (SPF) was last run. |
Last Full SPF Time | The length of time, in seconds, when the last full SPF was run. |
Intra SPF Time | The time when intra-area SPF was last run on this area. |
Inter SPF Time | The total number of incremental SPF runs triggered by new or updated type-3 and type-4 summary LSAs. |
Extern SPF Time | The total number of incremental SPF runs triggered by new or updated type-5 external LSAs. |
RTM Updt Time | The time, in hundredths of seconds, used to perform a total SPF calculation. |
Min/Avg/Max Full SPF Time | Min The minimum time, in hundredths of seconds, used to perform a total SPF calculation. Avg The average time, in hundredths of seconds, of all the total SPF calculations performed by this OSPF router. Max The maximum time, in hundredths of seconds, used to perform a total SPF calculation. |
Total Sum Incr SPF Runs | The total number of incremental SPF runs triggered by new or updated type-3 and type-4 summary LSAs. |
Total Ext Incr SPF Runs | The total number of incremental SPF runs triggered by new or updated type-5 external LSAs. |
This command displays the global OSPF statistics.
OSPF Statistics Output Fields
The following table describes the command output fields for OSPF statistics.
Label | Description |
Rx Packets | The total number of OSPF packets received on all OSPF enabled interfaces. |
Tx Packets | The total number of OSPF packets transmitted on all OSPF enabled interfaces. |
Rx Hellos | The total number of OSPF Hello packets received on all OSPF enabled interfaces. |
Tx Hellos | The total number of OSPF Hello packets transmitted on all OSPF enabled interfaces. |
Rx DBDs | The total number of OSPF database description packets received on all OSPF enabled interfaces. |
Tx DBDs | The total number of OSPF database description packets transmitted on all OSPF enabled interfaces |
Rx LSRs | The total number of OSPF Link State Requests (LSRs) received on all OSPF enabled interfaces. |
Tx LSRs | The total number of OSPF Link State Requests (LSRs) transmitted on all OSPF enabled interfaces. |
Rx LSUs | The total number of OSPF Link State Update (LSUs) received on all OSPF enabled interfaces. |
Tx LSUs | The total number of OSPF Link State Update (LSUs) transmitted on all OSPF enabled interfaces. |
Rx LS Acks | The total number of OSPF Link State Acknowledgments (LSAs) received on all OSPF enabled interfaces. |
New LSAs Recvd | The total number of new OSPF Link State Advertisements received on all OSPF enabled interfaces. |
New LSAs Orig | The total number of new OSPF Link State Advertisements originated on all OSPF enabled interfaces. |
Ext LSAs Count | The total number of OSPF External Link State Advertisements. |
No of Areas | The number of areas configured for this OSPF instance. |
Total SPF Runs | The total number of incremental SPF runs triggered by new or updated LSAs. |
Ext SPF Runs | The total number of incremental SPF runs triggered by new or updated type-5 external LSAs. |
Retransmits | The total number of OSPF Retransmits transmitted on all OSPF enabled interfaces. |
Discards | The total number of OSPF packets discarded on all OSPF enabled interfaces. |
Bad Networks | The total number of OSPF packets received on all OSPF enabled interfaces with invalid network or mask. |
Bad Virt Links | The total number of OSPF packets received on all OSPF enabled interfaces that are destined to a virtual link that does not exist. |
Bad Areas | The total number of OSPF packets received on all OSPF enabled interfaces with an area mismatch |
Bad Dest Addrs | The total number of OSPF packets received on all OSPF enabled interfaces with the incorrect IP destination address. |
Bad Auth Types | The total number of OSPF packets received on all OSPF enabled interfaces with an invalid authorization type. |
Auth Failures | The total number of OSPF packets received on all OSPF enabled interfaces with an invalid authorization key. |
Bad Neighbors | The total number of OSPF packets received on all OSPF enabled interfaces where the neighbor information does not match the information this router has for the neighbor. |
Bad Pkt Types | The total number of OSPF packets received on all OSPF enabled interfaces with an invalid OSPF packet type. |
Bad Lengths | The total number of OSPF packets received on all OSPF enabled interfaces with a total length not equal to the length given in the packet itself. |
Bad Hello Int. | The total number of OSPF packets received on all OSPF enabled interfaces where the hello interval given in packet was not equal to that configured for the respective interface. |
Bad Dead Int. | The total number of OSPF packets received on all OSPF enabled interfaces where the dead interval given in the packet was not equal to that configured for the respective interface. |
Bad Options | The total number of OSPF packets received on all OSPF enabled interfaces with an option that does not match those configured for the respective interface or area. |
Bad Versions | The total number of OSPF packets received on all OSPF enabled interfaces with bad OSPF version numbers. |
Displays the general status of OSPF.
OSPF Status Output Fields
The following table describes the command output fields for OSPF status.
Label | Description |
OSPF Router Id | A 32-bit integer uniquely identifying the router in the Autonomous System. The SR-OS system defaults to the System IP address or if not configured the 32 least significant bits of the system MAC address. |
OSPF Version | The current version number of the OSPF protocol is 2. |
OSPF Admin Status | Disabled Denotes that the OSPF process is disabled on all interfaces. Enabled Denotes that the OSPF process is active on at least one interface. |
OSPF Oper Status | Disabled Denotes that the OSPF process is not operational on all interfaces. Enabled Denotes that the OSPF process is operational on at least one interface. |
Preference | The route preference for OSPF internal routes. |
External Preference | The route preference for OSPF external routes. |
Backbone Router | False This variable indicates that this router is not configured as an OSPF back bone router. |
True This variable indicates that this router is configured as an OSPF back bone router. | |
Area Border Router | False This router is not an area border router. |
True This router is an area border router. | |
AS Border Router | False This router is not configured as an Autonomous System border router. |
True This router is configured as an Autonomous System border router. | |
OSPF Ldp Sync Admin Status | Indicates whether the IGP-LDP synchronization feature is enabled or disabled on all interfaces participating in the OSPF routing protocol. |
This command displays information for OSPF virtual links.
OSPF Virtual Link Output
The following table describes OSPF virtual-link output fields.
Label | Description |
Nbr Rtr ID | The router ID(s) of neighboring routers. |
Area Id | A 32-bit integer which identifies an area. |
Local Interface | The IP address of the local egress interface used to maintain the adjacency to reach this virtual neighbor. |
Metric | The metric value associated with the route. This value is used when importing this static route into other protocols. When the metric is configured as zero then the metric configured in OSPF, default-import-metric, applies. This value is also used to determine which static route to install in the forwarding table. |
State | The operational state of the virtual link to the neighboring router. |
Authentication | Specifies whether authentication is enabled for the interface or virtual link. |
Hello Intrval | Specifies the length of time, in seconds, between the Hello packets that the router sends on the interface. |
Rtr Dead Intrvl | Specifies the total number of OSPF packets received where the dead interval given in the packet was not equal to that configured on this interface since the OSPF admin status was enabled. |
Tot Rx Packets | Specifies the total number of OSPF packets received on this interface since the OSPF admin status was enabled. |
Rx Hellos | Specifies the total number of OSPF Hello packets received on this interface since the OSPF admin status was enabled. |
Rx DBDs | Specifies the total number of OSPF Database Description packets received on this interface since the OSPF administrative status was enabled. |
Rx LSRs | Specifies the total number of Link State Requests (LSRs) received on this interface since the OSPF admin status was enabled. |
Rx LSUs | Specifies the total number of Link State Updates (LSUs) received on this interface since the OSPF admin status was enabled. |
Rx LS Acks | Specifies the total number of Link State Acknowledgments received on this interface since the OSPF admin status was enabled. |
Tot Tx Packets | Specifies the total number of OSPF packets transmitted on this virtual interface since it was created. |
Tx Hellos | Specifies the total number of OSPF Hello packets transmitted on this virtual interface since it was created. |
Tx DBDs | Specifies the total number of OSPF database description packets transmitted on this virtual interface. |
Tx LSRs | Specifies the total number of OSPF Link State Requests (LSRs) transmitted on this virtual interface. |
Tx LSUs | Specifies the total number of OSPF Hello packets transmitted on this interface since the OSPF admin status was enabled. |
Tx LS Acks | Specifies the total number of OSPF Link State Acknowledgments (LSA) transmitted on this virtual interface. |
Retransmits | Specifies the total number of OSPF retransmits sent on this interface since the OSPF admin status was last enabled. |
Discards | Specifies the total number of OSPF packets discarded on this interface since the OSPF admin status was last enabled. |
Bad Networks | Specifies the total number of OSPF packets received with invalid network or mask since the OSPF admin status was last enabled. |
Bad Versions | Specifies the total number of OSPF packets received with bad OSPF version numbers since the OSPF admin status was last enabled. |
Bad Areas | Specifies the total number of OSPF packets received with an area mismatch since the OSPF admin status was last enabled. |
Bad Dest Addrs | Specifies the total number of OSPF packets received with the incorrect IP destination address since the OSPF admin status was last enabled. |
Bad Auth Types | Specifies the total number of OSPF packets received with an invalid authorization type since the OSPF admin status was last enabled. |
Auth Failures | Specifies the total number of OSPF packets received with an invalid authorization key since the OSPF admin status was last enabled. |
Bad Neighbors | Specifies the total number of OSPF packets received where the neighbor information does not match the information this router has for the neighbor since the OSPF admin status was last enabled. |
Bad Pkt Types | Specifies the total number of OSPF packets received with an invalid OSPF packet type since the OSPF admin status was last enabled. |
Bad Lengths | Specifies the total number of OSPF packets received on this interface with a total length not equal to the length given in the packet itself since the OSPF admin status was last enabled. |
Bad Hello Int. | Specifies the total number of OSPF packets received where the hello interval given in packet was not equal to that configured on this interface since the OSPF admin status was last enabled. |
Bad Dead Int. | Specifies the total number of OSPF packets received where the dead interval given in the packet was not equal to that configured on this interface since the OSPF admin status was last enabled. |
Bad Options | Specifies the total number of OSPF packets received with an option that does not match those configured for this interface or area since the OSPF admin status was last enabled. |
Retrans Intrvl | Specifies the length of time, in seconds, that OSPF waits before retransmitting an unacknowledged link state advertisement (LSA) to an OSPF neighbor. |
Transit Delay | Specifies the time, in seconds, that it takes to transmit a link state advertisement (LSA) on the interface or virtual link. |
Last Event | Specifies the date and time when an event was last associated with this OSPF interface. |
This command displays virtual neighbor information.
OSPF Virtual Neighbor Output
The following table describes OSPF virtual neighbor output fields.
Label | Description |
Nbr IP Addr | The IP address this neighbor is using in its IP source address. On addressless links, this will not be 0.0.0.0, but the address of another of the neighbor's interfaces. |
Nbr Rtr ID | Specifies the router ID(s) of neighboring routers. |
Transit Area | Specifies the transit area ID that links the backbone area with the area that has no physical connection with the backbone. |
Retrans Q Length | The current length of the retransmission queue. |
No. of Neighbors | Specifies the total number of OSPF neighbors adjacent on this interface, in a state of INIT or greater, since the OSPF admin status was enabled. |
Nbr State | Specifies the operational state of the virtual link to the neighboring router. |
Options | Specifies the total number of OSPF packets received with an option that does not match those configured for this virtual interface or transit area since the OSPF admin status was enabled. |
Events | Specifies the total number of events that have occurred since the OSPF admin status was enabled. |
Last Event Time | Specifies the date and time when an event was last associated with this OSPF interface. |
Up Time | Specifies the uninterrupted time, in hundredths of seconds, the adjacency to this neighbor has been up. |
Time Before Dead | Specifies the amount of time, in seconds, until the dead router interval expires. |
Bad Nbr States | Specifies the total number of OSPF packets received where the neighbor information does not match the information this router has for the neighbor since the OSPF admin status was last enabled. |
LSA Inst fails | Specifies the total number of times an LSA could not be installed into the LSDB due to a resource allocation issue since the OSPF admin status was last enabled. |
Bad Seq Nums | Specifies the total number of times when a database description packet was received with a sequence number mismatch since the OSPF admin status was last enabled. |
Bad MTUs | Specifies the total number of times when the MTU in a received database description packet was larger than the MTU of the receiving interface since the OSPF admin status was enabled. |
Bad Packets | Specifies the total number of times when an LS update was received with an illegal LS type or an option mismatch since the OSPF admin status was enabled. |
LSA not in LSDB | Specifies the total number of times when an LS request was received for an LSA not installed in the LSDB of this router since the OSPF admin status was enabled. |
Option Mismatches | Specifies the total number of times when a LS update was received with an option mismatch since the OSPF admin status was enabled. |
Nbr Duplicates | Specifies the total number of times when a duplicate database description packet was received during the Exchange state since the OSPF admin status was enabled. |
This command clears and resets OSPF protocol entities.
This command clears and resets OSPF3 protocol entities.
This command clears all LSAs received from other nodes.
Sets all adjacencies better then two way to one way.
Refreshes all self originated LSAs
Re-evaluates all effective export policies
Marks the neighbor as dead and re-initiates the affected adjacencies.
This command clears the OSPF/OSPF3 overload.
Clears all neighbor, router, interface, SPF and global statistics of this OSPF instance.
Indicates the OSPF instance for debugging purposes.
Indicates the OSPF3 instance for debugging purposes.
This command enables debugging for an OSPF area.
This command enables debugging for an OSPF area range.
This command enables debugging for an OSPF constraint-based shortest path first (CSPF).
This command enables debugging for OSPF and OSPF3 graceful-restart.
This command enables debugging for an OSPF and OSPF3 interface.
This command enables debugging for OSPF leaks.
This command enables debugging for an OSPF link-state database (LSDB).
This command enables debugging for miscellaneous OSPF events.
This command enables debugging for an OSPF or OSPF3 neighbor.
This command enables debugging for an NSSA range.
This command enables debugging for OSPF packets.
This command enables debugging for OSPF RTM.
This command enables debugging for OSPF SPF. Information regarding overall SPF start and stop times will be shown. To see detailed information regarding the SPF calculation of a given route, the route must be specified as an optional argument.
This command enables debugging for an OSPF virtual neighbor.
This command displays OSPFv2 SR database information.