Membership Membership:
Latest New User Latest: vpros
Past 24 Hours Past 24 Hours: 0
Prev. 24 Hours Prev. 24 Hours: 0
User Count Overall: 137

People Online People Online:
Visitors Visitors: 19
Members Members: 0
Total Total: 19

NakedMCSE Computer Tech Support Forums

So you have passed all of the exams and you are now out in the real world of windows servers, linux servers and freebsd servers faced with a tech support problem you have never seen before...

Find free online tech support in the forums below, respecting that advice is free, but work beyond advice is not...

The General forum is provided for off topic discussion.

You need a user account to post - please Register or Login.

Online Tech Support Forums
 
  Forum  Discussions  General  How to debug a Cisco Router in IOS
Previous Previous
 
Next Next
New Post 11/18/2011 3:01 PM
Informative
  Walker
119 posts
www.lairdscomputer.com
10th Level Poster


How to debug a Cisco Router in IOS 

Most of the time you will be connected to the router remotely via telnet or ssh.  In IOS terms this is a virtual terminal.

Debugging by default logs to the physical serial terminal of the router, so the first thing that you have to do is enable logging on your virtual terminal by issuing the following command:

terminal monitor

This will allow debugging messages to be shown.  The next thing that you should do is to make sure all debugging is turned off before turning on what you need.  To do this you issue the following command:

undebug all

Now you actually have to enable debugging on the router:

conf t
logging monitor debugging
logging on
exit


Now that debugging is enabled on the router and set to display on your virtual terminal you can actually enable debugging for the various protocols as you need.  The comands for this vary by protocol:

debug ip udp
debug ip tcp trans


Finally when you are done, you can turn it all back off by issuing the following commands:

undebug all
terminal no monitor


and then disable logging to the virtual terminal in the config:

conf t
no logging monitor
exit


Walker
www.lairdscomputer.com

 
Previous Previous
 
Next Next
  Forum  Discussions  General  How to debug a Cisco Router in IOS
Send me One Million FREE Guaranteed Visitors