#####################################
# Example from your email
# > ./labiv -d 8540 -t cs0. > outfile1
######################################

Retrieving /etc/nis/hosts from godfather.cisco.com
Transfer complete.
Parsing hosts file
Testbed: cs0.
Dev: 8540
Searching for cs0._[mc]84
  Feature cpu:   ios IOS (tm) L3 Switch/Router Software (C8540CSR-IN-M), Version 12.0(4a)W5(10.18),  INTERIM TEST SOFTWARE  hw_ver 5.7 mem 262144K 
  Feature backplane:   hw_ver 2 
  Feature s-cam:   
  Feature fc:   
  Feature oc12_pam:   
  Feature oc3_pam:   
  Feature eth_pam:   hw_ver 4.1 
  Feature 2gig_pam:   hw_ver 2.0 
  Feature sc:   hw_ver 7.2;7.2 
cs07_c84_01 t105 2001 Status: Ethernet

  Feature cpu:   
  Feature backplane:   
  Feature s-cam:   
  Feature fc:   
  Feature oc12_pam:   
  Feature oc3_pam:   
  Feature eth_pam:   
  Feature 2gig_pam:   
  Feature sc:   
cs09_c84_01 t106 2001 Status: ethernet-timed-out

  Feature cpu:   fpga_ver 4.5 ios IOS (tm) L3 Switch/Router Software (C8540CSR-IN-M), Version 12.0(4.6)W5(12.0.12)  INTERIM TEST SOFTWARE  hw_ver 5.7 mem 262144K 
  Feature backplane:   hw_ver 2 
  Feature s-cam:   
  Feature fc:   
  Feature oc12_pam:   
  Feature oc3_pam:   
  Feature eth_pam:   cam_type Private;Private;Private;Private;Private fpga_ver 3.2;3.2;3.2;3.2;3.2 cam_size 16;16;16;16;16 hw_ver 3.2;3.2;5.1;5.1;3.2 
  Feature 2gig_pam:   cam_type Dual fpga_ver 1.2 cam_size 16 hw_ver 1.0 
  Feature sc:   fpga_ver 1.0;1.0 hw_ver 7.2;7.2 
cs02_c84_01 t73 2001 Status: Ethernet

  Feature cpu:   fpga_ver 4.4 ios IOS (tm) L3 Switch/Router Software (C8540CSR-IN-M), Version 12.0(4.6)W5(12.0.12)  INTERIM TEST SOFTWARE  hw_ver 5.7 mem 262144K 
  Feature backplane:   hw_ver 2 
  Feature s-cam:   
  Feature fc:   fpga_ver 4.17;4.17 hw_ver 4.1;4.1 
  Feature oc12_pam:   
  Feature oc3_pam:   
  Feature eth_pam:   cam_type Private;Private fpga_ver 3.2;3.2 cam_size 16;16 hw_ver 4.1;5.1 
  Feature 2gig_pam:   cam_type Dual;Dual fpga_ver 1.2;1.2 cam_size 16;16 hw_ver 2.1;2.1 
  Feature sc:   fpga_ver 1.4;1.4 hw_ver 8.3;8.3 
cs02_c84_07 t73 2007 Status: Ethernet

  Feature cpu:   
  Feature backplane:   
  Feature s-cam:   
  Feature fc:   
  Feature oc12_pam:   
  Feature oc3_pam:   
  Feature eth_pam:   
  Feature 2gig_pam:   
  Feature sc:   
cs03_c84_01 t72 2001 Status: ethernet-timed-out

  Feature cpu:   ios IOS (tm) L3 Switch/Router Software (C8540CSR-IN-M), Version 12.0(1a)W5(6f),  RELEASE SOFTWARE  hw_ver 5.7 mem 262144K 
  Feature backplane:   hw_ver 2 
  Feature s-cam:   
  Feature fc:   
  Feature oc12_pam:   
  Feature oc3_pam:   
  Feature eth_pam:   cam_size 16 hw_ver 4.1 
  Feature 2gig_pam:   cam_size 16 hw_ver 2.1 
  Feature sc:   hw_ver 7.2;7.2 
