0% found this document useful (0 votes)
15 views19 pages

Ccna2 3

This document summarizes a presentation on configuring a router using the command line interface. It discusses connecting to the router via a terminal or PC running terminal emulation software. It demonstrates logging into the router, lists common commands, and explains how to use command help, history, and editing functions. The presentation emphasizes becoming comfortable with router commands through hands-on practice of the lab assignment.

Uploaded by

Alok Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views19 pages

Ccna2 3

This document summarizes a presentation on configuring a router using the command line interface. It discusses connecting to the router via a terminal or PC running terminal emulation software. It demonstrates logging into the router, lists common commands, and explains how to use command help, history, and editing functions. The presentation emphasizes becoming comfortable with router commands through hands-on practice of the lab assignment.

Uploaded by

Alok Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 19

Cabrillo College

Ch. 3 Router CLI


CCNA Semester 2
Rick Graziani, Instructor
Feb. 2, 2002
1
This Presentation
 We will accompany this presentation with the
instructor demonstrating these commands on the
router.
 The lab assignment this will be your first experience
with hands-on router configuration.
 Do this lab several times until you feel very
comfortable with the commands and the user
interface.
 Be sure to review my “8 Steps to Success” which is a
Semester 2 command summary.
– I strongly suggest creating your own command summary
which you will be able to use (2 pages) for the skills-based.
– Creating your command summary will greatly increase your
knowledge of the commands and your success on the skills-
based assessment.

2
Configuring the Router
Router

Console port
Terminal or a
PC with
Rollover cable
terminal
emulation
software

Com1 or Com2 serial port


Connecting to the Router
 Initial router configuration can be done from a terminal or a computer
(PC) running a terminal emulator.
 When using a PC with a terminal emulator, the terminal emulation
program (I.e. HyperTerminal) is functioning only as a “dumb” terminal.
 If you are using a PC with a terminal emulator, you are not using the
TCP/IP or Ethernet – your terminal emulator is functioning as if you
were using a “dumb” terminal connected to the router. 3
Configuring the Router

Terminal Emulator - HyperTerminal


 We will be using a terminal emulator call HyperTerminal from Hilgraeve
Software (www.hilgraeve.com/index.html) and comes with Windows.
 Name: The name does not matter.

4
HyperTerminal (continued)
 Connect using: This will be whichever serial port you are connected
to on your PC. In the lab, we will be using Com2.
 Port Settings: Be sure it is configured as: bps = 9600, data bits = 8,
parity = None, stop bits = 1, flow control = None
– This is critical, as this is how the router is configured and is
expecting the same settings on the “terminal” or communications 5
will be garbled or not occur at all.
<Router Output>

HyperTerminal (Continued)
 Now you are ready to start entering commands.
 Troubleshooting:
 If you are not seeing any output on the screen:
– Is the router powered on?
– Press <return>, the router’s output may have already gone to the
screen before HyperTerm was started.
– Are the port settings and port selection correct?
– Are you connected in the proper serial port?
 If you are not seeing garbled characters: 6
– Check your port settings.
System Bootstrap, Version X.X(XXXX) [XXXXX XX],
RELEASE SOFTWARE
Copyright (c) 1986-199X by Cisco Systems
2500 processor with 4096 Kbytes of main memory
Notice: NVRAM invalid, possibly due to write erase.

<rest of output omitted>

First Output – What should you see?


 I suggest starting HyperTerminal before turning on the router.
 Then, when you turn on the router you will see all of the startup
information as the router boots-up.
 It may take a minute to get this first output after turning on the router,
so be patient.
7
 If you are not seeing anything, be sure to hit return.
Would you like to enter the initial configuration
dialog? [yes]: no
Would you like to terminate autoinstall? [yes]: yes
Note: You may or may not get this second question.

Router>

First Output – First Input


 If the router’s startup-config file was erased (and it should be for our lab
purposes so students start with an unconfigured router), you should
eventually see the message above.
 You will answer no or n to the first question.
 If you get the second question (you may not, depending upon router 8
model and the version of the IOS), answer yes or y.
Output from startup…

<press Return>
Router>

The Router Prompt – Router>


 During the bootup, there is a lot of output to the screen.
 The router prompt, “Router>”, may even get lost in this output.
 So, after a the output to the screen ends, if you do not see the router
prompt, press the <Enter> key a few times.
9
Logging on the Router

Commands
 Note: Until you configure a password, you will not see the “User
Access Verification” message or the “Password:” prompt.
 Router> enable
 Router# disable
 10
Router> exit
Command List

Commands
 Router> ? (user mode command list)
 Router# ? (privilege mode command list)
 -- More – <space bar> – next screen
 -- More – <return> – next line
 -- More – <any key> – back to prompt 11
Command List

Commands
 Router> show ?
 Router# show ip ?
 Don’t worry about the number of these commands, most network
administrators are only familiar with the ones necessary to configure
their routers.
 The Cisco IOS includes the processes and functions necessary to run a 12
wide variety of protocols over many different type of connections.
Command List

Commands
 Router> ena
 Notice that the enable command has been abbreviated to ena.
 Cisco IOS (Internetwork Operating System) commands and parameters
following the command, may be abbreviated up to the point where they
are still uniquely recognizable by the IOS.
 I suggest typing out the entire command until you become familiar with
it.
13
 The <tab> key can be used to complete a command or parameter.
Help Function

Commands
 Notice that you do not have to re-type the command and any
parameters if you used the “?” and pressed enter.
 Rely on the ?, everyone does, including CCIE’s!
 The commands you see after the ?, help function, depends upon user
or privilege mode, and which specific configuration mode (coming
soon). 14
Using IOS Editing Functions

Editing Commands
 Knowing the “hot-keys” are useful for two things:
1. When you are using a terminal which does not have arrow-keys.
2. When you are taking the current version of the CCNA exam, CCNA
2.0.
 Good “short-term” memory studying, just before you take the CCNA
exam.
 On HyperTerm you can use the left and right arrow, backspace, delete,
home and end keys. 15
Using IOS Command History

More IOS History Command


 These are more good “short-term” memory commands.
 On HyperTerm you can use the up and down arrow keys.

16
Router# erase startup-config
Router#
We have not yet discussed this command, so
for now do not worry about it.

Shutting down the Router


 For now, you can just power-off the router.
 Since we have not saved any configuration changes we might have
made (we haven’t made any yet), there is no need to erase the startup-
config.
 We will discuss how to save and erase the configuration file later. 17
Configuring the Router
Router

Console port
Terminal or a
PC with
Rollover cable
terminal
emulation
software

Com1 or Com2 serial port


Just a Terminal…
 Remember, you are not connected via the PC’s NIC – so you cannot communicate
between the router and your computer using TCP/IP.
 This can be confusing for many students, as they open up a separate DOS Window
and expect to be able to ping the router (after it has been configured), because they
have a connection from the com port on the PC to the Console port on the router.
 This connection is only for “terminal” connectivity.
 If the router and the PC are connected via a Cat5 cable between the PC’s NIC card, a
hub/switch, and the router’s Ethernet interface, then TCP/IP commands such as ping 18
can be used. – Similar to two hosts connecting via a hub or switch (later).
Cabrillo College

Ch. 3 Router CLI


CCNA Semester 2
Rick Graziani, Instructor

19

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy