cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1834
Views
0
Helpful
1
Replies

N5K Debug IP Packet

kstamandk
Community Member

In the IOS world, I am used to using "debug ip packet xxx"  where xxx is an ACL during a console session.

Attempting to do the same thing in NX-OS but I'm not able to get any traffic back. Although I see the debug ip packet xxx is not an option, it looks like sufficient other options are available to return traffic.

Tried different combintations, but not luck so far;

- debug ip packet detail source 1.1.1.1/32

- debug ip packet detail protocol  xxxx

- debug ip packet detail address 1.1.1.1/32

logging monitor set to debug (7)

Is this supported on NX-OS?

Additional settings I need to configure?

Thanks.

1 Reply 1

Lucien Avramov
Level 11
Level 11

There are two types of traffic you can be interested in: traffic going to the N5K, to the mgmt0 or SVI interface, traffic going trough the N5K (switched traffic).

1. For the first category you can use ethanalyzer and display the traffic on the CLI or capture it in a pcap file and export it to a computer to open it in wireshark

2. For the second type of traffic, you need to use a SPAN session.

Review Cisco Networking for a $25 gift card