cs04_c84_01 t82 2001 Status: Ethernet

  Feature cpu:   fpga_ver 4.4 ios IOS (tm) L3 Switch/Router Software (C8540CSR-IN-M), Version 12.0(4.6)W5(12.0.11)  INTERIM TEST SOFTWARE  hw_ver 5.7 mem 262144K 
  Feature backplane:   hw_ver 2 
  Feature s-cam:   
  Feature fc:   
  Feature oc12_pam:   
  Feature oc3_pam:   
  Feature eth_pam:   cam_type Private fpga_ver 3.2 cam_size 16 hw_ver 4.1 
  Feature 2gig_pam:   cam_type Dual fpga_ver 1.2 cam_size 16 hw_ver 2.1 
  Feature sc:   fpga_ver 1.0;1.0 hw_ver 7.2;7.2 
cs04_c84_06 t82 2006 Status: Ethernet

  Feature cpu:   ios IOS (tm) L3 Switch/Router Software (C8540CSR-IN-M), Version 12.0(1a)W5(6f),  RELEASE SOFTWARE  hw_ver 5.7 mem 262144K 
  Feature backplane:   hw_ver 2 
  Feature s-cam:   
  Feature fc:   
  Feature oc12_pam:   
  Feature oc3_pam:   
  Feature eth_pam:   cam_size 16;16;16;16 hw_ver 4.1;4.1;4.1;3.2 
  Feature 2gig_pam:   cam_size 16;16 hw_ver 2.1;2.1 
  Feature sc:   hw_ver 7.2;7.2 
cs05_c84_01 t83 2001 Status: Ethernet

  Feature cpu:   
  Feature backplane:   
  Feature s-cam:   
  Feature fc:   
  Feature oc12_pam:   
  Feature oc3_pam:   
  Feature eth_pam:   
  Feature 2gig_pam:   
  Feature sc:   
cs05_c84_09 t83 2009 Status: ethernet-timed-out

  Feature cpu:   
  Feature backplane:   
  Feature s-cam:   
  Feature fc:   
  Feature oc12_pam:   
  Feature oc3_pam:   
  Feature eth_pam:   
  Feature 2gig_pam:   
  Feature sc:   
cs06_c84_01 t86 2001 Status: nopasswd

  Feature cpu:   
  Feature backplane:   
  Feature s-cam:   
  Feature fc:   
  Feature oc12_pam:   
  Feature oc3_pam:   
  Feature eth_pam:   
  Feature 2gig_pam:   
  Feature sc:   
cs06_c84_06 t86 2006 Status: nopasswd

  Feature cpu:   
  Feature backplane:   
  Feature s-cam:   
  Feature fc:   
  Feature oc12_pam:   
  Feature oc3_pam:   
  Feature eth_pam:   
  Feature 2gig_pam:   
  Feature sc:   
cs08_c84_01 t89 2001 Status: ethernet-timed-out

  Feature cpu:   
  Feature backplane:   
  Feature s-cam:   
  Feature fc:   
  Feature oc12_pam:   
  Feature oc3_pam:   
  Feature eth_pam:   
  Feature 2gig_pam:   
  Feature sc:   
cs01_c84_01 t76 2001 Status: ethernet-timed-out

*** Results:    (count in parens) ***
8540
   cpu
      fpga_ver: 4.4(2) 4.5(1)
      hw_ver: 5.7(6)
      ios: IOS (tm) L3 Switch/Router Software (C8540CSR-IN-M), Version 12.0(1a)W5(6f),  RELEASE SOFTWARE (2) IOS (tm) L3 Switch/Router Software (C8540CSR-IN-M), Version 12.0(4.6)W5(12.0.11)  INTERIM TEST SOFTWARE (1) IOS (tm) L3 Switch/Router Software (C8540CSR-IN-M), Version 12.0(4.6)W5(12.0.12)  INTERIM TEST SOFTWARE (2) IOS (tm) L3 Switch/Router Software (C8540CSR-IN-M), Version 12.0(4a)W5(10.18),  INTERIM TEST SOFTWARE (1)
      mem: 262144K(6)
   fc
      fpga_ver: 4.17(2)
      hw_ver: 4.1(2)
   backplane
      hw_ver: 2(6)
   sc
      fpga_ver: 1.0(4) 1.4(2)
      hw_ver: 7.2(10) 8.3(2)
   2gig_pam
      fpga_ver: 1.2(4)
      cam_type: Dual(4)
      cam_size: 16(7)
      hw_ver: 1.0(1) 2.0(1) 2.1(6)
   eth_pam
      fpga_ver: 3.2(8)
      cam_type: Private(8)
      cam_size: 16(13)
      hw_ver: 3.2(4) 4.1(7) 5.1(3)
Connection summery:
   ethernet-timed-out 5  38.46%
   nopasswd 2  15.38%
   Ethernet 6  46.15%
   Total:   13
