Friday, August 3, 2007

871w - further info

show arp is a good way to see MAC addresses of the router's interfaces and the MAC addresses of the devices that the router is connected to


sailboat#show arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 75.66.88.84 - 001b.90c9.a9ea ARPA FastEthernet4
Internet 10.10.10.2 13 0015.c5ae.b814 ARPA Vlan1
Internet 10.10.10.3 2 0017.3181.d278 ARPA Vlan1
Internet 10.10.10.1 - 001b.90c9.a9e0 ARPA Vlan1
Internet 75.66.88.1 0 0030.b8cb.5e11 ARPA FastEthernet4

copy flash tftp
This is the command to use to copy the current IOS image to whatever tftp server you are using.

show file systems - shows the various places (directories) on a cisco router where files are stored

cd nvram: - this changes the current directory to the nvram directory. To get back to flash, which is apparently the home directory, just type cd by itself

dir - just like DOS! - shows listing of files in the current directory

pwd - just like Linux! - shows what the present working directory is

show file information flash:c870-advsecurityk9-mz.124-4.T7.bin - this gives some info about the file named c870-advsecurityk9-mz.124-4.T7.bin in the flash: directory
delete slot0:myconfig - this erases the file named myconfig in slot0:

Erasing flash memory

In order to reclaim any space taken up by files in Flash memory, you must erase the entire file system using the erase flash: or erase bootflash: EXEC command. These commands reclaim all of the space in Flash memory, erasing all files, deleted or not, in the process. Once erased, these files cannot be recovered. Before erasing Flash memory, save any files you want to keep in another location (an FTP server, for example). Copy the files back to Flash memory after you have erased the device.

This info comes from http://www.cisco.com/univercd/cc
/td/doc/product
/software/ios122/122cgcr
/ffun_c/ffcprt2/fcf006.htm#wp1000939

No comments: