Cluster I/O Protocols (CIP) Configuration and Management Manual (H06.16+, J06.05+)

>climcmd n1002582 mkdir /home/mylog
comForte SSH client version T999H06_14Oct2008_comForte_SSH_0081
Termination Info: 0
> == List the directory and files
>
> climcmd N1002582 ls -lrt /home/mylog
comForte SSH client version T999H06_14Oct2008_comForte_SSH_0081
total 0
2. Capture the data.
a. For CLIMs with MULTIPROV OFF:
Use climcmd clim-name man tcpdump for information.
Press the break key on Mr-Win6530 to stop the tracing.
> == run tcpdump (must be super group user) and save
> == the output goes to a binary file, that can be
> == decoded by other tools or tcpdump itself
> == Look for traffic from/to host 192.0.2.1
> climcmd N1002582 tcpdump -n -i any -w /home/mylog/telnet-data-to-10 host 192.0.2.1
comForte SSH client version T999H06_14Oct2008_comForte_SSH_0081
tcpdump: WARNING: Promiscuous mode not supported on the "any" device
tcpdump: listening on any, link-type LINUX_SLL (Linux cooked), capture size 96 bytes
***CLIMCMD: Script terminated at user request
>
> == Stop tracing by the <break> key
b. For CLIMs with MULTIPROV ON:
Use climcmd clim-name man tcpdump for information.
Press the break key on Mr-Win6530 to stop the tracing.
> == run tcpdump (must be super group user) and save
> == the output goes to a binary file, that can be
> == decoded by other tools or tcpdump itself
> == Look for traffic from/to host 192.0.2.1
> climcmd N1002582 provider ZTC0 tcpdump -n -i any -w /home/mylog/telnet-data-to-10 host 192.0.2.1
comForte SSH client version T999H06_14Oct2008_comForte_SSH_0081
tcpdump: WARNING: Promiscuous mode not supported on the "any" device
tcpdump: listening on any, link-type LINUX_SLL (Linux cooked), capture size 96 bytes
***CLIMCMD: Script terminated at user request
>
> == Stop tracing by the <break> key
3. Decode the trace file.
Use climcmd clim-name ls lrt tracedir to list the trace file.
Use climcmd clim-name tcpdump -r tracefile to decode the file.
> == Check the trace output file
>
> climcmd N1002582 ls -lrt /home/mylog
comForte SSH client version T999H06_14Oct2008_comForte_SSH_0081
total 124
-rw-r--r-- 1 root root 122880 2009-01-29 01:01 telnet-data-to-10
Termination Info: 0
>
> == Decode the tracefule using tcpdump -r
>
> climcmd N1002582 tcpdump -r /home/mylog/telnet*
comForte SSH client version T999H06_14Oct2008_comForte_SSH_0081
reading from file /home/mylog/telnet-data-to-10, link-type LINUX_SSL (Linux cooked)
00:48:50:339967 IP N1002582.ssh > 192.0.2.1.44632: P 1:197(196) ack 0 win 349
9 <nop,nop,timestamp 135991971 86225567>
4. Copy the trace file to the NonStop host.
Troubleshooting Tools and Tips 127