Introduction-to-the-Command-Line-Interface-(CLI)-with-the-help-of-Features

Introduction to the Command Line Interface (CLI) with the help of Features

Introduction to the Command Line Interface (CLI) with the help of Features In this article is explaining CLI Features , how to use CLI & how to debug CLI.
If you printed the Cisco IOS Command Reference documents, you’d end up with a stack of paper several feet tall. nobody should expect to memorize all the commands—and nobody does. you’ll use several very easy, convenient tools to assist remember commands and save time typing. As you progress through your Cisco certifications, the exams will cover progressively more commands. However, you ought to know the methods of getting command help. Table 6-2 summarizes command-recall help options available at the CLI. Note that, within the first column, command represents any command. Likewise, parm represents a command’s parameter. for instance , the third row lists command ?, which suggests that commands like show ? and replica ? would list help for the show and replica commands, respectively.

When you enter the ?, the Cisco IOS CLI reacts immediately; that’s , you don’t got to press the Enter key or the other keys. The device running Cisco IOS also redisplays what you entered before the ? to save lots of you some keystrokes. If you press Enter immediately after the ?, Cisco IOS tries to execute the command with only the parameters you’ve got entered so far. the information supplied by using help depends on the CLI mode. for instance , when ? is entered in user mode, the commands allowed in user mode are displayed, but commands available only in enable mode (not in user mode) aren’t displayed. Also, assistance is available in configuration mode, which is that the mode wont to configure the switch. In fact, configuration mode has many various subconfiguration modes, as explained within the section “Configuration Submodes and Contexts,” later during this chapter. So, you’ll get help for the commands available in each configuration submode also . (Note that this could be a good time to use the free NetSim Lite product on the DVD—open any lab, use the question mark, and check out some commands.)

Also Read : Learning MAC Addresses

Cisco IOS stores the commands that you simply enter during a history buffer, storing ten commands by default. The CLI allows you to move backward and forward within the historical list of commands then edit the command before reissuing it. These key sequences can assist you use the CLI more quickly on the exams. Table 6-3 lists the commands wont to manipulate previously entered commands.

The debug and show Commands

By far, the single most popular Cisco IOS command is the show command. The show command has a large variety of options, and with those options, you can find the status of almost every feature of Cisco IOS. Essentially, the show command lists the currently known facts about the switch’s operational status. The only work the switch does in reaction to show commands is to find the current status and list the information in messages sent to the user.

For example, consider the output from the show mac address-table dynamic command listed in Example 6-3. This show command, issued from user mode, lists the table the switch uses to make forwarding decisions. A switch’s MAC address table basically lists the data a switch uses to do its primary job.

The debug command also tells the user details about the operation of the switch. However, while the show command lists status information at one instant of time—more like a photograph— the debug command acts more like a live video camera feed. Once you issue a debug command, IOS remembers, issuing messages that any switch user can choose to see.

The console sees these messages by default. Most of the commands used throughout this book to verify operation of switches and routers are show commands.

Questions related to this topic
  1. What is Debug command in Cisco?
  2. How do I test a syslog on a Cisco switch?
  3. How do I know if my switch is stacked?
  4. How do I stop debugging in Cisco?
  5. What is Introduction to the Command Line Interface (CLI) with the help of Features?
  6. How to use Command Line Interface (CLI) with the help of Features?

This Blog Article is posted by

Infosavvy, 2nd Floor, Sai Niketan, Chandavalkar Road Opp. Gora Gandhi Hotel, Above Jumbo King, beside Speakwell Institute, Borivali West, Mumbai, Maharashtra 400092

Contact us – www.info-savvy.com

https://g.co/kgs/ttqPpZ

Leave a Comment