19.07.2013 Views

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

- <strong>Cisco</strong> IOS treats a mistyped command as a hostname and will try to resolve it using DNS.<br />

DNS resolution is a time consuming process and is enabled by default, but DNS server is rarely<br />

deployed in lab environments. The no ip domain-lookup global configuration command<br />

disables this default feature.<br />

- The erase startup-config and erase nvram: privileged commands can be used to erase the<br />

startup-config in the NVRAM, which cause a <strong>Cisco</strong> router or switch to perform factory reset and<br />

enter into the initial configuration dialog upon next reboot.<br />

- The reload [at hh:mm day month | in reload-delay] [reason] privileged command warm<br />

boot a <strong>Cisco</strong> device. The reload cancel privileged command cancels a scheduled reboot.<br />

- Below lists the types of memory that can be found in <strong>Cisco</strong> devices:<br />

RAM Used as working storage for packet buffers, ARP cache, routing tables, etc.<br />

The running-config is being stored here.<br />

ROM Normally stores a limited-function bootable IOS image – bootstrap code,<br />

which is not intended for normal operation and is loaded after the POST to<br />

locate and load the full IOS image or ROMmon (the bootstrap code itself)<br />

by examining the configuration register.<br />

Flash memory Either an Intel EEPROM or a PCMCIA card. It is an erasable, rewriteable<br />

and permanent storage. It stores fully functional IOS images and is the<br />

default location where a device obtains its IOS at boot time. It can be used to<br />

store any other files as well (some routers can store configuration files here).<br />

The show flash: privileged command can be used to view the contents of<br />

the Flash memory.<br />

NVRAM Nonvolatile RAM that stores the startup-config.<br />

EEPROM – Electronically Erasable Programmable Read-Only Memory.<br />

- The copy {source-file} {destination-file} privileged command is used to copy files. It is<br />

mainly used to duplicate configuration files as well as backup and upgrade of IOS images.<br />

copy running-config startup-config<br />

RAM NVRAM<br />

copy startup-config running-config<br />

(merge)<br />

copy running-config tftp<br />

copy startup-config tftp<br />

copy tftp startup-config<br />

copy tftp running-config (merge)<br />

Figure 4-1: The IOS Copy Operations<br />

TFTP<br />

- During the IOS upgrade process, the device will try to obtain the following information:<br />

i) The IP address of the TFTP server.<br />

ii) The name of the IOS image file.<br />

iii) Does the Flash memory have available space for the file?<br />

iv) Does the TFTP server actually have the specified file?<br />

v) Does it need to erase or delete the old IOS image?<br />

- The TFTP server can either resides on the same subnet with an interface; or a remote subnet<br />

(requires the default route configuration).<br />

36<br />

Copyright © 2008 Yap Chin Hoong<br />

yapchinhoong@hotmail.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!