![]() ![]() The debug sanity command must be issued in privileged exec mode (enable mode) and involves some CPU utilization. With debug sanity, every buffer that is used in the system is sanity-checked when it is allocated and when it is freed. This is a hidden command in most IOS releases, but it sometimes is necessary to debug memory corruption. In some cases, the technical support representative will request that debug sanity be enabled when setting up the core dump. If the exception dump command is not configured, the router reloads without generating a core dump. If you enter a size that is greater than the free memory, and if the exception dump command has been configured, a core dump and router reload is generated after 60 seconds. The value of size is in bytes and is checked every 60 seconds. The previous code is used to define the minimum size of contiguous block of memory in the free pool. The previous code is used to define the minimum free memory pool size. The following exception memory commands are used to trigger a core dump: The configuration commands in this section may be used in addition to those described in the "Basic Setup" section.ĭuring the debugging process, you can cause the router to create a core dump and reboot when certain memory size parameters are violated. The show flash all command will give you a list of devices that you can use for the exception flash command. The following is the router configuration command needed to set up a core dump using a Flash disk: For information on the router platforms and IOS versions that support the Flash disk, refer to the Cisco IOS Release Notes. The large storage capacity of these Flash disks makes them good candidates for another means of capturing core dump. Some router platforms support the Flash disk as an alternative to the linear Flash memory or PCMCIA Flash card. Here, a.b.c.d is the IP address of the host enabled for rcp. Refer to the Cisco IOS Software Configuration document for configuring rcp.Īfter rcp is enabled on the router, the following commands must be added to capture the core dump using rcp: Enabling rcp on a router will not be covered in this appendix. Remote copy protocol (rcp) can also be used to capture a core dump. If the username and password are not configured, the router will attempt anonymous FTP. ![]() Here, a.b.c.d is the IP address of the FTP server. To configure the router for core dump using FTP, use the following configuration commands: Also make sure that you have enough memory on your TFTP server to hold the complete core dump. You can change the name of the core file by adding the exception core-file filename configuration command.ĭepending 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. The core dump is written to a file named hostname-core on the TFTP server, where hostname is the name of the router. Here, a.b.c.d is the IP address of the TFTP server. The following is the router configuration needed for getting a core dump using TFTP: Therefore, if your router's main memory is more than 16 MB, do not use TFTP. This is a limitation of most TFTP applications. If TFTP is used to dump the core file to the TFTP server, the router will dump only the first 16 MB of the core file. ![]() Using Trivial File Transfer Protocol (TFTP).Creating a core dump while the router is functioning in a network can disrupt network operation.įour basic ways exist for setting up the router to generate a core dump: Caution Use the commands discussed in this appendix only under the direction of a technical support representative. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |