Updated March 8, 2023
Introduction to CCNA Commands
CCNA (Cisco Certified Network Associate) is basically one of Cisco’s popular information technology certifications. This is one of the highlighted certificates for the associate level certification on Cisco career. It helps for preparing a better career for any existing associate, specifically in next-generation technology.
Basic CCNA Commands
There are a lot of CCNA commands available for use in the various environment, especially for varieties approach of ‘show’ command, like displaying configuration, interfaces or route IP kind of thing. Some of the basic commands are as mentioned below:
1. Show configuration of a running environment
- show run: One of the key command for all the show kind of command in the CCNA is ‘show run’. Normally CCNA users are using this command very frequently for varieties reasons. It basically provided one details report in page by page approach for explaining or displaying the entire set up details of the available current device. It is including very critical interface information, something like IP address. If somehow one of the devices is shut down, it also gave clear information about that. It also provides one of the critical or secure configurations of the device, such as kind of password information of individual device, network set up like SSH or telnet kind of thing, or explaining that device is ready to login or not, etc. It was also representing of information like the last updated date with the timestamp when configuration got saved, including VLAN information of the saved user.
- Show running-configuration: If somehow people are unable to understand some piece of information of the system set up, or people have no idea about the same, then this command execution will always be useful. In most cases, this command provided some critical information that normally we are looking into for identifying some critical bug.
2. Showing interfaces information
- Show int: It is normally used for using for displaying entire information on specific interfaces. It gives entire information on the configuration of individual devices one after another. If somehow executor needed to execute this command for getting information of specific interface, then they have to provide the specific type and require the number of the interface promptly with the command. Suppose you want to get details information of fast Ethernet 0/1, then you need to execute a command like ‘show int fa 0/1’. This command has provided details information of the device like MAC address, MTU size, a label of bandwidth, IP address, if available provide subnet address, even providing any error of the interface.
- Show interfaces: This command provides one detailed error report view to the executor; from there, they can easily identify where the exact problem is, what can be the possible root cause, given an idea of from where this issue occurred and how we can recover from this scenario.
3. Show the route of IP
- Show ip route: This CCNA command is normally providing details information about the routing table, which holds the information of where we need to send the data.
- Show ip route ospf: Somehow, people are interested in displaying the entire route details of one specific router, then they need to provide the router name after the command. In this case, only the OSPF router will display in details.
4. Show IP interface
- Show ip int: This command is practically provided with the entire layer 3 details of an interface. It is given information of the access list for the incoming and outgoing user, an address of the IP, the mast of network etc.
- Show ip int 0/2: This CCNA command is specifically for displaying layer 3 details of one specific interface.
Intermediate CCNA Commands
There are several other popular commands used by the CCNA developer, which are not very basic commands, but working with CCNA more, these commands are required to execute. Some of them are as mentioned below:
1. Show the list of access for the user
- Show access list: This is used for displaying the access list of a specific device. But it will never give detail information about the interface for which the access list actually applied.
- Show ip interface: It provides detail access list information with interface details and an access list of a specific user on that interface.
- Show ip access-list: It is used for displaying the IPV4 access list in details; it will always exclude other available access lists in the display.
2. Show neighbor detail of cdp
- Show cdp neighbor detail: It is mainly used to display information only about the Cisco devices connected to your using device. It is considering as layer 2 commands of CCNA.
Still, some of the critical tasks need to be done by the CCNA command users frequently. Those tasks also have some advanced kind of commands that need to be executed, mainly used by some of the managerial people to get information regarding VLAN services, trunk ports management, or identifying the proper protocol of the connected device. Those advance commands are as mentioned below:
1. Show VLAN: This is given the entire information of VLAN configured on that specific device. It includes the number, name and specific interfaces information of the configured VLAN in that specific device.
2. Show interface trunk: This CCNA command provides information of entire trunk ports configured on that specific device. It provides detailed information of which port can be used for this specific trunk ports on that device and expecting details of VLAN who can pass through this specific trunk.
3. Show ip protocols: This is one of the advanced commands of CCNA, which are executing to find out detailed information of layer 3 protocol available in the Cisco device. It has given information like RIP, EIGRP or OSPF kind of data.
Tips and Tricks
Some common users who are very frequently using CCNA queries normally use some of the tips and tricks for utilizing output properly. Those kinds of tricks normally solve some user-specific queries and display execution output for understanding the same properly. Some of the very commonly used key tricks are:
1. Automating some important commands: There are many commands that are very frequently used on a daily basis. Suppose for some of the application, the organization needs to be connected device-specific information every day in prompt. To execute the command every day, they can plan to write one script and schedule some specific job on that device that picks up that information and shares with concern peoples.
2. Cisco Buffer tuning: This is one of the critical parts of tuning the device performance. Some of the case where some hang running buffer utilized entire memory space, so network engineer needs to ensure clearing buffer spaces immediate effect for better performance.
The above-mentioned commands are not the ultimate commands available for CCNA certified network engineer. There are a lot of commands which are frequently used in CCNA. But for common troubleshooting, knowledge above command will be enough for the go-ahead for further learning.
This has been a guide to CCNA Commands. Here we have discussed basic, intermediate, and advanced CCNA Commands and tips and tricks to use. You may also look at the following article to learn more –