Technote (FAQ)
Question
How do you capture TCP dumps on the IBM WebSphere Cast Iron appliance?
Answer
To capture TCP dumps or any network packets of the specified protocol, use the following steps:
1. SSH and login to the appliance.
2. To start capturing the packets, run the CLI commad:
netspect capture start <protocol> interface <emgmt/edata>
Ex: netspect capture start tcp interface edata
3. To stop capturing the packets run the CLI command:
netspect capture stop
4. To transfer the packet capture file from the appliance to a FTP server run the CLI command:
netspect export <protocol> capturefile to host <host-id> [dest-ftp-host-args]
To upload the file to IBM FTP server run the command:
netspect export icmp capturefile to host ftp.emea.ibm.com user anonymous passwd <Emailaddress> destfile "/toibm/websphere/<PMR number>.<branch code>.<country code>.tgz"
Ex: netspect export icmp capturefile to host ftp.emea.ibm.com user anonymous passwd test destfile "/toibm/websphere/ppppp.bbb.ccc.tgz"
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.