Basic Lab Overview
This lab will introduce the Cisco Internetwork Operating System (IOS) command line interface (CLI). You will need to logon to a router and become familiar with the different levels of access on the router. You will also become familiar with the commands available to you in each mode (user or privileged) and the router help facility, history, and editing features.
User vs. Privileged Mode
User mode is indicated with the '>' next to the router name. You can look at settings but can not make changes from user mode. In Privilege mode (indicated by the '#', you can do anything. To get into privilege mode the keyword is ENABLE.
To view all commands available from this mode type: ? and press: enter This will give you the list of all available commands for the router in your current mode. You can also use the question mark after you have started typing a command. For example if you want to use a show command but you do not remember which one it it use show ? this will output all commands that you can use with the show command.
access-expression List access expression
access-lists List access lists
backup Backup status
cdp CDP information
clock Display the system clock
cls DLC user information
compress Show compression statistics
configuration Contents of Non-Volatile memory
From privilege mode you can enter configuration mode by typing CONFIG T you can exit configuration mode type type END or <CTL>+z
The Host Name
The Router's Host Name is used for local identification. When you log into the router you see the Host Name. This is also visible via LAT and CDP. However this is NOT used for TCP/IP address resolution.
The Enable Password
The enable password controls access to privelege mode. This is a VERY important password because in privelege mode you can make configuration changes.
Router(config)#enable password frodo
You can securely encrypt the enable password, by using the ENABLE SECRET command.
Router(config)#enable secret hobbes
If you have both, the enable SECRET is the password. Note: In our labs, we are connected to the AUX, you must have an enable password.
The QUIT Command
The QUIT is command will log you out of the router.
|enable secret password
Enable Secret Command
Enable Password Command
This command defines the enable secret password used to protect access to privileged exec commands. The password is case sensitive and can be defined on the router two different ways. A password set with the "enable password" command is stored as clear text, whereas a password set with "enable secret" is encrypted. For security, configuring the router with an enable secret is preferred. The enable secret always takes precedence if both enable secret and enable password are set.
Note: The unencrypted form of the password "cisco" is shown in the sample configurations. In an actual configuration, the password would appear in an encrypted form: (i.e. enable secret 7 13061E010803 --where 7 denotes the encryption type and 13061E010803 is an encrypted form of the password cisco.) When entering or making changes to the enable secret, always type the password in its unencrypted form. Do not enter the encryption type (7); it is set automatically.
Copyright (c) 2001 Boson Software, Inc. All Rights Reserved.