Network Router User Manual

2-3
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)EV2
Chapter 2 Before You Begin
About Cisco IOS Command Modes
The Cisco IOS command interpreter, called the EXEC, interprets and executes the commands 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 returns 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 Syntax
In any command mode, you can get a list of available commands by entering a question mark (?).
Switch> ?
To obtain a list of commands that begin with a particular character sequence, type in those characters
followed immediately by the question mark (?). Do not include a space. This form of help is called word
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 command syntax help, because it reminds 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, check the system prompt and enter the question mark
(?) for a list of available commands. You might be in the wrong command mode or using incorrect
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
Table 2-1 Frequently Used IOS Command Modes (continued)
Mode Description of Use How to Access Prompt