cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3432
Views
0
Helpful
3
Replies

Debug command not working on a Nexus 5548

yves.haemmerli
Level 1
Level 1

Hi,

My Nexus is a 5548-UP model, NX-OS version :  5.1(3)N2(1b)

I try to debug an OSPF and an ICMP problem using the debug ip ospf command and the debug icmp command but not output appear on the terminal. As the switch is remote, I entered the terminal monitor command of course.

SG01NX01# terminal monitor

SG01NX01# debug ip ospf 1 packets

SG01NX01# show debug

Debug level is set to Minor(1)

default for new sessions logging level: 3

debug ip icmp

debug ip ospf 1 packets

`end`

SG01NX01# ping 10.56.115.1 vrf SG01RT03

PING 10.56.115.1 (10.56.115.1): 56 data bytes

64 bytes from 10.56.115.1: icmp_seq=0 ttl=254 time=1.058 ms

64 bytes from 10.56.115.1: icmp_seq=1 ttl=254 time=0.924 ms

64 bytes from 10.56.115.1: icmp_seq=2 ttl=254 time=0.95 ms

64 bytes from 10.56.115.1: icmp_seq=3 ttl=254 time=7.163 ms

64 bytes from 10.56.115.1: icmp_seq=4 ttl=254 time=9.589 ms

--- 10.56.115.1 ping statistics ---

5 packets transmitted, 5 packets received, 0.00% packet loss

round-trip min/avg/max = 0.924/3.936/9.589 ms

SG01NX01#

No debug message are displayed

What could be the problem ?

Thanks for any hints

Yves

3 Replies 3

Richard Burts
Hall of Fame
Hall of Fame

Yves

I am not particularly expert in Nexus but based on how Cisco usually does things I would have these suggestions:

- can you verify that terminal monitor logging is enabled?

- can you verify that the severity level for terminal monitor logging is set to debug?

HTH

Rick

HTH

Rick

yves.haemmerli
Level 1
Level 1

Hi Rick,

Thank you for your comment. Yes, all was done properly. I rebooted the box and it works fine now... not so nice in deed.

Best regards,

Yves

p-smallwood
Level 1
Level 1

Hi,

I have four 5596 running 5.2(1)N1(1b). All of them are failing to show debug output.

In this example I am trying to redirect debug output to a logfile called "debugs"

nexus# debug logfile debugs
nexus# debug ip icmp
ICMP packet debugging is on
nexus# sh debug
Output forwarded to file debugs (size: 4194304 bytes)
Debug level is set to Minor(1)
 default for new sessions logging level: 3
debug ip icmp
nexus# ping <snip>
5 packets transmitted, 5 packets received, 0.00% packet loss
nexus# sh debug logfile debugs
nexus# dir log:debugs
          0    Oct 19 10:20:05 2015  debugs

I am expecting to see my ping activity showing in the debug logfile but as you can see my logfile is empty (zero bytes).

Does anybody have a solution to this?

Thanks,

Peter

 

 

Review Cisco Networking for a $25 gift card