FUNDAMENTAL
Q: How to configure the router via a tftp server?
myRouter# copy tftp://192.168.100.1/MyRouter-config running-config
Destination filename [running-config]? <enter>
Q: How to save the router configuration to a tftp server?
tftpServer% touch /tftpboot/MyRouter-config
tftpServer% chmod 666 /tftpboot/MyRouter-config
myRouter#copy running-config tftp://192.168.100.1/MyRouter-config
Address or name of remote host [192.168.100.1]? <enter>
Destination filename [MyRouter-config]? <enter>
Q: How to compress the configuration file?
myRouter# configure terminal
myRouter(config)# service compress-config
myRouter(config)# end
Q: How to see what are the files in router's NVRAM?
myRouter# dir nvram:
Q: How to clear an old configuration and set your router to a default factory configuration?
myRouter# erase nvram:
Erasing the nvram filesystem will remove all files! Continue? [confirm] <enter>
[OK]
Erase of nvram: complete
==OR==
myRouter# erase startup-config
Erasing the nvram filesystem will remove all files! Continue? [confirm] <enter>
[OK]
Erase of nvram: complete
Q: How to upgrade the IOS image of a router?
myRouter# copy tftp://192.168.100.1/ISO-image-name.bin flash:
==OR==
myRouter# archive download-sw /overwrite tftp://192.168.100.1/ISO-image-name.tar
Q: How to create partitions in the router's flash memory?
myRouter(config)# partition slot1: 2 8 8
The above creates 2 partitions with 8MB each in size.
INTERMEDIATE
ADVENCED