130 likes | 280 Views
Managing Cisco IOS Software. PJC CCNA Semester 2 Ver. 3.0 by William Kelly. Loading the IOS as Part of the Boot Process. Boot Field Values. The 4 least significant bits in the configuration register is called the boot field and the boot field can specify how to load the IOS.
E N D
Managing Cisco IOS Software PJC CCNA Semester 2 Ver. 3.0 by William Kelly
Boot Field Values • The 4 least significant bits in the configuration register is called the boot field and the boot field can specify how to load the IOS
Managing IOS Software Images • Cisco IOS 12 and beyond provides a unified method to address all file systems • The file system is referred to as Cisco IOS File System (IFS) and includes: • Flash • Network File Systems • TFTP • Remote Copy Protocol (RCP) • File Transfer Protocol (FTP) • Reading and writing data • NVRAM • Running Config • ROM
Managing IOS Using tftp • Make sure the tftp server is running • Use the command router#copy run tftp to copy the active configuration to a tftp server • Remember to use the correct syntax (source first and destination second) • Use the command router#copy tftp flash to copy the IOS from a tftp server to flash (note the mode) • The router prompts you for an IP address and then a file name (both of these must be exact!) • You image copy will fail if there is insufficient flash memory • e’s mean erasure taking place and !’s mean datagrams successfully downloaded, and .’s mean the flash can not be found
Managing Router Configuration with Hyperterminal config t ! This is a standard startup file for cisco semester 5 enable secret class ip subnet-zero ip http server no ip domain-lookup line con 0 logging synchronous password cisco login line aux 0 password cisco login line vty 0 4 password cisco login ! end copy run start Use Select all or “capture text” and save the output of show run or show start to a text file, then make modifications
Managing IOS Images with RMONmon • Used to recover a forgotten password or from a system failure • Xmodem or tftp can be used to copy an IOS image to flash if the existing flash IOS is corrupt • If the router boots into ROMmon mode unexpectedly you should check: • the boot field of the config register with sh version • the system boot commands in the startup-if (if they are used are they in the right order)
Using Environmental Variables to Restore IOS Images EXAMPLE IP_ADDRESS=192.168.0.2 IP_SUBNET_MASK=255.255.255.0 DEFAULT_GATEWAY=192.168.0.1 TFTP_SERVER=192.168.0.3 TFTP_FILE=moscow/originalfromcisco/2500-js-l_122.3.bin
Verifying the File System • show version – show source of IOS used to boot, total amount of flash memory, boot field settings, IOS version and release number, etc. • show flash – Shows the amount of flash memory available on flash, image(s) stored there, etc.