This utility is useful for sniffing the network traffic and is quite essential for diagnosing
all kind of network problems.
Examples:
tcpdump –i eth0 src 10.10.10.11 and dst 195.10.20.30 and tcp port 25
tcpdump –i eth2 host 10.11.12.13 and ether host 00:a0:b0:c5:e3:f0
First example shows all the traffic on eth0 originating from 10.10.10.11 and destined
for 195.10.20.30 that has source or destination port of 25.
Second example shows traffic on eth2 from or to host 10.11.12.13 and with specific src
or dest mac address.
iptraf
This useful screen oriented utility reports various traffic statistics about the local net-
work sorted by interface, connection or LAN station.
Setting download parameters
To be able to download the firmware, or save and restore configurations, you need to
set download parameters first:
show|set dl|download [<dlparam> [<value>]]
<dlparam>:
src
<proto>://[<user>@]<host>/<dir>
proto <proto> # <proto>=tftp|scp
user
<user>
host
<host>
dir
<dir>
set download command configures the way files are transferred over the network.
There are two protocols available: tftp and scp (file copy over ssh). If set, save(load)
commands use that protocol to store(retrieve) the files.
Example:
sh dl
src: scp://[email protected]//home/joe
means, that the config files and firmware will be save to (restored from) the host
241.225.55.5 under the user joe from the directory /home/joe.
Managing configurations
For saving, loading and restoring configruation you can use the following commands:
22
TRAFFIC MANAGER E-4000