Monday, January 14, 2008

Cisco's Core Dumps to an FTP

There are times when you will need to capture a core dump of a Cisco device that has been crashing.

Core dumps contains a copy of the router's entire memory contents. In some circumstances this will help technical support to determine what is causing the crash of your network device or will help the developers to pin-point bugs.

Cisco provides a simple way for doing this. In our case we are going to configure and FTP server as the destination for the core dumps.


By default, the processor memory core dump is written to a file named "hostname-core", or "hostname-coreiomem" on certain platforms with IO Memory.

Lets assume our FTP server is 150.100.1.100, and that we have a username and password of "cisco" to access the server. The configuration will look like:
!
ip ftp source-interface Loopback0 !It is always good practice to source from Loopbacks
ip ftp username ciscoip ftp password cisco
exception protocol ftp ! Here you define select rcp,ftp,tftp or flash
exception dump 150.100.1.100 ! This is our FTP server
!

You can test your configuration by generating a dump without rebooting the device. From enable mode execute "write core" and this will write a dump to your FTP.

For more information see Creating Core Dumps

9 comments:

  1. To create Cisco's dumps, it's good food for thought for newbies like me. I am very impressed that you initiate to post articles about these topics. your work is highly appreciative.

    ReplyDelete
  2. Just found your post by searching on the Google, I am Impressed and Learned Lot of new thing from your post.

    appvn

    ReplyDelete
  3. I visited your site for the first time and started reading this one blog. It kept me stuck to your content. You have written it so well that I can’t keep my eyes off from it and reached the end of this.
    upcoming events in islamabad

    ReplyDelete
  4. Thanks for sharing this I was facing this error for some time. Thank you very much.
    buy logo

    ReplyDelete
  5. This is really a great post, thanks for sharing it.
    This post really helps me.
    Click here
    Click here

    ReplyDelete
  6. I am very happy after visiting your website with very useful information. I am from one of the digital marketing agency... To visit my agency click on link Visitdigitalguru

    ReplyDelete
  7. Thanks for sharing informative content…Find noida software company to know more and Contact us on given no.…

    ReplyDelete
  8. This is great, thanks for the share. Also, read this blog if you are looking to update your existing logo design:

    Edit an existing logo

    ReplyDelete
  9. Wow fabulous post, thanks for sharing it with us.

    Buy law essay

    ReplyDelete