Top
ServerView Resource Orchestrator Cloud Edition V3.2.0 NS Option Instruction
FUJITSU Software

5.4.2 Collecting Packet Traces

Use the following procedure to collect packet traces:

  1. Start collecting packet trace using the following command:

    trace-network if-name packet-size 1600 [host ip-address] [port port_num]
    if-name

    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.

    ip-address

    When the communication data addressed to a particular server is needed, specify the IP address of that server.

    port_num

    When the communication data addressed to a particular service port is needed, specify the IP address of that service port.

  2. 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.

    Displayed File Name

    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.

    if-name

    Specify the interface name specified in step 1.

  3. Stop tracing using the following command:

    no trace-network if-name
    if-name

    Specify the interface name specified in step 1.

  4. 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".

  5. After exporting the packet trace data to an FTP server, delete the saved packet trace data.

    rm filename
    filename

    Specify the file name displayed when the command is executed in step 2.