30.06.2015 Views

8.28 MB - Edge-Core

8.28 MB - Edge-Core

8.28 MB - Edge-Core

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Entering Commands<br />

4<br />

Partial Keyword Lookup<br />

If you terminate a partial keyword with a question mark, alternatives that match the<br />

initial letters are provided. (Remember not to leave a space between the command<br />

and question mark.) For example “s?” shows all the keywords starting with “s.”<br />

Console#show s?<br />

snmp sntp spanning-tree ssh startup-config<br />

system<br />

Console#show s<br />

Negating the Effect of Commands<br />

For many configuration commands you can enter the prefix keyword “no” to cancel<br />

the effect of a command or reset the configuration to the default value. For example,<br />

the logging command will log system messages to a host server. To disable<br />

logging, specify the no logging command. This guide describes the negation effect<br />

for all applicable commands.<br />

Using Command History<br />

The CLI maintains a history of commands that have been entered. You can scroll<br />

back through the history of commands by pressing the up arrow key. Any command<br />

displayed in the history list can be executed again, or first modified and then<br />

executed.<br />

Using the show history command displays a longer list of recently executed<br />

commands.<br />

Understanding Command Modes<br />

The command set is divided into Exec and Configuration classes. Exec commands<br />

generally display information on system status or clear statistical counters.<br />

Configuration commands, on the other hand, modify interface parameters or enable<br />

certain switching functions. These classes are further divided into different modes.<br />

Available commands depend on the selected mode. You can always enter a<br />

question mark “?” at the prompt to display a list of the commands available for the<br />

current mode. The command classes and associated modes are displayed in the<br />

following table:<br />

Class<br />

Exec<br />

Table 4-1 Command Modes<br />

Mode<br />

Normal<br />

Privileged<br />

Configuration Global * Access Control List<br />

Interface<br />

Line<br />

VLAN Database<br />

* You must be in Privileged Exec mode to access the Global configuration mode.<br />

You must be in Global Configuration mode to access any of the other configuration modes.<br />

4-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!