2-3
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)EV2
Chapter2 Before You Begin
About Cisco IOS Command Modes
The Cisco IOS command interpreter, called the EXEC, interprets and executes the co mmands you enter.
You can abbreviate commands and keywords by entering just enough characters to make the command
unique from other commands. For example, you can abbreviate the show command to sh and the
configure terminal command to config t.
When you type exit, the CLI backs out one command mode level. In general, typing exit retu rns you to
global configuration mode. To exit configuration mode completely and return to privileged EXEC mode,
press Ctrl-Z or end.
Listing Cisco IOS Commands and SyntaxIn any command mode, you can get a list of available commands by e nter ing a qu estion ma rk (?) .
Switch> ?
To obtain a list of commands that begin with a particul ar ch ar ac ter s equ en ce , type i n tho s e ch ar act ers
followed immediately by the question mark (?). Do not include a space. This f orm of h elp is c alled w ord
help, because it lists the words for you.
Switch# c?
calendar cd clear clock configure
connect copy
To list keywords or arguments, enter a question mark in place of a keyword or argument. Include a space
before the question mark. This form of help is called c omm and synta x help , beca use i t remi nd s you
which keywords or arguments are applicable based on the command, keywords, and arguments you have
already entered.
Switch# configure ?
memory Configure from NV memory
network Configure from a TFTP network host
overwrite-network Overwrite NV memory from TFTP network host
terminal Configure from the terminal
<cr>
To redisplay a command you previously entered, press the Up-arrow key. You can continue to press the
Up-arrow key to see more previously issued commands.
Tips If you are having trouble entering a command, che ck the system prompt and enter the question mark
(?) for a list of available commands. You might be in the wrong command mode or using inco rr ect
syntax.
Threshold list configuration To configure alarm threshold list
attributes and thresholds. From the global configuration
mode, enter the threshold-list
command.
Switch(config-t-list)#
Threshold configuration To configure alarm threshold
attributes. From threshold list
configuration mode, enter the
threshold command.
Switch(config-threshold)#
1. Automatic Protection Switching
Table2-1 Frequently Used IOS Command Modes (continued)
Mode Description of Use How to Access Prompt