Basic router
configuration
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-1
Initial Startup of the Cisco Router
System startup routines
initiate router software
Router falls back to startup
alternatives if needed
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-2
Router Connections: Console
The PC or terminal must support terminal emulation. Terminal
emulation software such as HyperTerminal is usually used.
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-3
Bootup Output from the Router
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-4
Setup: The Initial Configuration Dialog
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-5
Configuring Router Identification
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-6
Overview of Router Modes
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-7
Configuring a Router Password
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-8
Other Console-Line Commands
Router(config)#line console 0
Router(config-line)#exec-timeout 0 0
Prevents console session timeout
Router(config)#line console 0
Router(config-line)#logging synchronous
Redisplays interrupted console input
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-9
Configuring an Interface
Router(config)#interface type number
Router(config-if)#
type includes serial, ethernet, loopback, so on
number is used to identify individual interfaces
Router(config)#interface type slot/port
Router(config-if)#
For modular routers, selects an interface
Router(config-if)#exit
Quits from current interface configuration mode
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-10
Disabling or Enabling an Interface
Router#configure terminal
Router(config)#interface serial 0/0/0
Router(config-if)#shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to administratively down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
Administratively turns off an interface
Router#configure terminal
Router(config)#interface serial 0/0/0
Router(config-if)#no shutdown
%LINK-3-UPDOWN: Interface Seria0/0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line Protocol on Interface Serial0/0/0, changed state to up
Enables an interface that is administratively shut down
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-11
Configuring the Router IP Address
Router#configure terminal
Router(config)#interface fastethernet 0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-12
Router show ip interfaces brief command
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-13
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
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-14
Interpreting the Interface Status
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-15
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)
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-16
Serial Interface show controller Command
Router#show controller serial 0
HD unit 0, idb = 0x121C04, driver structure at 0x127078
buffer size 1524 HD unit 0, V.35 DTE cable
.
.
.
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-17
Saving Configurations
Router#
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration
Router#
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-18
Router command show running-config
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-19
2007 Cisco Systems, Inc. All rights reserved.
ICND1 v1.04-20