Appendix A Cisco IOS Software Basic Skills

Using Commands

Using Commands

This section provides some tips about entering Cisco IOS commands at the command-line interface (CLI).

Abbreviating Commands

You only have to enter enough characters for the router to recognize the command as unique. This example shows how to enter the show version command:

Router # sh v

Undoing Commands

If you want to disable a feature or undo a command you entered, you can enter the keyword no before most commands; for example, no ip routing.

Command-Line Error Messages

Table A-3lists some error messages that you might encounter while using the CLI to configure your router.

Table A-3

Common CLI Error Messages

 

 

 

 

 

Error Message

 

Meaning

How to Get Help

 

 

 

% Ambiguous command:

You did not enter enough

Reenter the command, followed

"show con"

 

characters for your router to

by a question mark (?) with no

 

 

recognize the command.

space between the command and

 

 

 

the question mark.

 

 

 

The possible keywords that you

 

 

 

can enter with the command are

 

 

 

displayed.

 

 

 

% Incomplete command.

You did not enter all of the

Reenter the command, followed

 

 

keywords or values required by

by a question mark (?) with no

 

 

this command.

space between the command and

 

 

 

the question mark.

 

 

 

The possible keywords that you

 

 

 

can enter with the command are

 

 

 

displayed.

 

 

 

% Invalid input detected at

You entered the command

Enter a question mark (?) to

‘^’ marker.

 

incorrectly. The error occurred

display all of the commands that

 

 

where the caret mark (^) appears.

are available in this

 

 

 

command mode.

 

 

 

 

Cisco 1800 Series Integrated Services Routers (Fixed) Software Configuration Guide

 

A-6

OL-6426-02

 

 

 

Page 162
Image 162
Cisco Systems OL-6426-02 manual Using Commands, Abbreviating Commands, Undoing Commands, Command-Line Error Messages