initial configuration of router

34
1

Upload: kishore-kumar

Post on 18-Nov-2014

462 views

Category:

Education


0 download

DESCRIPTION

This study guide is intended to provide those pursuing the CCNA certification with a framework of what concepts need to be studied. This is not a comprehensive document containing all the secrets of the CCNA, nor is it a “braindump” of questions and answers. I sincerely hope that this document provides some assistance and clarity in your studies.

TRANSCRIPT

Page 1: Initial Configuration of Router

1

Page 2: Initial Configuration of Router

2

Console Connectivity

RJ-45 Connector

Console Port

ComputerRollover Cable

RJ-45 to DB-9Converter

Page 3: Initial Configuration of Router

3

Console Connectivity

• Connect a rollover cable to the router console port (RJ-45 connector).

• Connect the other end of the rollover cable to the RJ-45 to DB-9 converter

• Attach the female DB-9 converter to a PC Serial Port.

• Open emulation software on the PC.

Page 4: Initial Configuration of Router

4

Emulation Software

WINDOWS

• Start Programs Accessories Communications HyperTerminal HyperTerminal.

• Give the Connection Name & Select Any Icon

• Select Serial (Com) Port where Router is Connected.

• In Port Settings Click on Restore Defaults

LINUX

• # minicom -s

Page 5: Initial Configuration of Router

5

Console Connectivity

E0

LAN - 192.168.1.0/24

Con 0

Page 6: Initial Configuration of Router

6

Page 7: Initial Configuration of Router

7

Page 8: Initial Configuration of Router

8

Page 9: Initial Configuration of Router

9

Page 10: Initial Configuration of Router

10

Page 11: Initial Configuration of Router

11

Page 12: Initial Configuration of Router

12

Page 13: Initial Configuration of Router

13

abc

Page 14: Initial Configuration of Router

14

Page 15: Initial Configuration of Router

15

Page 16: Initial Configuration of Router

16

Page 17: Initial Configuration of Router

17

Page 18: Initial Configuration of Router

18

Page 19: Initial Configuration of Router

19

System Bootstrap, Version 11.0(10c), SOFTWARECopyright (c) 1986-1996 by cisco Systems2500 processor with 2048 Kbytes of main memory

Notice: NVRAM invalid, possibly due to write erase.F3: 5575260+78596+410108 at 0x3000060

Restricted Rights Legend

Use, duplication, or disclosure by the Government issubject to restrictions as set forth in subparagraph(c) of the Commercial Computer Software - RestrictedRights clause at FAR sec. 52.227-19 and subparagraph(c) (1) (ii) of the Rights in Technical Data and ComputerSoftware clause at DFARS sec. 252.227-7013.

Cisco Systems, Inc. 170 West Tasman DriveSan Jose, California 95134-1706

Page 20: Initial Configuration of Router

20

