PurposeCommand or Action
Listsall commands available for a particular command
mode.
?
Example:
Switch> ?
Step 4
Liststhe associatedkeywords for a command.
command?
Example:
Switch> show ?
Step 5
Liststhe associatedarguments for a keyword.
commandkeyword ?
Example:
Switch(config)# cdp holdtime ?
<10-255> Length of time (in sec) that receiver
Step 6
must keep this packet
Understanding Abbreviated Commands
Youneed to enter only enough characters for the switch to recognize the command as unique.
Thisexample shows how to enter the show configuration privileged EXEC command in an abbreviated form:
Switch# show conf
No and default Forms of Commands
Almostevery configuration command alsohas a no form. In general, use the no form to disable a feature or
functionor reverse the action of a command. For example, the no shutdown interface configuration command
reversesthe shutdown of an interface. Use the command without the keyword no to reenable a disabled feature
orto enable a feature that is disabled by default.
Configurationcommands can also have a default form. The default form of a command returns the command
settingto 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.
CLI Error Messages
Thistable lists some error messages that you might encounter while using the CLI to configure your switch.
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
4OL-29440-01
Using the Command-Line Interface
Understanding Abbreviated Commands