plcrate.1.html 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. <?xml version='1.0' encoding='iso-8859-1'?>
  2. <!doctype html public '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
  3. <html xmlns='http://www.w3c.org/1999/xhtml' lang='en-us'>
  4. <head>
  5. <title>
  6. plcrate.1
  7. </title>
  8. <meta http-equiv='content-type' content='text/html;iso-8859-1'/>
  9. <meta name='generator' content='motley-tools 1.9.4 13:40:33 Feb 18 2015'/>
  10. <meta name='author' content='cmaier@cmassoc.net'/>
  11. <meta name='robots' content='noindex,nofollow'/>
  12. <link href='toolkit.css' rel='stylesheet' type='text/css'/>
  13. </head>
  14. <body>
  15. <div class='headerlink'>
  16. [<a href='plcotst.1.html' title=' plcotst.1 '>PREV</a>]
  17. [<a href='toolkit.html' title=' Index '>HOME</a>]
  18. [<a href='plcrule.1.html' title=' plcrule.1 '>NEXT</a>]
  19. </div>
  20. <pre>
  21. plcrate(1) Qualcomm Atheros Open Powerline Toolkit plcrate(1)
  22. NAME
  23. plcrate - Qualcomm Atheros AR7x00 PHY Rate Monitor
  24. SYNOPSIS
  25. plcrate [options] [device] [device] [...]
  26. DESCRIPTION
  27. The Atheros PHY Rate Utility polls one or more devices and prints the average transmit and receive PHY rates between a
  28. device and each neighboring network device. Output is column-oriented and suitable for loading into a spreadsheet or
  29. being read by a simple program.
  30. This program is part of the Qualcomm Atheros Powerline Toolkit. See the plc man page for an overview and installation
  31. instructions.
  32. CHIPSETS
  33. QCA6410, QCA7000, QCA7420
  34. OPTIONS
  35. -c Display coded PHY rates. Coded PHY rates are displayed by default so this option is redundant but it has been
  36. kept for backword compatibility. This option and option -u are mutually exclusive.
  37. -d seconds
  38. Traffic duration in seconds per connection. Directional traffic is systematically sent between each pair of pow‐
  39. erline network devices for this period of time. Consequently, the total time needed to generate traffic between
  40. all network devices will be approximately n! times this value, so don''t get carried away. The minimum value is 1
  41. second and the maximum value is 60 seconds.
  42. -e Redirects stderr messages to stdout. By convention status and error messages are printed on stderr while primary
  43. program output is printed on stdout. This option prints all output on stdout in cases where this is desired.
  44. -i interface
  45. Select the host Ethernet interface. All requests are sent via this host interface and only reponses received via
  46. this host interface are recognized. The default interface is eth1 because most people use eth0 as their principle
  47. network connection; however, if environment string &quot;PLC&quot; is defined then it takes precedence over the default
  48. interface. This option then takes precedence over either default.
  49. -n Reads the average transmit and receive PHY rate for wach device using VS_NW_INFO and prints it on stdout. Each
  50. output line displays the ethernet interface, source address, destination address and either the transmit or
  51. receive PHY rate.
  52. -o milliseconds
  53. Read timeout in milliseconds. Values range from 0 through UINT_MAX. This is the maximum time allowed for a
  54. response. The default is shown in brackets on the program menu.
  55. -q Enter quiet mode. Progress messages are suppressed.
  56. -r Reads device hardware and software revision information using VS_SW_VER and prints it on stdout.
  57. -R Resets the device using VS_RS_DEV.
  58. -t Generate powerline traffic between the local device and each remote device on each powerline network connected to
  59. the host. It does not generate any traffic between remote powerline device pairs. This option is especially use‐
  60. ful when remote powerline devices are not connected to Ethernet devices capable of sending traffic back to the
  61. host.
  62. -T Generate powerline traffic between all devices on each powerline network connected to the host. This option is
  63. similar to option -t but it takes much longer because traffic is systematically generated between each pair of
  64. powerline devices. Consequently, the time to complete will increase factorially as the number of network devices
  65. increases. Such complete traffic path coverage is not always needed.
  66. -u Display un-coded PHY rates. Coded PHY rates are displayed by default. This option and option -c are mutually
  67. exclusive.
  68. -v Enter verbose mode. All Etherenet frames sent or received by the program are displayed on stdout.
  69. -x Exit program on first error with a non-zero exit code. This option allows shell scripts to detect failed or
  70. incomplete operations and take the appropriate action.
  71. -?,--help
  72. Print program help summary on stdout. This option takes precedence over other options on the command line.
  73. -!,--version
  74. Print program version information on stdout. This option takes precedence over other options on the command line.
  75. Use this option when sending screen dumps to Atheros Technical Support so that they know exactly which version of
  76. the Linux Toolkit you are using.
  77. ARGUMENTS
  78. device The MAC address of some powerline device. More than one address may be specified. If more than one address is
  79. specified then operations are performed on each device in turn. The default address is local. See DEVICES for
  80. information about symbolic device addresses.
  81. DEVICES
  82. Powerline devices use Ethernet Media Access Control (MAC) addresses. A MAC address is a 48-bit value entered as 12 hexa‐
  83. decimal digits in upper, lower or mixed character case. Octets may be separated with colons for clarity. For example,
  84. &quot;00b052000001&quot;, &quot;00:b0:52:00:00:01&quot; and &quot;00b052:000001&quot; are valid and equivalent.
  85. The following MAC addresses are special and may be entered by name instead of number.
  86. all Same as &quot;broadcast&quot;.
  87. broadcast
  88. A synonym for the Ethernet broadcast address, FF:FF:FF:FF:FF:FF. All devices, whether local, remote or foreign
  89. recognize messages sent to this address. A remote device is any device at the far end of a powerline connection.
  90. A foreign device is any device not manufactured by Atheros.
  91. local A synonym for the Qualcomm Atheros vendor specific Local Management Address (LMA), 00:B0:52:00:00:01. All local
  92. Atheros devices recognize this address but remote and foreign devices do not. A remote device is any device at
  93. the far end of a powerline connection. A foreign device is any device not manufactured by Atheros.
  94. REFERENCES
  95. See the Qualcomm Atheros HomePlug AV Firmware Technical Reference Manual for more information.
  96. EXAMPLES
  97. The following example displays the average transmit and receive PHY rates from each of two devices. One is a local
  98. device connected to interface eth2 and the other is a remote device at the far end of the powerline. In this case, they
  99. are the only two devices on the powerline network. Observe the recipricol rates shown.
  100. # plcrate -ni eth2 00:B0:52:00:00:AA 00:B0:52:00:00:BB
  101. eth2 00:B0:52:00:00:AA 00:B0:52:00:00:BB TX 163 mbps
  102. eth2 00:B0:52:00:00:AA 00:B0:52:00:00:BB RX 176 mbps
  103. eth2 00:B0:52:00:00:BB 00:B0:52:00:00:AA TX 176 mbps
  104. eth2 00:B0:52:00:00:BB 00:B0:52:00:00:AA RX 163 mbps
  105. The following example generates powerline traffic between the local device and each remote device because option -t is
  106. present. It then displays the PHY rate read from the local device.
  107. # plcrate -tni eth2
  108. eth2 00:B0:52:00:00:AA 00:B0:52:00:00:BB TX 163 mbps
  109. eth2 00:B0:52:00:00:AA 00:B0:52:00:00:BB RX 176 mbps
  110. DISCLAIMER
  111. Atheros HomePlug AV Vendor Specific Management Message Entry structure and content is proprietary to Qualcomm Atheros,
  112. Ocala FL USA. Consequently, public information may not be available. Qualcomm Atheros reserves the right to modify mes‐
  113. sage structure and content in future firmware releases without any obligation to notify or compensate users of this pro‐
  114. gram.
  115. SEE ALSO
  116. PLC(1), amprate(1), int6krate(1)
  117. CREDITS
  118. Nathaniel Houghton &lt;nhoughto@qca.qualcomm.com&gt;
  119. Charles Maier &lt;cmaier@qca.qualcomm.com&gt;
  120. open-plc-utils-0.0.3 Mar 2014 plcrate(1)
  121. </pre>
  122. <div class='footerlink'>
  123. [<a href='plcotst.1.html' title=' plcotst.1 '>PREV</a>]
  124. [<a href='toolkit.html' title=' Index '>HOME</a>]
  125. [<a href='plcrule.1.html' title=' plcrule.1 '>NEXT</a>]
  126. </div>
  127. </body>
  128. </html>