Search This Blog

Sep 29, 2010

Lab 2: Introduction to the Basic User Interface


Objective:  To introduce ourselves to the Command Line Interface; user and privileged
mode, basic help and show commands.


Lab Equipment: We will be using Router 1.  To select Router 1 click on the button
labeled "Router 1" at the top of your screen.
1. Press <enter> to get to the router prompt. 
Router> 
2. You are now in User mode. Type the command that is used to view all the available
commands at this prompt.
Router>? 
3. Type the command used to enter Privilege mode.
Router>enable
Router# 

4. View the available commands in Privilege mode.
Router#? 
5. Type the command that will allow you to see all of the show commands.
Router#show ? 
6. Type the command that will allow you to see the active or running configuration.
Router#show running-config 
7. At the more prompt, hit the key that will show you the next page of information.
<space bar> 

8. Type one of the commands that will log you out of the router. 
Router#exit
or
Router#disable

Basic Lab Summary
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.  
Router>
Router>enable
Password:
Router#

HELP
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 uses 'show ?'  will output
all commands that you can use with the show command.
Router#show ?
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
--More-- 

Configuration Mode
From privilege mode you can enter configuration mode by typing CONFIG T  you can exit
configuration mode type END or <CTL>+z
Router#config t
Router(config)#end