cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5642
Views
5
Helpful
4
Replies

How to enable tcpdump on APIC to capture snmp and syslogs traffic

dseth
Level 1
Level 1

Hello,

 

How we can enable tcpdump on APIC or leaf to check snmp and syslogs traffic is passing from ACI fabric.

 

Thanks,

Sufiyan

4 Replies 4

Hi @dseth,

For this kind of packet captures, it can be done with the help of Cisco TAC or Cisco Professional Services since root access privilege is required in the Linux shell.

Regards.

Hello @Hector Gustavo Serrano Gutierrez  So is there any way we can check the traffic logs by our self. 

stantiku
Cisco Employee
Cisco Employee

You can use tcpdump on leaf:

tcpdump -i eth0 -f port 514 (in case of default syslog port 514)

Ali Aghababaei
Level 1
Level 1

Hi dseth,

 

SNMP trap generated by leaf on the oob interface

 

Spoiler
leaf1# tcpdump -i eth0 -f port 162

NTP packet received on inband

 

Spoiler
leaf1# tcpdump -x -X -vv -i kpm_inb "port 123"

Tcpdump on knet or tahoe interface

Spoiler
leaf2# tcpdump2 -i tahoe0 host 10.201.101.1

In Gen-2 Hardware you can use tcpdump2 which is script decoding internal header on the top of tcpdump.

 

TCP dump on int kpm_inb on leaf to see if we get ARP (note we only see Rx ARP on this interface, not Tx)

Spoiler
leaf1# tcpdump -i kpm_inb arp

And so on.

 

I hope you will find it helpful.

Regards,

Ali

 

 

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License