How to: tcpdump UCS Management traffic.
Rather than regurgitate all the information whole here is the skinny:
- SSH into your UCS chassis (aka primary fabric interconnect)
- connect nxos
- ethanalyzer local interface mgmt limit-captured-frames 2000 write volatile:/mycapture.cap
- ethanalyzer is the command
- local is default
- interface so we can tell it where we want to capture packets from.
- mgmt is the one I'm interested in
- limit-capture-frames is there because it limits to 10 by default and is way too fast when troubleshooting.
- write to output a capture file located in volatile memory (deletes when FI is rebooted.)
- Exit
- connect local-mgmt
- cp volatile:/mycapture.cap scp://username@linuxservername/somepath
- Where 'scp' is defined, can be ftp, sftp, tftp, volatile, or workspace as well.
- The capture file can be read in applications like wireshark.
This helped me figure out my LDAP Authentication issues.
Full article and explanation of how to do what I've outlined above was found here:
Thanks to Jeff for his write-up, otherwise I would've never gotten anywhere with TAC.
Command to search for LDAP related commands.
ethanalyzer local interface mgmt capture-filter "tcp port 389" limit-captured-frames 2000 write volatile:/mycapture.capCommand to search for LDAP related commands.
or if you're using LDAPS you need to scan port 636, although not sure if it will be useful data.
ethanalyzer local interface mgmt capture-filter "tcp port 636" limit-captured-frames 2000 write volatile:/mycapture.cap
ethanalyzer local interface mgmt capture-filter "tcp port 636" limit-captured-frames 2000 write volatile:/mycapture.cap
Comments