Abbreviating Commands; Using No And Default Forms Of Commands; Understanding Cli Messages - Cisco 2950G 24 - Catalyst Switch Software Configuration Manual

Desktop switch
Hide thumbs Also See for 2950G 24 - Catalyst Switch:
Table of Contents

Advertisement

Chapter 2
Using the Command-Line Interface

Abbreviating Commands

You have to enter only enough characters for the switch to recognize the command as unique. This
example shows how to enter the show configuration privileged EXEC command:
Switch# show conf

Using no and default Forms of Commands

Almost every configuration command also has a no form. In general, use the no form to disable a feature
or function or reverse the action of a command. For example, the no shutdown interface configuration
command reverses the shutdown of an interface. Use the command without the keyword no to re-enable
a disabled feature or to enable a feature that is disabled by default.
Configuration commands can also have a default form. The default form of a command returns the
command setting to its default. Most commands are disabled by default, so the default form is the same
as the no form. However, some commands are enabled by default and have variables set to certain default
values. In these cases, the default command enables the command and sets variables to their default
values.

Understanding CLI Messages

Table 2-3
switch.
Table 2-3
Common CLI Error Messages
Error Message
% Ambiguous command:
"show con"
% Incomplete command.
% Invalid input detected
at '^' marker.
78-14982-01
Port number—The number of the physical port on the switch. Refer to your switch for the port
numbers.
lists some error messages that you might encounter while using the CLI to configure your
Meaning
You did not enter enough characters
for your switch to recognize the
command.
You did not enter all the keywords or
values required by this command.
You entered the command
incorrectly. The caret (^) marks the
point of the error.
How to Get Help
Re-enter the command followed by a question mark (?)
with a space between the command and the question
mark.
The possible keywords that you can enter with the
command are displayed.
Re-enter the command followed by a question mark (?)
with a space between the command and the question
mark.
The possible keywords that you can enter with the
command are displayed.
Enter a question mark (?) to display all the commands
that are available in this command mode.
The possible keywords that you can enter with the
command are displayed.
Catalyst 2950 Desktop Switch Software Configuration Guide

Abbreviating Commands

2-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2950

Table of Contents