This command displays information relevant to the OSPF router.
Format: show ipv6 ospf
Mode: Privileged EXEC
NOTE: Some of the information below displays only if you enable OSPF and configure certain features.
Router ID: A 32 bit integer in dotted decimal format identifying the router, about which information is displayed. This is a configured value.
OSPF Admin Mode: Shows whether the administrative mode of OSPF in the router is enabled or disabled. This is a configured value.
External LSDB Limit: The maximum number of non-default AS-external-LSAs entries that can be stored in the link-state database.
Exit Overflow Interval: The number of seconds that, after entering overflow state, a router will attempt to leave overflow state.
AutoCost Ref BW: Shows the value of the auto-cost reference bandwidth configured on the router.
Default Passive Setting: Shows whether the interfaces are passive by default.
Maximum Paths: The maximum number of paths that OSPF can report for a given destination.
Default Metric: Default value for redistributed routes.
Default Route Advertise: Indicates whether the default routes received from other source protocols are advertised or not.
Always: Shows whether default routes are always advertised.
Metric: The metric for the advertised default routes. If the metric is not configured, this field is blank.
Metric Type: Shows whether the routes are External Type 1 or External Type 2.
Number of Active Areas: The number of active OSPF areas. An "active" OSPF area is an area with at least one interface up.
ABR Status: Shows whether the router is an OSPF Area Border Router.
ASBR Status: Reflects whether the ASBR mode is enabled or disabled. Enable implies that the router is an autonomous system border router. Router automatically becomes an ASBR when it is configured to redistribute routes learnt from other protocol. The possible values for the ASBR status is enabled (if the router is configured to re-distribute routes learned by other protocols) or disabled (if the router is not configured for the same).
Stub Router: When OSPF runs out of resources to store the entire link state database, or any other state information, OSPF goes into stub router mode. As a stub router, OSPF re-originates its own router LSAs, setting the cost of all non-stub interfaces to infinity. To restore OSPF to normal operation, disable and re-enable OSPF.
External LSDB Overflow: When the number of non-default external LSAs exceeds the configured limit, External LSDB Limit, OSPF goes into LSDB overflow state. In this state, OSPF withdraws all of its self-originated non-default external LSAs. After the Exit Overflow Interval, OSPF leaves the overflow state, if the number of external LSAs has been reduced.
External LSA Count: The number of external (LS type 5) link-state advertisements in the link-state database.
External LSA Checksum: The sum of the LS checksums of external link-state advertisements contained in the link-state database.
New LSAs Originated: The number of new link-state advertisements that have been originated.
LSAs Received: The number of link-state advertisements received determined to be new instantiations.
LSA Count: The total number of link state advertisements currently in the link state database.
Maximum Number of LSAs: The maximum number of LSAs that OSPF can store.
LSA High Water Mark: The maximum size of the link state database since the system started.
Retransmit List Entries: The total number of LSAs waiting to be acknowledged by all neighbors. An LSA may be pending acknowledgment from more than one neighbor.
Maximum Number of Retransmit Entries: The maximum number of LSAs that can be waiting for acknowledgment at any given time.
Retransmit Entries High Water Mark: The highest number of LSAs that have been waiting for acknowledgment.
Redistributing: This field is a heading and appears only if you configure the system to take routes learned from a non-OSPF source and advertise them to its peers.
Source: Shows source protocol/routes that are being redistributed. Possible values are static, connected, BGP, or RIP.
Metric: The metric of the routes being redistributed.
Metric Type: Shows whether the routes are External Type 1 or External Type 2.
Tag: The decimal value attached to each external route.
Subnets: For redistributing routes into OSPF, the scope of redistribution for the specified protocol.
Distribute-List: The access list used to filter redistributed routes.
NSF Support: Indicates whether nonstop forwarding (NSF) is enabled for the OSPF protocol for planned restarts, unplanned restarts or both (Always).
NSF Restart Interval: The user-configurable grace period during which a neighboring router will be in the helper state after receiving notice that the management unit is performing a graceful restart.
NSF Restart: The current graceful restart status of the router.
Status: Number of seconds until the graceful restart grace period expires.
NSF Restart Age: NSF Restart Exit: Indicates why the router last exited the last restart:
None — Graceful restart has not been attempted.
In Progress — Restart is in progress.
Completed — The previous graceful restart completed successfully.
Timed Out — The previous graceful restart timed out.
Topology Changed — The previous graceful restart terminated prematurely because of a topology change.
NSF Help Support: Indicates whether helpful neighbor functionality has been enabled for OSPF for planned restarts, unplanned restarts, or both (Always).
NSF help Strict LSA checking: Indicates whether strict LSA checking has been enabled. If enabled, then an OSPF helpful neighbor will exit helper mode whenever a topology change occurs. If disabled, an OSPF neighbor will continue as a helpful neighbor in spite of topology changes.
show ipv6 ospf abr
This command displays the internal OSPFv3 routes to reach Area Border Routers (ABR). This command takes no options.
Format: show ipv6 ospf abr
Modes: Privileged EXEC\User EXEC
Type: The type of the route to the destination. It can be either:
intra — Intra-area route
inter — Inter-area route
Router ID: Router ID of the destination.
Cost: Cost of using this route.
Area ID: The area ID of the area from which this route is learned.
Next Hop: Next hop toward the destination.
Next Hop Intf: The outgoing router interface to use when forwarding traffic to the next hop.
show ipv6 ospf area
This command displays information about the area. The areaid identifies the OSPF area that is being displayed.
Format: show ipv6 ospf area areaid
Modes: Privileged EXEC\User EXEC
AreaID: The area id of the requested OSPF area.
External Routing: A number representing the external routing capabilities for this area.
Spf Runs: The number of times that the intra-area route table has been calculated using this area's link-state database.
Area Border Router Count: The total number of area border routers reachable within this area.
Area LSA Count: Total number of link-state advertisements in this area's link-state database, excluding AS External LSAs.
Area LSA Checksum: A number representing the Area LSA Checksum for the specified AreaID excluding the external (LS type 5) link-state advertisements.
Stub Mode: Represents whether the specified Area is a stub area or not. The possible values are enabled and disabled. This is a configured value.
Import Summary LSAs: Shows whether to import summary LSAs (enabled).
OSPF Stub Metric Value: The metric value of the stub area. This field displays only if the area is a configured as a stub area.
The following OSPF NSSA specific information displays only if the area is configured as an NSSA.
Import Summary LSAs: Shows whether to import summary LSAs into the NSSA.
Redistribute into NSSA: Shows whether to redistribute information into the NSSA.
Default Information Originate: Shows whether to advertise a default route into the NSSA.
Default Metric: The metric value for the default route advertised into the NSSA.
Default Metric Type: The metric type for the default route advertised into the NSSA.
Translator Role: The NSSA translator role of the ABR, which is always or candidate.
Translator Stability Interval: The amount of time that an elected translator continues to perform its duties after it determines that its translator status has been deposed by another router.
Translator State: Shows whether the ABR translator state is disabled, always, or elected.
show ipv6 ospf asbr
This command displays the internal OSPFv3 routes to reach Autonomous System Boundary Routers (ASBR). This command takes no options.
Format: show ipv6 ospf asbr
Modes: Privileged EXEC\User EXEC
Type: The type of the route to the destination. It can be either:
intra — Intra-area route
inter — Inter-area route
Router ID: Router ID of the destination.
Cost: Cost of using this route.
Area ID: The area ID of the area from which this route is learned.
Next Hop: Next hop toward the destination.
Next Hop Intf: The outgoing router interface to use when forwarding traffic to the next hop.
show ipv6 ospf database
This command displays information about the link state database when OSPFv3 is enabled. If you do not enter any parameters, the command displays the LSA headers for all areas. Use the optional areaid parameter to display database information about a specific area. Use the other optional parameters to specify the type of link state advertisements to display. Use external to display the external LSAs. Use inter-area to display the inter-area LSAs. Use link to display the link LSAs. Use network to display the network LSAs. Use nssa-external to display NSSA external LSAs. Use prefix to display intra-area Prefix LSAs. Use router to display router LSAs. Use unknown area, unknown as, or unknown link to display unknown area, AS or link- scope LSAs, respectively. Use lsid to specify the link state ID (LSID). Use adv-router to show the LSAs that are restricted by the advertising router. Use self-originate to display the LSAs in that are self originated. The information below is only displayed if OSPF is enabled.
Format: show ipv6 ospf [areaid] database [{external | inter-area {prefix | router} | link | net work | nssa-external | prefix | router | unknown {area | as | link}}] [lsid] [{adv- router [rtrid] | self-originate}]
Modes: Privileged EXEC\User EXEC
For each link-type and area, the following information is displayed.
Link Id: A number that uniquely identifies an LSA that a router originates from all other self originated LSAs of the same LS type.
Adv Router: The Advertising Router. Is a 32 bit dotted decimal number representing the LSDB interface.
Age: A number representing the age of the link state advertisement in seconds.
Sequence: A number that represents which LSA is more recent.
Checksum: The total number LSA checksum.
Options: An integer indicating that the LSA receives special handling during routing calculations.
Rtr Opt: Router Options are valid for router links only.
show ipv6 ospf database database-summary
Use this command to display the number of each type of LSA in the database and the total number of LSAs in the database.
Format: show ipv6 ospf database database-summary
Modes: Privileged EXEC\User EXEC
Router: Total number of router LSAs in the OSPFv3 link state database.
Network: Total number of network LSAs in the OSPFv3 link state database.
Inter-area Prefix: Total number of inter-area prefix LSAs in the OSPFv3 link state database.
Inter-area Router: Total number of inter-area router LSAs in the OSPFv3 link state database.
Type-7 Ext: Total number of NSSA external LSAs in the OSPFv3 link state database.
Link: Total number of link LSAs in the OSPFv3 link state database.
Intra-area Prefix: Total number of intra-area prefix LSAs in the OSPFv3 link state database.
Link Unknown: Total number of link-source unknown LSAs in the OSPFv3 link state database.
Area Unknown: Total number of area unknown LSAs in the OSPFv3 link state database.
AS Unknown: Total number of as unknown LSAs in the OSPFv3 link state database.
Type-5 Ext: Total number of AS external LSAs in the OSPFv3 link state database.
Self-Originated Type-5: Total number of self originated AS external LSAs in the OSPFv3 link state database.
Total: Total number of router LSAs in the OSPFv3 link state database.
show ipv6 ospf interface
This command displays the information for the IFO object or virtual interface tables.
ifIndex: The interface index number associated with the interface.
OSPF Admin Mode: Shows whether the admin mode is enabled or disabled.
OSPF Area ID: The area ID associated with this interface.
Router Priority: The router priority. The router priority determines which router is the designated router.
Retransmit Interval: The frequency, in seconds, at which the interface sends LSA.
Hello Interval: The frequency, in seconds, at which the interface sends Hello packets.
Dead Interval: The amount of time, in seconds, the interface waits before assuming a neighbor is down.
LSA Ack Interval: The amount of time, in seconds, the interface waits before sending an LSA acknowledgement after receiving an LSA.
Interface Transmit Delay: The number of seconds the interface adds to the age of LSA packets before transmission.
Authentication Type: The type of authentication the interface performs on LSAs it receives.
Metric Cost: The priority of the path. Low costs have a higher priority than high costs.
Passive Status: Shows whether the interface is passive or not.
OSPF MTU-ignore: Shows whether to ignore MTU mismatches in database descriptor packets sent from neighboring routers.
The following information only displays if OSPF is initialized on the interface:
OSPF Interface Type: Broadcast LANs, such as Ethernet and IEEE 802.5, take the value broadcast . The OSPF Interface Type will be 'broadcast'.
State: The OSPF Interface States are: down, loopback, waiting, point-to-point, designated router, and backup designated router.
Designated Router: The router ID representing the designated router.
Backup Designated Router: The router ID representing the backup designated router.
Number of Link Events: The number of link events.
Metric Cost: The cost of the OSPF interface.
show ipv6 ospf interface brief
This command displays brief information for the IFO object or virtual interface tables.
Format: show ipv6 ospf interface brief
Modes: Privileged EXEC\User EXEC
Interface: unit/slot/port
OSPF Admin Mode: States whether OSPF is enabled or disabled on a router interface.
OSPF Area ID: The OSPF Area ID for the specified interface.
Router Priority: The router priority. The router priority determines which router is the designated router.
Metric Cost: The priority of the path. Low costs have a higher priority than high costs.
Hello Interval: The frequency, in seconds, at which the interface sends Hello packets.
Dead Interval: The amount of time, in seconds, the interface waits before assuming a neighbor is down.
Retransmit Interval: The frequency, in seconds, at which the interface sends LSA.
Retransmit Delay Interval: The number of seconds the interface adds to the age of LSA packets before transmission.
LSA Ack Interval: The amount of time, in seconds, the interface waits before sending an LSA acknowledgement after receiving an LSA.
show ipv6 ospf interface stats
This command displays the statistics for a specific interface. The command displays information only if OSPF is enabled.
Format: show ipv6 ospf interface stats unit/slot/port
Modes: Privileged EXEC\User EXEC
OSPFv3 Area ID: The area id of this OSPF interface.
IP Address: The IP address associated with this OSPF interface.
OSPFv3 Interface Events: The number of times the specified OSPF interface has changed its state, or an error has occurred.
Virtual Events: The number of state changes or errors that occurred on this virtual link.
Neighbor Events: The number of times this neighbor relationship has changed state, or an error has occurred.
Packets Received: The number of OSPFv3 packets received on the interface.
Packets Transmitted: The number of OSPFv3 packets sent on the interface.
LSAs Sent: The total number of LSAs flooded on the interface.
LSA Acks Received: The total number of LSA acknowledged from this interface.
LSA Acks Sent: The total number of LSAs acknowledged to this interface.
Sent Packets: The number of OSPF packets transmitted on the interface.
Received Packets: The number of valid OSPF packets received on the interface.
Discards: The number of received OSPF packets discarded because of an error in the packet or an error in processing the packet.
Bad Version: The number of received OSPF packets whose version field in the OSPF header does not match the version of the OSPF process handling the packet.
Virtual Link Not Found: The number of received OSPF packets discarded where the ingress interface is in a non-backbone area and the OSPF header identifies the packet as belonging to the backbone, but OSPF does not have a virtual link to the packet’s sender.
Area Mismatch: The number of OSPF packets discarded because the area ID in the OSPF header is not the area ID configured on the ingress interface.
Invalid Destination Address: The number of OSPF packets discarded because the packet’s destination IP address is not the address of the ingress interface and is not the AllDrRouters or AllSpfRouters multicast addresses.
No Neighbor at Source Address: The number of OSPF packets dropped because the sender is not an existing neighbor or the sender’s IP address does not match the previously recorded IP address for that neighbor. NOTE: Does not apply to Hellos.
Invalid OSPF Packet Type: The number of OSPF packets discarded because the packet type field in the OSPF header is not a known type.
Hellos Ignored: The number of received Hello packets that were ignored by this router from the new neighbors after the limit has been reached for the number of neighbors on an interface or on the system as a whole.
show ipv6 ospf neighbor
This command displays information about OSPF neighbors. If you do not specify a neighbor IP address, the output displays summary information in a table. If you specify an interface or tunnel, only the information for that interface or tunnel displays. The ip-address is the IP address of the neighbor, and when you specify this, detailed information about the neighbor displays. The information below only displays if OSPF is enabled and the interface has a neighbor.
Format: show ipv6 ospf neighbor [interface {unit/slot/port | tunnel tunnel_id}][ip-address]
Modes: Privileged EXEC\User EXEC
If you do not specify an IP address, a table with the following columns displays for all neighbors or the neighbor associated with the interface that you specify:
Router ID: The 4-digit dotted-decimal number of the neighbor router.
Priority: The OSPF priority for the specified interface. The priority of an interface is a priority integer from 0 to 255. A value of '0' indicates that the router is not eligible to become the designated router on this network.
Intf ID: The interface ID of the neighbor.
Interface: The interface of the local router in unit/slot/port format.
State: The state of the neighboring routers. Possible values are:
Down- initial state of the neighbor conversation - no recent information has been received from the neighbor.
Attempt - no recent information has been received from the neighbor but a more concerted effort should be made to contact the neighbor.
Init - an Hello packet has recently been seen from the neighbor, but bidirectional communication has not yet been established.
2 way - communication between the two routers is bidirectional.
Exchange start - the first step in creating an adjacency between the two neighboring routers, the goal is to decide which router is the master and to decide upon the initial sequence number.
Exchange - the router is describing its entire link state database by sending Database Description packets to the neighbor.
Full - the neighboring routers are fully adjacent and they will now appear in router-LSAs and network-LSAs.
Dead Time: The amount of time, in seconds, to wait before the router assumes the neighbor is unreachable.
Restart Helper Status: Indicates the status of this router as a helper during a graceful restart of the router specified in the command line:
Helping—This router is acting as a helpful neighbor to the specified router.
Not Helping—This router is not a helpful neighbor at this time.
Restart Reason: When this router is in helpful neighbor mode, this indicates the reason for the restart as provided by the restarting router.
Remaining Grace Time: The number of seconds remaining the in current graceful restart interval. This is displayed only when this router is currently acting as a helpful neighbor for the router specified in the command.
Restart Helper Exit Reason: Indicates the reason that the specified router last exited a graceful restart.
Topology Changed—The previous graceful restart terminated prematurely because of a topology change
If you specify an IP address for the neighbor router, the following fields display:
Interface: The interface of the local router in unit/slot/port format.
Area ID: The area ID associated with the interface.
Options: An integer value that indicates the optional OSPF capabilities supported by the neighbor. These are listed in its Hello packets. This enables received Hello Packets to be rejected (i.e., neighbor relationships will not even start to form) if there is a mismatch in certain crucial OSPF capabilities.
Router Priority: The router priority for the specified interface.
Dead Timer Due: The amount of time, in seconds, to wait before the router assumes the neighbor is unreachable.
State: The state of the neighboring routers.
Events: Number of times this neighbor relationship has changed state, or an error has occurred.
Retransmission Queue Length: An integer representing the current length of the retransmission queue of the specified neighbor router Id of the specified interface.
show ipv6 ospf range
This command displays the set of OSPFv3 area ranges configured for a given area.
Format: show ipv6 ospf range areaid
Modes: Privileged EXEC
Area ID: The area whose prefixes are summarized.
IPv6 Prefix/Prefix Length: The summary prefix and prefix length.
Type: S (Summary Link) or E (External Link)
Action: Enabled or Disabled
Cost: Metric to be advertised when the range is active.
show ipv6 ospf stub table
This command displays the OSPF stub table. The information below will only be displayed if OSPF is initialized on the switch.
Format: show ipv6 ospf stub table
Modes: Privileged EXEC\User EXEC
Area ID: A 32-bit identifier for the created stub area.
Type of Service: Type of service associated with the stub metric. For this release, Normal TOS is the only supported type.
Metric Val: The metric value is applied based on the TOS. It defaults to the least metric of the type of service among the interfaces to other areas. The OSPF cost for a route is a function of the metric value.
Import Summary: LSA Controls the import of summary LSAs into stub areas.
show ipv6 ospf virtual-link
This command displays the OSPF Virtual Interface information for a specific area and neighbor. The <area-id> parameter identifies the area and the <neighbor> parameter identifies the neighbor’s Router ID.
Format: show ipv6 ospf virtual-link areaid neighbor
Modes: Privileged EXEC\User EXEC
Area ID: The area id of the requested OSPF area.
Neighbor Router ID:The input neighbor Router ID.
Hello Interval: The configured hello interval for the OSPF virtual interface.
Dead Interval: The configured dead interval for the OSPF virtual interface.
Interface Transmit Delay: The configured transmit delay for the OSPF virtual interface.
Retransmit Interval: The configured retransmit interval for the OSPF virtual interface.
Authentication Type: The type of authentication the interface performs on LSAs it receives.
State: The OSPF Interface States are: down, loopback, waiting, point-to-point, designated router, and backup designated router. This is the state of the OSPF interface.
Neighbor State: The neighbor state.
show ipv6 ospf virtual-link brief
This command displays the OSPFV3 Virtual Interface information for all areas in the system.
Format: show ipv6 ospf virtual-link brief
Modes: Privileged EXEC\User EXEC
Area ID: The area id of the requested OSPFV3 area.
Neighbor: The neighbor interface of the OSPFV3 virtual interface.
Hello Interval: The configured hello interval for the OSPFV3 virtual interface.
Dead Interval: The configured dead interval for the OSPFV3 virtual interface.
Retransmit Interval: The configured retransmit interval for the OSPFV3 virtual interface.
Transmit Delay: The configured transmit delay for the OSPFV3 virtual interface.