Commands for checking OSPF network type faults on S series switches

9

You can run the following commands on an S series switch supporting OSPF to check information about OSPF network type faults:

display ospf interface
The command output displays information about an OSPF interface.
ospf network-type
This command is used to set the network type of an OSPF interface.

Other related questions:
Commands for checking OSPF network connection faults on S series switches
You can run the following commands on an S series switch supporting OSPF to check information about OSPF network connection faults: display ospf peer The command output displays information about an OSPF neighbor. display ospf error The command output displays OSPF errors. display ospf interface The command output displays information about an OSPF interface. display ospf brief The command output displays brief OSPF information. display ospf cumulative The command output displays statistics on an OSPF process. display ospf lsdb The command output displays information about an LSDB of OSPF. display ospf routing The command output displays OSPF routing table entries. display ospf error packet The command output displays information about OSPF error packets. debugging ospf packet This command is used to enable the debugging information about sent and received OSPF packets. debugging ospf event This command is used to enable the debugging information about OSPF events.

Commands for checking OSPF routing table faults on S series switches
You can run the following commands on an S series switch supporting OSPF to check information about OSPF routing table faults: display ospf peer The command output displays information about an OSPF neighbor. display ospf routing The command output displays OSPF routing table entries. display ospf lsdb The command output displays information about an LSDB of OSPF.

Commands for checking basic OSPF information on S series switches
You can run the following commands on an S series switch supporting OSPF to check basic OSPF information: display ospf abr-asbr The command output displays all entries of routes to the ABR and ASBR. If you run this command on a device in a stub or an NSSA area, information about the ASBR is not displayed. display ospf asbr-summary The command output displays summarization information about OSPF imported routes. If no IP address or mask is specified, summarization information about all OSPF imported routes is displayed. display ospf brief The command output displays brief OSPF information. display ospf cumulative The command output displays statistics on an OSPF process. display ospf error The command output displays OSPF errors. display ospf interface The command output displays OSPF interface information. display ospf lsdb The command output displays information about an LSDB of OSPF. You can select parameters to check LSDB information, such as summary information, information about the LSA of a specified type, the originating device, and the spontaneous LSA. display ospf nexthop The command output displays next-hop information. display ospf peer The command output displays information about an OSPF neighbor. You can troubleshoot OSPF faults and verify the configuration of the OSPF neighbor based on the command output. You can also check whether graceful restart (GR) is enabled on the neighbor. display ospf request-queue The command output displays information about the OSPF request message list. You can locate and rectify OSPF faults based on the command output. display ospf retrans-queue The command output displays information about the OSPF retransmission list. display ospf routing The command output displays OSPF routing table entries. You can select parameters to check information about routes to a specified interface or next-hop address. display ospf vlink The command output displays information about OSPF virtual links. display ospf sham-link The command output displays information about and attributes of all sham links in a specified OSPF process or area. debugging ospf event The command output displays OSPF events. debugging ospf lsa-originate The command output displays the origination information about LSAs. debugging ospf packet The command output displays information about sent and received OSPF packets. Packet types include ACK, DD, Hello, Request, and Update. If no packet type is specified, information about all OSPF packets is displayed. debugging ospf spf The command output displays SPF details, including information about the tunnel interface for IGP shortcuts and forwarding adjacency.

Locate an OSPF fault on an S series switch
You can run the debugging ospf event command on S series switches supporting OSPF to locate most faults. If an OSPF fault cannot be located using this command, run the debugging ospf packet command to enable OSPF packet debugging and check whether OSPF packets are sent and received normally according to debugging information. Note: The debugging commands are used for fault location. Exercise caution when using the commands.

Relationship among the media type, link type, and network type of OSPF on S series switches
Question: What are OSPF media type, link type, and network type? What is the relationship among them? Answer: OSPF media type, link type, and network type are described as follows: Media type: indicates types of physical links, including GigabitEthernet and Ethernet links. Link type (in LSAs): The link type in an LSA is set based on the ospf network-type setting, as defined in RFC 2328. On a point-to-point (P2P) network, the link type is point-to-point. If a device is connected to a transmission network, the link type is transit. If a device is connected to a stub network, the link type is stub. If a device is connected to a virtual link, the link type is virtual. Network type: The OSPF network type can be configured as required regardless of physical media. Currently, OSPF network types include P2P, broadcast, NBMA, and P2MP. Relationship among the media type, link type, and network type: The default OSPF network type depends on the media type, and the OSPF network type determines the link type in an LSA.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top