Previous Topic

Next Topic

Book Contents

OSPFv3 Show Commands

show ipv6 ospf

This command displays information relevant to the OSPF router.

NOTE: Some of the information below displays only if you enable OSPF and configure certain features.

show ipv6 ospf abr

This command displays the internal OSPFv3 routes to reach Area Border Routers (ABR). This command takes no options.

show ipv6 ospf area

This command displays information about the area. The areaid identifies the OSPF area that is being displayed.

The following OSPF NSSA specific information displays only if the area is configured as an NSSA.

show ipv6 ospf asbr

This command displays the internal OSPFv3 routes to reach Autonomous System Boundary Routers (ASBR). This command takes no options.

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.

For each link-type and area, the following information is displayed.

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.

show ipv6 ospf interface

This command displays the information for the IFO object or virtual interface tables.

The following information only displays if OSPF is initialized on the interface:

show ipv6 ospf interface brief

This command displays brief information for the IFO object or virtual interface tables.

show ipv6 ospf interface stats

This command displays the statistics for a specific interface. The command displays information only if OSPF is enabled.

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.

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:

If you specify an IP address for the neighbor router, the following fields display:

show ipv6 ospf range

This command displays the set of OSPFv3 area ranges configured for a given area.

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.

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.

show ipv6 ospf virtual-link brief

This command displays the OSPFV3 Virtual Interface information for all areas in the system.

See also

OSPFv3 Commands

OSPFv3 Interface Commands

OSPFv3 Graceful Restart Commands