cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
586
Views
1
Helpful
7
Replies

Catalyst 9300 VxLAN packet capture

KevinR99
Level 1
Level 1

Hi, 

I require to chase a problem through my network using the packet capture feature on Cat9300’s.  They are used in an SD Access topology so as soon as the packets leave the Edge switch they are encapsulated in VxLAN.  How do I capture specific packets that are encapsulated in VxLAN?  For example, I wish to chase some dhcp traffic but if I configure an ACL matching DHCP nothing is captured as the packets are VxLAN.  I don’t want to capture all packets and filter out the dhcp ones via wireshark because there is just way too much other traffic filling up my buffer.  I just want the dhcp packets inside vxlan packets.

Any ideas?

Thanks, Kev.

7 Replies 7

@KevinR99 

 Try something like

debug platform software fed switch active punt packet-capture set-filter vxlan

https://www.cisco.com/c/en/us/support/docs/switches/catalyst-9300-switch/221841-troubleshoot-control-plane-operations-on.html

 

Thank you but I know the dhcp process and packet flow.  My requirement is to capture packets as they leave the switch.  Perhaps I was too restrictive in my description.  I used DHCP as an example.  The issue really is how do I capture the traffic that is VxLAN but I want to look at the inner IP packet and match on any TCP/UDP/ICMP header information.  In addition I am not in a position to do a span of the port which is why I require to use the embedded packet capture feature.  That negates the need to actually get a device on another port and span to it.

I appreciate the responses but the question is can we match the inner IP packet information using embedded packet capture.  I want to see the packet the switch puts on the wire.  

I send you PM check it 

MHM

“if I configure an ACL matching DHCP nothing is captured as the packets are VxLAN”

I need a way to filter based on the inner packet in VxLAN.  

spine/leaf#sh mon cap TAC buff br | i DHCP

capture using ACL of leaf and spine IP 
then show brief i dhcp only 

MHM 

any update friend ??

MHM