[c-nsp] Nexus debug output

Bob Sinclair bob at bobsinclair.net
Tue Jan 3 17:37:05 EST 2012


Thanks Tim! That was it.  Huge help!   

I can also now debug activity in a non-default VDC, but only for activity
on default vrf interfaces.  That seems like a real limitation, but I cannot
find any vrf keywords on debug commands.  I also tried changing
routing-context to the non-default vrf, but that did not help.  Any way to
debug activity in the non-default vrfs?  For example, debug ip ospf events?

Thanks!

-----Original Message-----
From: Tim Stevenson [mailto:tstevens at cisco.com] 
Sent: Tuesday, January 03, 2012 4:32 PM
To: bob at bobsinclair.net; cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] Nexus debug output

Hi Bob,

What are you pinging? I assume it's something out the mgmt0 interface. In
this case, debug ip packet detail will not generate any output - many debugs
are applicable to the inband interface only (as in this case).

One alternative if you want to capture mgmt0 traffic is to use the
ethanalyzer, eg something like:

ethan local int mgmt capture-filter "icmp" limit-captured-frames 20 detail >
bootflash:foo

etc.

Or, if you're just trying to see how the debug logfile works, ping something
connected to something other than mgmt0.

Hope that helps,
Tim


At 12:46 PM 1/3/2012, Bob Sinclair stated:
>Hi,
>
>
>
>I am not able to see any debug output on my Nexus 7K.  I am logged into 
>the default VDC as netadmin.  I have set up a debug logfile.  But when, 
>for example, I turn on 'debug ip packet' then try a ping  I get nothing 
>from 'show debug logfile mydebugs'  I have searched command references, 
>config guides and googled, to no avail.
>
>
>
>Any help would be most appreciated.
>
>
>
>C1-Default# sh debug
>
>
>Output forwarded to file mydebugs (size: 4194304 bytes)
>
>
>Debug level is set to Minor(1)
>
>
>  default for new sessions logging level: 3
>
>
>
>
>
>debug ip packet
>
>
>`end`
>
>
>C1-Default# sh debug logfile mydebugs
>
>
>C1-Default#
>
>_______________________________________________
>cisco-nsp mailing list  cisco-nsp at puck.nether.net 
>https://puck.nether.net/mailman/listinfo/cisco-nsp
>archive at http://puck.nether.net/pipermail/cisco-nsp/




Tim Stevenson, tstevens at cisco.com
Routing & Switching CCIE #5561
Distinguished Technical Marketing Engineer, Cisco Nexus 7000 Cisco -
http://www.cisco.com IP Phone: 408-526-6759
********************************************************
The contents of this message may be *Cisco Confidential* and are intended
for the specified recipients only.




-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1901 / Virus Database: 2109/4720 - Release Date: 01/03/12

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1901 / Virus Database: 2109/4720 - Release Date: 01/03/12
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1901 / Virus Database: 2109/4720 - Release Date: 01/03/12
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1901 / Virus Database: 2109/4720 - Release Date: 01/03/12



More information about the cisco-nsp mailing list