Thanks for the responses, this works great. -Brad
On Tue, 2007-03-20 at 13:27 -0500, Paul Giordano wrote: > Actually, you use the TRSOURCE command to do that. It's at the VM level, > done from a 3270 screen. And no, it's not in libpcap format - but there is > a nice formatter for it. > > In VM you issue the command: > > CP TRSOURCE ID traceid TYPE LAN OWNER owner LANNAME name LENGTH FULL > > where "traceid" is a unique id for the trace, "owner" is the owner of the > VSWITCH (SYSTEM is usually the value here) and "name" is the name of the > VSWITCH. (LENGTH FULL is optional, the default is 512 bytes. You can also > specify your own length default in bytes.) > > Then you issue the command: > > CP TRSOURCE ENABLE traceid > > and the trace will begin being captured to a spool file of type TRF. The > trace can be stopped with a command > > CP TRSOURCE DISABLE traceid > > and then checked with the command > > Q TRF ALL > > OWNERID FILE TYPE CL RECS DATE TIME FILENAME FILETYPE > ORIGINID > OPERATOR 0008 TRF A 0002 06/08 12:37:09 5 testvsw LAN SYSTEM > > Now you use TRACERED to bring it into a file: > > TRACERED 0008 CMS debug file a (ALL > > and then IPFORMAT to browse it: > > IPFORMAT debug file > > All of this is from chapter 2.4, Troubleshooting a Virtual Switch or Guest > Lan in the IBM "z/VM V5R2.0 TCP/IP Connectivity" manual, available on the > web at http://www.vm.ibm.com/library. > > Linux on 390 Port <[email protected]> wrote on 03/20/2007 12:11:53 > PM: > > > I see that in z/VM 5.2, you can now sniff traffic on a VSWITCH. It > > seems this is done through a 'CP TRACE' command, but I can't figure out > > what the command should be. Has anyone ever tried this? Is the output > > in libpcap (tcpdump) format? > > > > Thanks, > > -- > > Brad Hinson <[EMAIL PROTECTED]> > > Technical Account Manager > > Red Hat, Inc. > > > > ---------------------------------------------------------------------- > > For LINUX-390 subscribe / signoff / archive access instructions, > > send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or > visit > > http://www.marist.edu/htbin/wlvindex?LINUX-390 > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 -- Brad Hinson <[EMAIL PROTECTED]> Technical Account Manager Red Hat, Inc. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
