06 initialconfig

Upload: jay-mishra

Post on 09-Oct-2015

11 views

Category:

Documents


0 download

DESCRIPTION

06 initialConfig

TRANSCRIPT

  • Console ConnectivityRJ-45 ConnectorConsole PortComputerRollover CableRJ-45 to DB-9Converter

  • Console ConnectivityConnect 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.

  • Emulation SoftwareWINDOWS

    Start Programs Accessories Communications HyperTerminal HyperTerminal.Give the Connection Name & Select Any IconSelect Serial (Com) Port where Router is Connected.In Port Settings Click on Restore Defaults

    LINUX# minicom -s

  • Console ConnectivityE0 LAN - 192.168.1.0/24Con 0

  • abc

  • System Bootstrap, Version 11.0(10c), SOFTWARECopyright (c) 1986-1996 by cisco Systems2500 processor with 2048 Kbytes of main memoryNotice: NVRAM invalid, possibly due to write erase.F3: 5575260+78596+410108 at 0x3000060Restricted 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

  • Cisco Internetwork Operating System Software IOS(tm) 2500 Software(C2500-P-L),Version 12.1(24),RELEASE SOFTWARE(fc1 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

  • 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

  • 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-configUser ModePrivileged Mode

    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

  • 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#

  • 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

  • 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 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 is 0x2102

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

    Hyderabad(config)#

  • Hyderabad(config)#interface ethernet 0Hyderabad(config-if)#ip address 192.168.1.1 255.255.255.0Hyderabad(config-if)#no shutdownHyderabad(config-if)#exitHyderabad(config)#line vty 0 4Hyderabad(config-line)#loginHyderabad(config-line)#password zoomHyderabad(config)#line con 0 Hyderabad(config-line)#loginHyderabad(config-line)#password ccnaHyderabad(config-line)#exitConfiguring Ethernet interfaceRouter(config)# interface ethernet Router(config-if)# ip address Router(config-if)# no shutdownSetting Console passwordRouter(config)# line con 0 Router(config-line)# loginRouter(config-line)# password Setting Telnet passwordRouter(config)# line vty 0 4Router(config-line)# loginRouter(config-line)# password Hyderabad(config)#line aux 0 Hyderabad(config-line)#loginHyderabad(config-line)#password ciscoHyderabad(config-line)#exitSetting Auxilary passwordRouter(config)# line aux 0 Router(config-line)# loginRouter(config-line)# password Hyderabad(config-line)#Hyderabad(config)#exitenable password ciscoHyderabad(config)#^ZHyderabad(config)#Setting the Enable passwordRouter(config)#enable password Router(config)#enable secret enable secret zoom

  • 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.1 255.255.255.0!interface Serial0 no ip addressshutdown--More--.....Building configurationHyderabad#show running-config

  • 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#

  • Hyderabad#copy running-config startup-config[OK]Hyderabad#show startup-configCurrent 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.1 255.255.255.0--More--.....Building configuration.....Building configurationSaving Router ConfigurationRouter#copy running-config startup-config

  • 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#

  • Console ConnectivityE0 LAN - 192.168.1.0/24Con 0

  • ================================Welcome to Hyderabad Router================================User Access Verificationpassword :********enableHyderabad>password :Hyderabad#

  • telnet 192.168.1.1================================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.....