Post on 10-Jun-2015
description
transcript
1
2
Console Connectivity
RJ-45 Connector
Console Port
ComputerRollover Cable
RJ-45 to DB-9Converter
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.
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
• Switch on the Router and press Ctrl+Break within 60 seconds to go into Router ROMMON mode.
LINUX
• # minicom –s
• Switch on the Router and press Ctrl+A, Z and F within 60 seconds to go into Router ROMMON mode.
5
Console Connectivity
E0
LAN - 192.168.1.0/24
Con 0
6
7
8
9
10
11
12
13
abc
14
15
16
17
18
19
System Bootstrap, Version 11.0(10c), SOFTWARECopyright (c) 1986-1996 by cisco Systems2500 processor with 2048 Kbytes of main memory
> o/r 0x2142> i00:01:48: %SYS-5-RELOAD: Reload requested
: ROM Monitor Mode :If it is Fixed Router
> o/r 0x2142> i
If it is Modular Router ROMMON> confreg 0x2142ROMMON> reset
: ROM Monitor Mode :If it is Fixed Router
> o/r 0x2142> i
If it is Modular Router ROMMON> confreg 0x2142ROMMON> reset
20
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
21
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 memory.Processor 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.8192K bytes of processor board System flash (Read ONLY)
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: n
22
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
23
Cisco Internetwork Operating System Software IOS(tm) 2500 Software(C2500-P-L),Version 12.0(24),RELEASE SOFTWARE(fc1Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Mon 30-Sep-02 20:43 by sraniRouter>enableRouter# show running-config
Current configuration:version 12.1no service password-encryptionno service udp-small-serversno service tcp-small-servers!hostname Router!no ip routing!interface Ethernet0 no ip address--More--
Building configuration .....
24
shutdown!interface Serial0 no ip addressshutdown!interface Serial1 no ip addressshutdown!no ip classless!line vty 0line con 0line aux 0!end
Router#Router#Router#
25
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 startup-config
26
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#Hyderabad#Hyderabad#
27
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)Hyderabad uptime is 14 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)--More--
show version
28
ROM: System Bootstrap, Version 11.0(10c), SOFTWAREBOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE (fc1)
Hyderabad 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.8192K bytes of processor board System flash (Read ONLY)
Configuration register is 0x2142
Router#
29
copy startup-config running-config
Hyderabad# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Hyderabad(config)# interface Ethernet 0Hyderabad(config-if)# no shut
Hyderabad(config)# enable secret zoom
Router#
Hyderabad(config)# config-register 0x2102Hyderabad(config)# ^Z
Building configuration.....
[OK]
Hyderabad# write
Hyderabad#
Hyderabad(config-if)# exit
Building configuration.....
[OK]
30
Hyderabad#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)Hyderabad uptime is 14 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)--More--
show version
31
ROM: System Bootstrap, Version 11.0(10c), SOFTWAREBOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE (fc1)
Hyderabad 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.8192K bytes of processor board System flash (Read ONLY)
Configuration register is 0x2142 (will be 0x2102 at next reload) Hyderabad# reload