What is your favorite DEBUG command?

Node ManNode Man Member Posts: 668 ■■■□□□□□□□
Hi Everybody,
What is your favorite, or most used, or most useful, debug command?

Im going with: DEBUG IP OSPF AUTHEN

Just wondering.

Comments

  • networker050184networker050184 Mod Posts: 11,962 Mod
    It depends on what I'm doing really. The most useful debugs I've used are for tracing calls though. Probably 'debug isdn q931' for analog calls and 'debug ccsip messages' for SIP legs.
    An expert is a man who has made all the mistakes which can be made.
  • theodoxatheodoxa Member Posts: 1,340 ■■■■□□□□□□
    I wish there was a way to filter debug messages by severity (Notice, Warning, Error) like servers do, or maybe I just don't know how. I didn't know you could filter them with ACLs (by port, protocol, etc...) until I saw it done in an INE Video. That said, I would have to go with:

    debug ip ospf adj
    debug ip eigrp neigh

    I will sometimes turn these on before entering Network commands. If the commands are entered correctly, I will get the relevant debug messages indicating a new adjacency or neighbor relationship.
    R&S: CCENT CCNA CCNP CCIE [ ]
    Security: CCNA [ ]
    Virtualization: VCA-DCV [ ]
  • MrXpertMrXpert Member Posts: 586 ■■■□□□□□□□
    There's loads of good ones but for OSPF i'd use debug ip ospf packet. BGP: debug ip bgp. EIGRP:debug eigrp packet terse. Other useful ones are debug ip routing, debug ip ospf hello,debug standby terse, debug ip packet (the one where you can specify an ACL to match against)
    I'm an Xpert at nothing apart from remembering useless information that nobody else cares about.
  • prtechprtech Member Posts: 163
    debug all

    j/k

    "debug ip ospf adj" is the only one I've ever used and that was in a lab we use for interviews.
    If at first you do succeed, try something harder.
  • instant000instant000 Member Posts: 1,745
    "undebug all" is the most useful one to me.

    When facing a wall of text, it's usually shortened to "un all" or some other short-hand variant.
    Currently Working: CCIE R&S
    LinkedIn: http://www.linkedin.com/in/lewislampkin (Please connect: Just say you're from TechExams.Net!)
Sign In or Register to comment.