Use the following procedure to collect packet traces:
Start collecting packet trace using the following command:
trace-network if-name packet-size 1600 [host ip-address] [port port_num]
Specify the interface name to collect packet traces from.
When performing auto-configuration using simple configuration mode, specify the name of the interface to collect packet traces from (lan0.x), referring to "Appendix I Auto-configuration and Operations of Network Devices Using Simple Configuration Mode" in the "Design Guide CE".
When performing auto-configuration of an NS Appliance using sample scripts in user customization mode, specify the name of the interface to collect packet traces from (lan0.x), referring to "Appendix G Sample Script for Automatic Configuration and Operation of Network Devices" in the "Design Guide CE".
When performing auto-configuration of an NS Appliance using a script created in user customization mode, specify the name of the interface to collect packet traces from (lan0.x) according to the specification in the created script.
When the communication data addressed to a particular server is needed, specify the IP address of that server.
When the communication data addressed to a particular service port is needed, specify the IP address of that service port.
Once the trouble being investigated occurs, immediately enter the following command to save the collected packet trace data to the NS Appliance.
save trace-network if-name
When the command is executed, the destination file name of the packet trace data is displayed.
net-if-name-yyyy.mm.dd-HH.MM.SS.tgz
The file name is composed of the year, month, date, hour, minute, and second when the command was executed.
Specify the interface name specified in step 1.
Stop tracing using the following command:
no trace-network if-name
Specify the interface name specified in step 1.
Export the packet trace data saved in step 2. to the FTP server.
For details on how to export log data, refer to "5.5.3 Exporting Data to an FTP Server".
After exporting the packet trace data to an FTP server, delete the saved packet trace data.
rm filename
Specify the file name displayed when the command is executed in step 2.