amprate.1.html 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. amprate.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='amplist.1.html' title=' amplist.1 '>PREV</a>]
  17. [<a href='toolkit.html' title=' Index '>HOME</a>]
  18. [<a href='amprule.1.html' title=' amprule.1 '>NEXT</a>]
  19. </div>
  20. <pre>
  21. amprate(1) Qualcomm Atheros Open Powerline Toolkit amprate(1)
  22. NAME
  23. amprate - Qualcomm Atheros AR7x00 PHY Rate Monitor
  24. SYNOPSIS
  25. amprate [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. COMMENTS
  33. This program version is identical to legacy program int6k, except for options -t and -T which use version 1 of the Qual‐
  34. comm Atheros VS_NW_INFO vendor-specific message. Older firmware versions may not recognize this message version.
  35. OPTIONS
  36. -c Display coded PHY rates. Coded PHY rates are displayed by default so this option is redundant but it has been
  37. kept for backword compatibility. This option and option -u are mutually exclusive.
  38. -d seconds
  39. Traffic duration in seconds per connection. Directional traffic is systematically sent between each pair of pow‐
  40. erline network devices for this period of time. Consequently, the total time needed to generate traffic between
  41. all network devices will be approximately n! times this value, so don''t get carried away. The minimum value is 1
  42. second and the maximum value is 60 seconds.
  43. -e Redirects stderr messages to stdout. By convention status and error messages are printed on stderr while primary
  44. program output is printed on stdout. This option prints all output on stdout in cases where this is desired.
  45. -i interface
  46. Select the host Ethernet interface. All requests are sent via this host interface and only reponses received via
  47. this host interface are recognized. The default interface is eth1 because most people use eth0 as their principle
  48. network connection; however, if environment string &quot;PLC&quot; is defined then it takes precedence over the default
  49. interface. This option then takes precedence over either default.
  50. -n Reads the average transmit and receive PHY rate for wach device using VS_NW_INFO and prints it on stdout. Each
  51. output line displays the ethernet interface, source address, destination address and either the transmit or
  52. receive PHY rate.
  53. -o milliseconds
  54. Read timeout in milliseconds. Values range from 0 through UINT_MAX. This is the maximum time allowed for a
  55. response. The default is shown in brackets on the program menu.
  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. -q Enter quiet mode. Progress messages are suppressed.
  69. -v Enter verbose mode. All Etherenet frames sent or received by the program are displayed on stdout.
  70. -x Exit program on first error with a non-zero exit code. This option allows shell scripts to detect failed or
  71. incomplete operations and take the appropriate action.
  72. -?,--help
  73. Print program help summary on stdout. This option takes precedence over other options on the command line.
  74. -!,--version
  75. Print program version information on stdout. This option takes precedence over other options on the command line.
  76. Use this option when sending screen dumps to Atheros Technical Support so that they know exactly which version of
  77. the Linux Toolkit you are using.
  78. ARGUMENTS
  79. device The MAC address of some powerline device. More than one address may be specified. If more than one address is
  80. specified then operations are performed on each device in turn. The default address is local. See DEVICES for
  81. information about symbolic device addresses.
  82. DEVICES
  83. Powerline devices use Ethernet Media Access Control (MAC) addresses. A MAC address is a 48-bit value entered as 12 hexa‐
  84. decimal digits in upper, lower or mixed character case. Octets may be separated with colons for clarity. For example,
  85. &quot;00b052000001&quot;, &quot;00:b0:52:00:00:01&quot; and &quot;00b052:000001&quot; are valid and equivalent.
  86. The following MAC addresses are special and may be entered by name instead of number.
  87. all Same as &quot;broadcast&quot;.
  88. broadcast
  89. A synonym for the Ethernet broadcast address, FF:FF:FF:FF:FF:FF. All devices, whether local, remote or foreign
  90. recognize messages sent to this address. A remote device is any device at the far end of a powerline connection.
  91. A foreign device is any device not manufactured by Atheros.
  92. local A synonym for the Qualcomm Atheros vendor specific Local Management Address (LMA), 00:B0:52:00:00:01. All local
  93. Atheros devices recognize this address but remote and foreign devices do not. A remote device is any device at
  94. the far end of a powerline connection. A foreign device is any device not manufactured by Atheros.
  95. REFERENCES
  96. See the Qualcomm Atheros HomePlug AV Firmware Technical Reference Manual for more information.
  97. EXAMPLES
  98. The following example displays the average transmit and receive PHY rates from each of two devices. One is a local
  99. device connected to interface eth2 and the other is a remote device at the far end of the powerline. In this case, they
  100. are the only two devices on the powerline network. Observe the recipricol rates shown.
  101. # amprate -ni eth2 00:B0:52:00:00:AA 00:B0:52:00:00:BB
  102. eth2 00:B0:52:00:00:AA 00:B0:52:00:00:BB TX 163 mbps
  103. eth2 00:B0:52:00:00:AA 00:B0:52:00:00:BB RX 176 mbps
  104. eth2 00:B0:52:00:00:BB 00:B0:52:00:00:AA TX 176 mbps
  105. eth2 00:B0:52:00:00:BB 00:B0:52:00:00:AA RX 163 mbps
  106. The following example generates powerline traffic between the local device and each remote device because option -t is
  107. present. It then displays the PHY rate read from the local device.
  108. # amprate -tni eth2
  109. eth2 00:B0:52:00:00:AA 00:B0:52:00:00:BB TX 163 mbps
  110. eth2 00:B0:52:00:00:AA 00:B0:52:00:00:BB RX 176 mbps
  111. DISCLAIMER
  112. Atheros HomePlug AV Vendor Specific Management Message Entry structure and content is proprietary to Qualcomm Atheros,
  113. Ocala FL USA. Consequently, public information may not be available. Qualcomm Atheros reserves the right to modify mes‐
  114. sage structure and content in future firmware releases without any obligation to notify or compensate users of this pro‐
  115. gram.
  116. SEE ALSO
  117. plc(1), amprule(1), ampstat(1), amptone(1)
  118. CREDITS
  119. Nathaniel Houghton &lt;nhoughto@qca.qualcomm.com&gt;
  120. Charles Maier &lt;cmaier@qca.qualcomm.com&gt;
  121. open-plc-utils-0.0.3 Mar 2014 amprate(1)
  122. </pre>
  123. <div class='footerlink'>
  124. [<a href='amplist.1.html' title=' amplist.1 '>PREV</a>]
  125. [<a href='toolkit.html' title=' Index '>HOME</a>]
  126. [<a href='amprule.1.html' title=' amprule.1 '>NEXT</a>]
  127. </div>
  128. </body>
  129. </html>