Accessing the CLI

This section describes logging in to and exiting from the router.

Logging In

The system supports a local console session and up to 30 virtual terminal (vty) sessions simultaneously. A virtual terminal session can be a Telnet session, Secure Shell Server (SSH) protocol session, or File Transfer Protocol (FTP) server session.

Note: The vty session factory default is 5. Use the line command to configure up to a maximum of 30 vtys. The configured vtys are shared among all types of connections; for example, if you configure 7 vtys, then no more than a total of 7 SSH plus FTP plus Telnet sessions can simultaneously exist on the router.

To access the system through a local console, attach a terminal to the system console port. To access the system through Telnet, Telnet client software must be installed on your host system. To access the system through SSH, SSH version 2.0 client software must be installed on your host system. To access the system through FTP, FTP client software must be installed on your host system.

You can configure Telnet to validate login requests. See Vty Line Authentication and Authorization Overview in Passwords and Security , for more information. Once Telnet is running on your host system, type in the E Series router name or its IP address and press Enter. To use a name, your network must have a name server.

For example, for Microsoft Windows NT enter:

telnet 192.168.1.13

or

telnet westford2

You are connected to your E Series router when the following prompt appears:

Logging in.host1>

Note: At this point, you have access only to User Exec commands.

To connect through SSH, refer to your SSH client documentation.

Privileged-Level Access

You access the CLI Privileged Exec commands using the enable command.

Defining CLI Levels of Privilege

The CLI has the ability to map any command to one of 16 levels of command privilege (0 to 15). When you access the Privileged Exec mode, you have access to those commands that map to your access level or below. In other words, if you access the Privileged Exec mode at access level 10 (the default), you have access to all commands with an access level setting of 10 or lower.

In general, command privileges fall within one of the following levels:

For information about how to set individual command levels, see CLI Command Privileges.

Accessing the Privileged Exec Level

You can access the Privileged Exec commands using one of 16 levels of command privilege. If you do not enter a privilege level and you are not accessing the router through a RADIUS authentication account, the default CLI access level is 10.

To access the default Privileged Exec mode:

  1. At the prompt, type enable and press Enter.
    host1>enable Password:

    Note: You will be prompted for a password only if your system has been configured with one. Refer to the enable secret and enable password Global Configuration commands described in Managing the System .

  2. Type your password and press Enter.
    Password:******<Enter>host1#

    You can tell that you have access to Privileged Exec mode when the command prompt changes from a > character to a # character.

enable

Moving from Privileged Exec to User Exec Mode

To move from the Privileged Exec mode to the User Exec mode, enter the disable command. For example:

host1#disable host1>

Note: Using the exit command from either the Privileged Exec or User Exec mode logs out of the CLI.

To move to a lower Privileged Exec mode, follow the disable command with an access level value. For example:

host1#show privilege Privilege level is 10 host1# disable 5 host1#show privilege Privilege level is 5

disable

Logging Out

You can log out of the CLI from either the User Exec and Privileged Exec modes by entering the exit command. For example:

host1>exit logging out.

or

host1#exit logging out.