NSX-T Edge Transport Node Packet Captures

NSX-T Edge Transport Node Packet Captures

NSX-T Edge nodes have a rudimentary packet capture tool built in to the box. It is important to have a built-in tool here, as GENEVE encapsulation will wrap just about everything coming out of a transport node.

NSX-T’s CLI guide indicates the method for packet captures - from here we can break it down to a few steps:

get logical-routers  
vrf {{ desired VRF }}  
get interfaces  
set capture session 0 interface {{ interface-id }} direction dual  
set capture session 0 file example.pcap  

The result will be placed in:

/var/vmware/nsx/file-store/

I do have some notes to be aware of here:

set capture session 0 file example.pcap expression port 179