The majority of the command for multiarea OSPF verification is the same as the command we already used in the verification of single area OSPF. The command, “show ip ospf neighbor”, “show ip ospf” and show ip ospf interface are the same command. The following command specifically includes the information of multiarea OSPF.
show ip protocols
show ip ospf interface brief
show ip route ospf
show ip ospf database
The command can also be used for OSPFv3, simply substitute ip with ipv6. In this article, we will use the same topology of OSPF, which we have used in the previous article. Figure 1 illustrates the OSPF topology.
Verify General Multiarea OSPF Settings
We can verify the general multiarea OSPF setting using the “show ip protocols” command. The output of the command displays the configured routing protocols on a router including router ID, several areas in the router, and networks included within the routing protocol configuration. Figure 2 illustrates the OSPF settings of R2. Notice that the command shows that there are two areas. The Routing for Networks segment identifies the networks and their particular areas.
We can also use the “show ip ospf interface brief” command to show brief OSPF-related information of OSPF-enabled interfaces. This command provides helpful information, such as the OSPF process ID, the area that the interfaces are in, and the cost of the interface.
Verify the OSPF Routes
The “show ip route” is the most common command to verify a multiarea OSPF configuration. We can add the “ospf” parameter to display only OSPF-related information.
Figure 3 displays the routing table of R2. See the O IAentries in the routing table, which illustrates networks learned from other areas. O specificallyrepresents OSPF routes, andIArepresents interarea routes, meaning that the route is originated from another area.
To examine the contents of the LSDB we can use “show ip ospf database” command. Several options are available with this command. Figure 4 illustrates the content of the LSDB of R2.
Notice R2 has database entries for area 0 and area 10, so ABRs must maintain a separate LSDB for each area to which they belong. In the output, Router Link States identifies the number of routes for each area. The Summary Net Link States for identifies networks learned from other areas and which neighbour advertised the network for both areas.
Verify Multiarea OSPFv3
We can verify the OSPFv3 with similar verification commands with only substitute ip with ipv6. We can use all the commands discussed for OSPFv2 verification.
The Show commands display important information about the device’s configuration and operation in Cisco IOs Command Line Interface (CLI) mode. Network administrators can use different show commands to check device status, interfaces, processes, and configuration files to confirm the device’s operational status.
The network administrator can also view the router’s process and function and verify it using show commands. The important show commands of Cisco IOS are the following:-
show version
2. show running-config as well as show startup-config
3. show arp
4. show interfaces
5. show protocols and also show ip protocols
6. show ip route and show ip interface brief also
7. show cdp neighbours
Show Commands Details
show version
The show version command on the Cisco router displays hardware information. The command output gives insight into the router’s capabilities. The abbreviation of this command is sh ver. The output of the show version command consists of the following unique information:-
IOS version
Image filename
System uptime
Type of processor and also show the amount of RAM
Number of ports on the switch
Amount of flash memory
Current configuration register
The figure below illustrates the output of the show version command on the Cisco router.
Show running-config
We can use this command to display the configuration information running on the terminal. We can also use this command with the show startup-config command to compare the information in running memory to the information stored in NVRAM or a place specified by the CONFIG_FILE. The abbreviation of this command is sh ru
show arp
This command displays the router’s ARP table. The ARP table contains the resolved IPv4 address to MAC address mappings. If a host can’t ping? Ensure you’re getting an arp entry of the host that you want to ping using the “show arp command“. The abbreviated command is Sh ar
show interfaces
The show interface command displays all types of interfaces with configuration and statistics. Its output provides a lot of information. The abbreviation of this command is sh int. The figure below illustrates the output of the show interface command.
show protocols
This command displays the status of the configured layer three protocols on all Cisco router interfaces. This command can be abbreviated as sh prot
show ip route
The show ip route command is used to show the router’s routing table. The routing table lists all networks the router can communicate, their metrics, and how to communicate with them. This command can be abbreviated with sh ip ro. The command also has parameters after route (to), likesh ip ro rip for all RIP routes. The figure below illustrates the output of the show ip route command
show ip interface brief
The show ip interface brief is one of Cisco devices’ most frequently used commands. This command provides an abbreviated output compared to the show ip interface command. It outlines the key information for all the network interfaces on a router. The figure below illustrates the output of this command.
The output displays all router interfaces, including the IP address assigned interfaces, if any, and their operational status. The show ip interface brief command can also be used to verify the status of the switch interfaces.
Show CDP neighbours
We can use this command to display information about currently connected Cisco devices. Cisco Discovery Protocol (CDP) is a proprietary protocol that will only detect Cisco products. To show detailed information about neighbouring devices discovered using CDP, use the show cdp neighbours command in privileged EXEC mode. The command can also be abbreviated with sh cd ne.
FAQs
Q1: What are Cisco IOS show commands?
A1: Cisco IOS show commands display a Cisco device’s current status and configuration. They provide valuable information for troubleshooting and monitoring network performance.
Q2: Why are show commands important for network administrators?
A2: Show commands are important for network administrators because they help diagnose problems, verify configurations, and ensure the network runs smoothly. They also provide insights into various aspects of the network, such as interfaces, routing tables, and device status.
Q3: Can you list some common Cisco IOS show commands?
A3: Some common Cisco IOS show commands include:
show ip interface brief
show version
show running-config
show ip route
show interfaces
show vlan
show cdp neighbors
Q4: How do I use the show ip interface brief Command?
A4: The show ip interface brief command provides a summary of the interfaces on a Cisco device, including their IP addresses and status. It is useful for quickly checking the status of all interfaces.
Q5: What information does the show version command provide?
A5: The show version command displays information about the Cisco IOS software version, device uptime, system image file, and hardware details. It is useful for verifying the software and hardware configuration of the device.
Q6: How can I view the current configuration of my Cisco device?
A6: You can view the current configuration of your Cisco device using the show running-config command. This command displays the active configuration that is currently running on the device.
Q7: What does the show ip route command do?
A7: The show ip route command displays the routing table of the device, showing all the routes known to the router and how they were learned. It is useful for understanding the routing decisions made by the device.
Q8: How can I check the status of a specific interface?
A8: You can check the status of a specific interface using the show interfaces command followed by the interface identifier (e.g., show interfaces GigabitEthernet0/1). This command provides detailed information about the interface, including its status, errors, and statistics.
Q9: What is the purpose of the show vlan command?
A9: The show vlan command displays information about VLANs configured on the device, including VLAN IDs, names, and associated ports. It is useful for managing and troubleshooting VLAN configurations.
Q10: How do I use the show cdp neighbors command?
A10: The show cdp neighbors command displays information about directly connected Cisco devices discovered using the Cisco Discovery Protocol (CDP). It provides details such as device IDs, interfaces, and platform information.
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.