Cisco Internetwork Operating System Software IOS(tm) 2500 Software(C2500-P-L),Version 12.1(24),RELEASE SOFTWARE(fc1Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Mon 30-Sep-02 20:43 by sraniImage text-base: 0x0302EA54, data-base: 0x00001000

Cisco 2500(68030)processor(revision N) with 2048K/2048K bytes of memoryProcessor board ID 11169613, with hardware revision 00000001X.25 software, Version 3.0.0.Basic Rate ISDN software, Version 1.1.1 Ethernet/IEEE 802.3 interface(s)2 Serial network interface(s)1 ISDN Basic Rate interface(s)32K bytes of non-volatile configuration memory.16384K bytes of processor board System flash (Read ONLY)

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: n

Page 21: Initial Configuration of Router

21

Press RETURN to get started!00:00:20: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up00:00:20: %LINK-3-UPDOWN: Interface Serial0, changed state to down00:00:20: %LINK-3-UPDOWN: Interface Serial1, changed state to down00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down00:12:43: %LINK-5-CHANGED: Interface Ethernet0, changed state to administratively down00:12:43: %LINK-5-CHANGED: Interface Serial0, changed state to administratively down00:12:43: %LINK-5-CHANGED: Interface Serial1, changed state to administratively down00:12:44: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to down00:12:46: %SYS-5-RESTART: System restarted

Page 22: Initial Configuration of Router

22

Cisco Internetwork Operating System Software IOS(tm) 2500 Software(C2500-P-L),Version 12.1(24),RELEASE SOFTWARE(fc1Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Mon 30-Sep-02 20:43 by sraniRouter>enableRouter# show running-config

User Mode: Commands :

ping, telnet, traceroute, enable

User Mode: Commands :

ping, telnet, traceroute, enablePrivileged Mode: Commands :

show, copy, write, reload, configure terminal

Privileged Mode: Commands :

show, copy, write, reload, configure terminal

Current configuration:!version 12.1no service password-encryptionno service udp-small-serversno service tcp-small-servers!hostname Router

!interface Ethernet0 no ip address shutdown--More--

.....Building configuration

Page 23: Initial Configuration of Router

23

interface Serial0 no ip address shutdown!interface Serial1 no ip address shutdown!no ip classless!!line con 0line aux 0line vty 0 4 login!endRouter# show startup-config% Non-volatile configuration memory has not been set up or bad checksumRouter#

Page 24: Initial Configuration of Router

24

show flashSystem flash directory:File Length Name/status 1 8108960 /c2500-ipx-ip.bin[8109024 bytes used, 8668192 available, 16777216 total]16384K bytes of processor board System flash (Read ONLY)

Router#

Router#

Cisco Internetwork Operating System SoftwareIOS (tm) 2500 Software (C2500-JS-L),Version 12.1(17),RELEASE SOFTWARECopyright (c) 1986-1999 by cisco Systems, Inc.Compiled Mon 04-Jan-99 17:27 by ashahImage text-base: 0x03040148, data-base: 0x00001000

ROM: System Bootstrap, Version 11.0(10c), SOFTWAREBOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE (fc1)

--More--

show version

Page 25: Initial Configuration of Router

25

Router uptime is 1 hour, 28 minutesSystem restarted by power-onSystem image file is "flash:/c2500-ipx-ip.bin", booted via flash

Cisco 2500(68030)processor(revision N) with 2048K/2048K bytes of memoProcessor board ID 11169613, with hardware revision 00000001X.25 software, Version 3.0.0.Basic Rate ISDN software, Version 1.1.1 Ethernet/IEEE 802.3 interface(s)2 Serial network interface(s)1 ISDN Basic Rate interface(s)32K bytes of non-volatile configuration memory.16384K bytes of processor board System flash (Read ONLY)

Configuration register is 0x2102

Router#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)# hostname Hyderabad

Global Configuration Mode: Commands :

hostname, interface, enable password, enable secret

Global Configuration Mode: Commands :

hostname, interface, enable password, enable secret

Hyderabad(config)#

Page 26: Initial Configuration of Router

26

Hyderabad(config)# interface ethernet 0Hyderabad(config-if)#ip address 192.168.1.150 255.255.255.0Hyderabad(config-if)# no shutdownHyderabad(config-if)# exitHyderabad(config)# line vty 0 4Hyderabad(config-line)# loginHyderabad(config-line)# password zoom

Hyderabad(config)# line con 0 Hyderabad(config-line)# loginHyderabad(config-line)# password ccna

Hyderabad(config-line)# exit

Configuring Ethernet interfaceRouter(config)# interface ethernet <no.>Router(config-if)# ip address <address><mask>Router(config-if)# no shutdown

Configuring Ethernet interfaceRouter(config)# interface ethernet <no.>Router(config-if)# ip address <address><mask>Router(config-if)# no shutdown

Setting Console passwordRouter(config)# line con 0 Router(config-line)# loginRouter(config-line)# password <password>

Setting Console passwordRouter(config)# line con 0 Router(config-line)# loginRouter(config-line)# password <password>

Setting Telnet passwordRouter(config)# line vty 0 4Router(config-line)# loginRouter(config-line)# password <password>

Setting Telnet passwordRouter(config)# line vty 0 4Router(config-line)# loginRouter(config-line)# password <password>

Interface Mode: Commands :

ip address, no shutdown

Interface Mode: Commands :

ip address, no shutdown

Hyderabad(config)# line aux 0 Hyderabad(config-line)# loginHyderabad(config-line)# password cisco

Hyderabad(config-line)# exit

Setting Auxilary passwordRouter(config)# line aux 0 Router(config-line)# loginRouter(config-line)# password <password>

Setting Auxilary passwordRouter(config)# line aux 0 Router(config-line)# loginRouter(config-line)# password <password>

Hyderabad(config-line)#Hyderabad(config)#

exitenable password cisco

Hyderabad(config)#^ZHyderabad(config)#

Setting the Enable passwordRouter(config)#enable password <password>Router(config)#enable secret <password>

Setting the Enable passwordRouter(config)#enable password <password>Router(config)#enable secret <password>

enable secret zoom

Page 27: Initial Configuration of Router

27

Current configuration:!version 12.1no service password-encryptionno service udp-small-serversno service tcp-small-servers!hostname Hyderabad!enable secret 5 $1$60nw$8XzAJ445GBzx1mgYJTUjo1enable password cisco!interface Ethernet0 ip address 192.168.1.150 255.255.255.0!interface Serial0 no ip addressshutdown--More--

.....Building configurationHyderabad# show running-config

Page 28: Initial Configuration of Router

28

interface Serial1 no ip addressshutdown!no ip classless!line con 0 login password ccnaline aux 0 login password ciscoline vty 0 4 login password zoom!endHyderabad# show startup-config% Non-volatile configuration memory has not been set up or bad checksumHyderabad#

Page 29: Initial Configuration of Router

29

Hyderabad# copy running-config startup-config

[OK]

Hyderabad# show startup-config

Current configuration:!version 12.1no service password-encryptionno service udp-small-serversno service tcp-small-servers!hostname Hyderabad!enable secret 5 $1$60nw$8XzAJ445GBzx1mgYJTUjo1enable password cisco!interface Ethernet0 ip address 192.168.1.150 255.255.255.0--More--

.....Building configuration

.....Building configuration

Saving Router ConfigurationRouter#copy running-config startup-config

Saving Router ConfigurationRouter#copy running-config startup-config

Page 30: Initial Configuration of Router

30

interface Serial0 no ip addressshutdown!interface Serial1 no ip addressshutdown!no ip classless!line con 0 login password ccnaline aux 0 login password ciscoline vty 0 4 login password zoom!endHyderabad#

Page 31: Initial Configuration of Router

31

Console Connectivity

E0

LAN - 192.168.1.0/24

Con 0

Page 32: Initial Configuration of Router

32

Page 33: Initial Configuration of Router

33

================================Welcome to Hyderabad Router================================User Access Verificationpassword :****

****enableHyderabad>

password :Hyderabad#

Page 34: Initial Configuration of Router

34

telnet 192.168.1.150

================================Welcome to Hyderabad Router================================User Access Verificationpassword :****

****enableHyderabad>

password :Hyderabad#

Microsoft Windows 2000 [Version 5.00.2195](C) Copyright 1985-2000 Microsoft Corp.C:\>Connecting .....