Most Cisco devices along with the router and switches use Command Line Interface (CLI) commands to configure a Cisco network device. The Graphical User Interface (GUI) is also there for switches, routers, and firewalls but the biggest share of work is done on the CLI.
Here we discuss some of the most used Cisco CLI commands used.
Basic Configuration Commands:
- enable – Logs you into the user executive mode or privilege mode from the user mode. In this mode, you can show anything but won’t be able to make any changes.
- configure terminal – Logs you into the global configuration mode from the privileged mode where you can do configurational changes.
- interface FastEthernet – To change a parameter on the interface, you need to go to the interface configuration mode for the specified fast Ethernet interface with the help of this command.
- show ip interface – It provides information about configuration, the status of the IP protocol, and its services on all interfaces. The command show ip interface brief shows a quick status of the interfaces on the router including their IP address, layer 2, and layer 3 status.
- copy running-config startup-config – It is an enable mode command that saves the running configuration replacing the startup configuration which the device was initialised with.
- copy startup-config running-config – It is an enable mode command that saves the startup configuration with the current running configuration.
- show running-config – It is an enable mode command that shows the router, switch, or a firewall’s current configuration which is the configuration in the device’s memory.
- show running-config interface interface slot/number –
- ip address ip-address mask – It is an interface configuration mode command used to initialise an ip address and subnet mask to the interface.
- no shutdown/ shutdown – It is used in the interface configuration mode to bring up or shut down respectively the interface.
Basic Troubleshooting Commands:
- ping – It is used to check the basic network connectivity.
- traceroute– It traces the end-to-end path of a packet through an internetwork and identifies the problems if there throughout the transmission path.
- show interface – It displays the status(up/down) of the router’s interface and also provides information about protocol status, utilization, errors, and mtu. This command is commonly used for troubleshooting a router or a switch.
- show ip route– It provides detailed information about the routes configured on the router interface.
- show cdp neighbors– It provides information about each neighbor connected to the device.
To learn Cisco Certification
Looking for an IT Job?
Please call us on 1800 159 151, or complete the form below.