cc/td/doc/product/access/acs_mod/3303e
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Cisco IOS Software Overview

Cisco IOS Software Overview

This chapter describes the different user levels and modes available on the Cisco Optical Networking System (ONS) 15304. It also describes how to use the context-sensitive help and how to review the command history.

User Levels

The Cisco ONS 15304 supports four levels of users:

Table 1-1 describes the commands accessible to users at different privilege levels. Users can access commands at their privilege level and at all lower levels.


Table 1-1: Commands by Privilege Level
Privilege Level User Type Commands Accessible

4

System administrator

copy running-config, privilege, reload, username

3

System maintenance

ine copy memory, ine delete, ine edit, ine enter, ine init-registers, ine operate lpbk, ine operate lprotnsw, ine operate pprotnsw, ine operate sw-dx-eqpt, ine operate syncnsw, ine post run, ine report memory, ine set memory, ine swap memory, show running-config, show startup-config

2

System retrieval

Most show commands

1

Guest

exit, login

Modes

There are five modes available when using the Cisco IOS software on the Cisco ONS 15304:

Cisco IOS software provides a command interpreter called EXEC. EXEC interprets the commands you type and carries out the corresponding operations.

EXEC has four levels of access to commands: user privilege levels 1, 2, 3, and 4.

When you first log in to the Cisco ONS 15304, you will automatically be in guest EXEC mode. To exit guest EXEC mode, type exit at the prompt. To access privileged commands, log in with an administrator-defined username and password that has been assigned privilege level 2, 3, or 4. You will have access to commands that correspond to your privilege level. See Table 1-1 for a list of commands by privilege level.

The EXEC command interpreter waits for a specified interval of time for you to begin input. If no input is detected, the EXEC breaks the current connection and you log in to the Cisco ONS 15304 again. The default interval the router waits for input is 10 minutes; an interval of zero specifies that the router will not time out. The no exec-timeout command removes the timeout definition and is the same as entering the exec-timeout 0 command. The command is entered in line configuration mode.

You enter privileged EXEC mode by entering login at the guest EXEC prompt. Because many of the privileged commands set operating parameters, privileged access should be password protected to prevent unauthorized use. Exit privileged EXEC mode by entering exit or logout. Type exit to log out of the Cisco ONS 15304.

Guest Mode

In guest EXEC mode you can display the available commands (exit and login) by typing a question mark (?) at the guest EXEC prompt.

Privileged Mode

In privileged EXEC mode you can display the available commands by typing a question mark (?) at the privileged EXEC prompt. The available commands are based on your user privilege level (2, 3, or 4).

The screen displays 22 lines at one time. The "--More--" prompt at the bottom of the display indicates that multiple screens are available as output. You can resume output of the next available screen by pressing the spacebar. To display the next line, press the Return key (or on some systems, the Enter key). Press any key to return to the privileged EXEC prompt.

Screen output varies with Cisco IOS software levels and router configurations.

ROM Monitor Mode

The command-line interface (CLI) allows you to configure the Cisco ONS 15304. ROM monitor mode occurs if your router does not find a valid system image or if you interrupt the boot sequence during startup. The ROM monitor prompt is the angle bracket (>). On the Cisco ONS 15304, rommon> is the default ROM monitor prompt. The continue command takes you from ROM monitor to user EXEC mode. For more information on ROM monitor, see Appendix A in the Cisco Optical Networking System 15304 Software Configuration Guide.

Global Configuration Mode

Global configuration commands apply to features that affect the system as a whole. You initiate global configuration mode by entering the configure command at the privileged EXEC mode prompt. Global configuration mode is indicated by the device host name (config) followed by the pound sign (#). To exit to privileged EXEC mode, enter exit, end, or press Ctrl-Z at the prompt.

Global configuration mode is available only to users with privilege level 3 or 4.

Other Configuration Modes

Other configuration modes can be accessed from the global configuration mode. These modes provide specific multiple-line configurations that target individual interfaces or functionality such as modifying the operation of an interface, configuring multiple virtual interfaces on a single physical interface, or setting an IP routing protocol. There are more than 17 different specific configuration modes. These modes are available only to users with privilege level 3 or 4. For more information on other configuration modes, see the Cisco Configuration Fundamentals Configuration Guide.

Context-Sensitive Help

Context-sensitive help allows you to get a list of any keywords and arguments associated with a specific command. Both user and privileged EXEC modes support context-sensitive help.

You can abbreviate the commands and keywords to the number of characters that allow a unique abbreviation. For example, you can abbreviate the clock command to clo. However, if you enter a nonunique abbreviation, context-sensitive help will provide you with all applicable commands for that abbreviation. For example, entering cl will return both the clear and clock commands.

When using context-sensitive help, the space (or lack of a space) before a question mark (?) is significant. To obtain a list of commands that begin with a particular character sequence, type in those characters followed immediately by a question mark (?). Do not include a space. This form of help is called word help, because it completes a word for you.

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.

Reviewing Command History

The user interface provides a history or record of commands you have entered. This feature is particularly useful for recalling long or complex commands or entries. With the command history feature, you can complete the following tasks:

By default, command history is enabled and the system records 10 command lines in its history buffer. To change the number of command lines the system will record during the current terminal session, use the terminal history size or history size command. The maximum number of commands is 256.

To recall commands in the history buffer beginning with the most recent command, press Ctrl-P or the Up arrow key. Repeat the key sequence to recall successively older commands.

To return to more recent commands in the history buffer after recalling commands, press the Ctrl-N or the Down arrow key. Repeat the sequence to recall successively more recent commands.

After you enter the unique characters for a command, press the Tab key and the interface will finish the entry.

On most laptop computers, you might also have additional select and copy facilities available. Copy a previous command string, then paste or insert it as your current command entry and press Return.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Feb 23 11:04:52 PST 2000
Copyright 1989 - 2000©Cisco Systems Inc.