07-19-2010 07:42 AM
Then use the below commands,
10-27-2012 02:54 AM
I have the same problem.
The configured aggregation on host is lan900 with lan0 and lan3:
900 0 3
But when I execute tcpdump command, I have not output of lan description:
And "lni" tcpdump option, give invalid index:
#tcpdump -lni 900
tcpdump: Invalid adapter index
Thank you in advance.
10-28-2012 06:36 AM
On my system, "man tcpdump" includes this note for the -D option:
The -D flag will not be supported if tcpdump was built with an older version of libpcap that lacks the pcap_findalldevs() function.
So, what are your versions of tcpdump and libpcap?
(If you run tcpdump with invalid options, the usage message will include both tcpdump and libpcap version numbers.)
# tcpdump -V tcpdump version 4.1.1 libpcap version 1.1.1 Usage: tcpdump [-aAbdDefIKlLnNOpqRStuUvxX] [ -B size ] [ -c count ] [ -C file_size ] [ -E algo:secret ] [ -F file ] [ -G seconds ] [ -i interface ] [ -M secret ] [ -r file ] [ -s snaplen ] [ -T type ] [ -w file ] [ -W filecount ] [ -y datalinktype ] [ -z command ] [ -Z user ] [ expression ]
Index numbers are acceptable as an argument for the -i option only if the option -D is supported. If -D is not supported in your current version, you should be using the full interface name, not just the number, e.g. "tcpdump -lni lan900".