11-16-2012 07:19 AM - edited 03-07-2019 10:05 AM
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
11-19-2012 12:26 PM
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
11-20-2012 06:18 AM
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
10-19-2015 11:05 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide