Collecting network packets
It is possible to perform a complete capture of network packets on a NAS
server using the packet-capture command. This is useful when the server is
experiencing protocol errors.
Once started, this command collects all header and content packets from the
NAS server and stores them in a file in NAS memory. This file is named tmp
and it can grow to a maximum size of 32MB or 15000 frames (whichever is
reached first).
To retrieve this file, use the nail command to email it to a user. Alternatively,
use the ssget command to send it to the SMU for later collection. The ssget
command works from an ssc connection and, therefore, is usable locally or
on a server connected to an external SMU.
To analyze the file contents, the following filter applications are supported:
• tcpdump
• tshark
• wireshark
The packet-capture command also supports aggregations as shown in the
example below:
78
Troubleshooting
Hitachi NAS Platform Network Administration Guide