06 Initialconfig
06 Initialconfig
Console Connectivity
Rollover Cable
Computer
Naveen Patel
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.
Naveen Patel
Emulation Software
WINDOWS Start Programs Accessories Communications HyperTerminal HyperTerminal. Give the Connection Name & Select Any Icon
LINUX # minicom -s
Naveen Patel
Console Connectivity
Con 0
HYD
E0
LAN - 192.168.1.0/24
Naveen Patel
Naveen Patel
Naveen Patel
Naveen Patel
Naveen Patel
Naveen Patel
Naveen Patel
Naveen Patel
abc
Naveen Patel
Naveen Patel
Naveen Patel
Naveen Patel
Naveen Patel
Naveen Patel
System Bootstrap, Version 11.0(10c), SOFTWARE Copyright (c) 1986-1996 by cisco Systems 2500 processor with 2048 Kbytes of main memory Notice: NVRAM invalid, possibly due to write erase. F3: 5575260+78596+410108 at 0x3000060
Naveen Patel
Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Mon 30-Sep-02 20:43 by srani Image 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 00000001 X.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
Naveen Patel
Press RETURN to get started! 00:00:20: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up 00:00:20: %LINK-3-UPDOWN: Interface Serial0, changed state to down 00:00:20: %LINK-3-UPDOWN: Interface Serial1, changed state to down 00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up 00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down 00:00:21: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down 00:12:43: %LINK-5-CHANGED: Interface Ethernet0, changed state to administratively down 00:12:43: %LINK-5-CHANGED: Interface Serial0, changed state to administratively down 00:12:43: %LINK-5-CHANGED: Interface Serial1, changed state to administratively down 00:12:44: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to down 00:12:46: %SYS-5-RESTART: System restarted
Naveen Patel
Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Mon 30-Sep-02 20:43 by srani User Mode Router> enable Privileged Mode Router# show running-config
Building configuration ..... Current configuration: ! version 12.1 no service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname Router
!
interface Ethernet0 no ip address shutdown --More--
Naveen Patel
interface Serial0 no ip address shutdown ! interface Serial1 no ip address shutdown ! no ip classless ! ! line con 0 line aux 0 line vty 0 4 login ! end
Router#
Naveen Patel
Naveen Patel
Router uptime is 1 hour, 28 minutes System restarted by power-on System image file is "flash:/c2500-ipx-ip.bin", booted via flash Cisco 2500(68030)processor(revision N) with 2048K/2048K bytes of memo Processor board ID 11169613, with hardware revision 00000001 X.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 isGlobal 0x2102 Configuration Mode
Router# configure terminal Enter configuration commands, one per line. Router(config)# hostname Hyderabad Hyderabad(config)#
Naveen Patel
Hyderabad(config)# interface ethernet 0 Hyderabad(config-if)# ip address 192.168.1.1 255.255.255.0 Hyderabad(config-if)# no shutdown Configuring Ethernet interface Hyderabad(config-if)# exit line vty 0 4 Hyderabad(config)# Router(config)# interface ethernet <no.> login Hyderabad(config-line)# Router(config-if)# ip address <address><mask> Hyderabad(config-line)# password zoom Router(config-if)# no Telnet shutdown password exitSetting Hyderabad(config-line)#
line con 0 line vty 0 4 Hyderabad(config)# Router(config)# login Hyderabad(config-line)# Router(config-line)# login Hyderabad(config-line)# password ccna Router(config-line)# password <password> Setting the Console Enable password exit Hyderabad(config-line)# Setting password Router(config)#enable password <password> line aux 0 line con Hyderabad(config)# Router(config)# 0 login Hyderabad(config-line)# Router(config)#enable Router(config-line)# secret login <password> Hyderabad(config-line)# password cisco Router(config-line)# password <password> Hyderabad(config-line)# exit Setting Auxilary password enable password cisco Hyderabad(config)# Router(config)# line aux 0 Hyderabad(config)# enable secret zoom Router(config-line)# login ^Z Hyderabad(config)# Router(config-line)# password <password> Naveen Patel
Naveen Patel
interface Serial1 no ip address shutdown ! no ip classless ! line con 0 login password ccna line aux 0 login password cisco line vty 0 4 login password zoom ! end
Hyderabad#
Naveen Patel
Naveen Patel
interface Serial0 no ip address shutdown ! interface Serial1 no ip address shutdown ! no ip classless ! line con 0 login password ccna line aux 0 login password cisco line vty 0 4 login password zoom ! end
Hyderabad#
Naveen Patel
Console Connectivity
Con 0
HYD
E0
LAN - 192.168.1.0/24
Naveen Patel
================================ Welcome to Hyderabad Router ================================ User Access Verification password : **** Hyderabad> enable password : **** Hyderabad#
Naveen Patel
Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\> telnet 192.168.1.1 Connecting ..... ================================ Welcome to Hyderabad Router ================================ User Access Verification password : **** Hyderabad> enable password : **** Hyderabad#
Naveen Patel