Basic Cisco Router
Technology
Presented by: Team ASPRAK JARKOM
POLITEKNIK TELKOM
© 2004, Cisco Systems, Inc. All rights reserved. 1
Internal Configuration Components
© 2004, Cisco Systems, Inc. All rights reserved. 2
Router Internal Components
© 2004, Cisco Systems, Inc. All rights reserved. 3
Internal Components of a 2600 Router
© 2004, Cisco Systems, Inc. All rights reserved. 4
Router External Connections
© 2004, Cisco Systems, Inc. All rights reserved. 5
External Connections on a 2600 Router
© 2004, Cisco Systems, Inc. All rights reserved. 6
Computer or Terminal Console
Connection
© 2004, Cisco Systems, Inc. All rights reserved. 7
Modem Connection to Console or
Auxiliary Port
© 2004, Cisco Systems, Inc. All rights reserved. 8
Establish a Console Session
• All Cisco routers
include an EIA/TIA-232
asynchronous serial
console port. The
console port is an RJ-
45.
• Use an RJ-45 to RJ45
rollover cable with a
female RJ-45 to DB-9
adapter to connect a
PC to the console port
© 2004, Cisco Systems, Inc. All rights reserved. 9
External Configuration Sources
• Configurations can come
from many sources.
• Configurations will act in
device memory.
© 2004, Cisco Systems, Inc. All rights reserved. 10
Steps in Router Initialization
© 2004, Cisco Systems, Inc. All rights reserved. 11
Cisco Device Startup
© 2004, Cisco Systems, Inc. All rights reserved. 12
Setup Mode
© 2004, Cisco Systems, Inc. All rights reserved. 13
Router LED Indicators
Cisco routers use LED indicators to provide
status information. LED indicators will vary for
different Cisco router models.
© 2004, Cisco Systems, Inc. All rights reserved. 14
Router Modes
© 2004, Cisco Systems, Inc. All rights reserved. 15
Cisco IOS User Interface Functions
A CLI is used to enter
commands.
Operations vary on different
internetworking devices.
Users type or paste entries in the
console command modes.
Enter key instructs device to
parse and execute the command.
Two primary EXEC modes are
user mode and privileged mode.
Command modes have
distinctive prompts.
© 2004, Cisco Systems, Inc. All rights reserved. 16
Cisco IOS Software EXEC Mode
• There are two main EXEC modes for
entering commands.
© 2004, Cisco Systems, Inc. All rights reserved. 17
Cisco IOS Software EXEC Mode (Cont.)
© 2004, Cisco Systems, Inc. All rights reserved. 18
User Mode Commands
© 2004, Cisco Systems, Inc. All rights reserved. 19
Privileged Mode Commands
© 2004, Cisco Systems, Inc. All rights reserved. 20
The User Interface Error Indicator
© 2004, Cisco Systems, Inc. All rights reserved. 21
Configuring a Router
© 2004, Cisco Systems, Inc. All rights reserved. 22
Initial Startup of the Cisco Router
System startup routines initiate router software
Router falls back to startup alternatives if needed
© 2004, Cisco Systems, Inc. All rights reserved. 23
Bootup Output from the Router
Unconfigured Versus Configured Router
© 2004, Cisco Systems, Inc. All rights reserved. 24
Setup: The Initial
Configuration Dialog
Router#setup
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: yes
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Basic management setup configures only enough connectivity
for management of the system, extended setup will ask you
to configure each interface on the system
Would you like to enter basic management setup? [yes/no]: no
© 2004, Cisco Systems, Inc. All rights reserved. 25
Setup Initial
Global Parameters
Configuring global parameters:
Enter host name [Router]:wg_ro_c
The enable secret is a password used to protect access to
privileged EXEC and configuration modes. This password, after
entered, becomes encrypted in the configuration.
Enter enable secret: cisco
The enable password is used when you do not specify an
enable secret password, with some older software versions, and
some boot images.
Enter enable password: sanfran
The virtual terminal password is used to protect
access to the router over a network interface.
Enter virtual terminal password: sanjose
Configure SNMP Network Management? [no]:
© 2004, Cisco Systems, Inc. All rights reserved. 26
Setup Interface Summary
First, would you like to see the current interface summary? [yes]:
Interface IP-Address OK? Method Status Protocol
BRI0 unassigned YES unset administratively down down
BRI0:1 unassigned YES unset administratively down down
BRI0:2 unassigned YES unset administratively down down
Ethernet0 unassigned YES unset administratively down down
Serial0 unassigned YES unset administratively down down
Interfaces Found During Startup
© 2004, Cisco Systems, Inc. All rights reserved. 27
Setup Interface
Parameters
BRI interface needs isdn switch-type to be configured
Valid switch types are :
[0] none..........Only if you don't want to configure BRI.
[1] basic-1tr6....1TR6 switch type for Germany
[2] basic-5ess....AT&T 5ESS switch type for the US/Canada
[3] basic-dms100..Northern DMS-100 switch type for US/Canada
[4] basic-net3....NET3 switch type for UK and Europe
[5] basic-ni......National ISDN switch type
[6] basic-ts013...TS013 switch type for Australia
[7] ntt...........NTT switch type for Japan
[8] vn3...........VN3 and VN4 switch types for France
Choose ISDN BRI Switch Type [2]:
Configuring interface parameters:
Do you want to configure BRI0 (BRI d-channel) interface? [no]:
Do you want to configure Ethernet0 interface? [no]: yes
Configure IP on this interface? [no]: yes
IP address for this interface: 10.1.1.33
Subnet mask for this interface [255.0.0.0] : 255.255.255.0
Class A network is 10.0.0.0, 24 subnet bits; mask is /24
Do you want to configure Serial0 interface? [no]:
© 2004, Cisco Systems, Inc. All rights reserved. 28
Command-Line Interface
Command Modes
© 2004, Cisco Systems, Inc. All rights reserved. 29
Logging In to the Router
© 2004, Cisco Systems, Inc. All rights reserved. 30
Router Context-Sensitive Help
Router# clok
Translating "CLOK"
% Unknown command
Router#or clock
computerset
name,19:56:00
or unable to find computer address
% Incomplete command.
Router#
clear Router# clock
clock set 19:56:00 ?
• Command
<1-31> Day of the month
Router# MONTH Month of the year
Prompting
% Incomplete command.
Router# clock set 19:56:00 04 8 • Syntax Checking
Router# ^
set Set%the time and input
Invalid date detected at the '^' marker • Command
Prompting
Router# Router# clock set 19:56:00 04 August
% Incomplete
% command.
Incomplete command.
Router# Router# clock set 19:56:00 04 August ?
hh:mm:ss <1993-2035>
Current Time Year
© 2004, Cisco Systems, Inc. All rights reserved. 31
Configuring a Router Name
© 2004, Cisco Systems, Inc. All rights reserved. 32
Configuring Router Passwords
© 2004, Cisco Systems, Inc. All rights reserved. 33
Disabling or Enabling an Interface
Router#configure terminal
Router(config)#interface serial 0
Router(config-if)#shutdown
%LINK-5-CHANGED: Interface Serial0, changed state to administratively down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down
• Administratively turns off an interface
Router#configure terminal
Router(config)#interface serial 0
Router(config-if)#no shutdown
%LINK-3-UPDOWN: Interface Seria0, changed state to up
%LINEPROTO-5-UPDOWN: Line Protocol on Interface Serial0, changed state to up
• Enables an interface that is administratively shut down
© 2004, Cisco Systems, Inc. All rights reserved. 34
Introducing IP Addresses
Unique addressing allows communication
between end stations.
Path choice is based on destination address.
• Location is represented by an address
© 2004, Cisco Systems, Inc. All rights reserved. 35
Configuring an Ethernet Interface
© 2004, Cisco Systems, Inc. All rights reserved. 36
Configuring Interface Descriptions
An interface description should identify
important information such as a router, a
circuit number, or a specific network segment.
© 2004, Cisco Systems, Inc. All rights reserved. 37
Configuring a Serial Interface
•Enter Global Router#configure terminal
Configuration Mode Router(config)#
Router(config)#interface serial 0
Specify Interface
Router(config-if)#
Set Clock Rate Router(config-if)#clock rate 64000
(on DCE interfaces only) Router(config-if)#
Router(config-if)#bandwidth 64
Set Bandwidth Router(config-if)#exit
(recommended) Router(config)#exit
Router#
© 2004, Cisco Systems, Inc. All rights reserved. 38
Router show interfaces Command
Router#show interfaces
Ethernet0 is up, line protocol is up
Hardware is Lance, address is 00e0.1e5d.ae2f (bia 00e0.1e5d.ae2f)
Internet address is 10.1.1.11/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255
Encapsulation ARPA, loopback not set, keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:07, output 00:00:08, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
81833 packets input, 27556491 bytes, 0 no buffer
Received 42308 broadcasts, 0 runts, 0 giants, 0 throttles
1 input errors, 0 CRC, 0 frame, 0 overrun, 1 ignored, 0 abort
0 input packets with dribble condition detected
55794 packets output, 3929696 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 4 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
© 2004, Cisco Systems, Inc. All rights reserved. 39
Interpreting the Interface Status
© 2004, Cisco Systems, Inc. All rights reserved. 40
Verifying a Serial Interface Configuration
Router#show interface serial 0
Serial0 is up, line protocol is up
Hardware is HD64570
Internet address is 10.140.4.2/24
MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input 00:00:09, output 00:00:04, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/1/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
(output omitted)
© 2004, Cisco Systems, Inc. All rights reserved. 41
Login Banners
© 2004, Cisco Systems, Inc. All rights reserved. 42
show running-config and
show startup-config Commands
In RAM In NVRAM
wg_ro_c#show running-config wg_ro_c#show startup-config
Building configuration... Using 1359 out of 32762 bytes
Current configuration: !
! version 12.0
version 12.0 !
! -- More --
-- More --
• Displays the current and saved configuration
© 2004, Cisco Systems, Inc. All rights reserved. 43
SYUKRON, THANK’S, NUHUN,
MATUR NUWUN
Presented by: Team ASPRAK JARKOM
POLITEKNIK TELKOM
© 2004, Cisco Systems, Inc. All rights reserved. 44