Network Kings

cisco command line basics

Hi, Today lets check, The cisco command line basics

1.The “?”

You can use the command in many ways. First, use it when you don’t know what command to type. For example, type at the command line for a list of all possible commands. You can also use it when you don’t know what a command’s next parameter should be.

2. show running-configuration

The show running-config command shows the router, switch, or firewall’s current configuration. The running-configuration is the config that is in the router’s memory. You change this config when you make changes to the router. Keep in mind that config is not saved until you do a copy running-configuration startup-configuration. This command can be abbreviated?sh?run.

3.?show interface

The?show interface?command displays the status of the router’s interfaces. Among other things, this output provides the following:

  • Interface status (up/down)
  • Protocol status on the interface
  • Utilization
  • Errors
  • MTU

4.?no shutdown

The?no shutdown? command enables an interface (brings it up). This command must be used in interface configuration mode. It is useful for new interfaces and for troubleshooting. When you’re having trouble with an interface, you may want to try a?shut?and?no shut.

5. show ip route

The?show ip route?command is used to show the router’s routing table. This is the list of all networks that the router can reach, their metric (the router’s preference for them), and how to get there.

6. show version

The?show version?command gives you the router’s configuration register (essentially, the router’s firmware settings for booting up), the last time the router was booted, the version of the IOS, the name of the IOS file, the model of the router, and the router’s amount of RAM and Flash. This command can be abbreviated?sh?ver.

7. debug

The?debug?command has many options and does not work by itself. It provides detailed debugging output on a certain application, protocol, or service. For example,?debug ip route?will tell you every time a router is added to or removed from the router.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.