Information Technology Reference
In-Depth Information
Depending on the TFTP server application used, it may be necessary to create on the TFTP server the
empty target file to which the router can write the core. Also make sure that you have enough memory
on your TFTP server to hold the complete core dump.
Using FTP
To configure the router for core dump using FTP, use the following configuration commands:
ip ftp usename username
ip ftp password password
exception protocol ftp
exception dump a.b.c.d
Here, a.b.c.d is the IP address of the FTP server. If the username and password are not configured, the
router will attempt anonymous FTP.
Using rcp
Remote copy protocol (rcp) can also be used to capture a core dump. Enabling rcp on a router will not
be covered in this appendix. Refer to the Cisco IOS Software Configuration document for configuring
rcp.
After rcp is enabled on the router, the following commands must be added to capture the core dump using
rcp:
exception protocol rcp
exception dump a.b.c.d
Here, a.b.c.d is the IP address of the host enabled for rcp.
Using a Flash Disk
Some router platforms support the Flash disk as an alternative to the linear Flash memory or PCMCIA
Flash card. The large storage capacity of these Flash disks makes them good candidates for another
means of capturing core dump. For information on the router platforms and IOS versions that support
the Flash disk, refer to the Cisco IOS Release Notes.
The following is the router configuration command needed to set up a core dump using a Flash disk:
exception flash <procmem|iomem|all> <device_name[:partition_number]> <erase | no_erase>
The show flash all command will give you a list of devices that you can use for the exception flash
command.
Search WWH ::




Custom Search