plcfwd.1.html 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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. plcfwd.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='plcdevs.1.html' title=' plcdevs.1 '>PREV</a>]
  17. [<a href='toolkit.html' title=' Index '>HOME</a>]
  18. [<a href='plcget.1.html' title=' plcget.1 '>NEXT</a>]
  19. </div>
  20. <pre>
  21. plcfwd(1) Qualcomm Atheros Open Powerline Toolkit plcfwd(1)
  22. NAME
  23. plcfwd - Qualcomm Atheros Forward Configuration
  24. SYNOPSIS
  25. plcfwd [options] [device] [device] [...]
  26. DESCRIPTION
  27. Set VLAN and MAC address lookup for tx path traffic. Setup requests are processed by master PLC device attached to the
  28. local device. Upon receiving the request MME, the PLC device will send a confirm MME back with the results to the origi‐
  29. nating host.
  30. This program is part of the Qualcomm Atheros Powerline Toolkit. See the plc man page for an overview and installation
  31. instructions.
  32. OPTIONS
  33. -A Add VLANIDs of multiple slaves to memory.
  34. -C Commit configruation to flash memory.
  35. -D VLANID
  36. Set the default VLAN ID expressed as a 32-bit decimal value.
  37. -e Redirects stderr messages to stdout. By convention status and error messages are printed on stderr while primary
  38. program output is printed on stdout. This option prints all output on stdout in cases where this is desired.
  39. -f filename
  40. Read additional device addresses and VLAN IDs from the named file. This option may appear multiple times and may
  41. appear in addition option -z. Each occurance of this option adds one or more entries to the VLANID table used by
  42. options -A or -R. The format used on each line of this file is identical to that used by option -z.
  43. -i interface
  44. Select the host Ethernet interface. All requests are sent via this host interface and only reponses received via
  45. this host interface are recognized. The default interface is eth1 because most people use eth0 as their principle
  46. network connection; however, if environment string &quot;PLC&quot; is defined then it takes precedence over the default
  47. interface. This option then takes precedence over either default.
  48. -l length
  49. The read data length in bytes. This option is ignored during other operations. The length is expressed in deci‐
  50. mal. The default is 0 bytes.
  51. -M state
  52. Enable or disable VLANID forwarding on the master. Valid states are 0 to disable and 1 but values up to 255 are
  53. permitted. Keywords &quot;on&quot; and &quot;enable&quot; are the same as 1. Keywords &quot;off&quot; and &quot;disable&quot; are the same as 0.
  54. -o offset
  55. The read data offset in bytes. This option is ignored during other operations. The offset is expressed in hexa‐
  56. decimal. The default is 0 bytes;
  57. -q Suppresses status messages on stderr.
  58. -R Remove VLANIDs of multiple slaves from memory.
  59. -S state
  60. Enable or disable VLANID forwarding on all slaves. Valid states are 0 to disable and 1 but values up to 255 are
  61. permitted. Keywords &quot;on&quot; and &quot;enable&quot; are the same as 1. Keywords &quot;off&quot; and &quot;disable&quot; are the same as 0.
  62. -t timeout
  63. -v Prints additional information on stdout. In particular, this option dumps outgoing Ethernet packets on stdout.
  64. -z address,id[,id[,...]]
  65. A device address and associated VLAN IDs separated by commas. This option may appear multiple times and may
  66. appear in addition option -f. Each occurance of this option adds one entry to the VLANID table used by options -A
  67. or -R. The string format used here is identical to that used on each line of input files named by option -f.
  68. -?,--help
  69. Displays program help information on stderr. This option takes precedence over all other options on the command
  70. line except version information.
  71. -!,--version
  72. Displays program version information on stderr. This option takes precedence over all other options on the com‐
  73. mand line except help information. Use this option when sending screen dumps to Atheros technical staff.
  74. ARGUMENTS
  75. device The MAC address of some powerline device. More than one address may be specified. If more than one address is
  76. specified then operations are performed on each device in turn. The default address is local. See DEVICES for
  77. information about symbolic device addresses.
  78. DEVICES
  79. Powerline devices use Ethernet Media Access Control (MAC) addresses. A MAC address is a 48-bit value entered as 12 hexa‐
  80. decimal digits in upper, lower or mixed character case. Octets may be separated with colons for clarity. For example,
  81. &quot;00b052000001&quot;, &quot;00:b0:52:00:00:01&quot; and &quot;00b052:000001&quot; are valid and equivalent.
  82. The following MAC addresses are special and may be entered by name instead of number.
  83. all Same as &quot;broadcast&quot;.
  84. broadcast
  85. A synonym for the Ethernet broadcast address, FF:FF:FF:FF:FF:FF. All devices, whether local, remote or foreign
  86. recognize messages sent to this address. A remote device is any device at the far end of a powerline connection.
  87. A foreign device is any device not manufactured by Atheros.
  88. local A synonym for the Qualcomm Atheros vendor specific Local Management Address (LMA), 00:B0:52:00:00:01. All local
  89. Atheros devices recognize this address but remote and foreign devices do not. A remote device is any device at
  90. the far end of a powerline connection. A foreign device is any device not manufactured by Atheros.
  91. REFERENCES
  92. See the Qualcomm Atheros HomePlug AV Firmware Technical Reference Manual for technical information.
  93. DISCLAIMER
  94. Atheros HomePlug AV Vendor Specific Management Message structure and content is proprietary to Qualcomm Atheros, Ocala FL
  95. USA. Consequently, public information may not be available. Qualcomm Atheros reserves the right to modify message
  96. structure and content in future firmware releases without any obligation to notify or compensate users of this program.
  97. EXAMPLES
  98. The following example reads 100 bytes starting at offset 0x24. The operation is read because no other operation is
  99. specifed using -A, -C, -R, -M or -S. The offset is always in hexadecimal and length is always in decimal.
  100. # plcfwd -o 24 -l 100
  101. The following example adds three VLAN IDs to the VLANID table on device 00:B0:52:CA:FE:08. Option -z creates the VLANID
  102. table and option -A adds table content to the device. This program supports up to 10 VLAN IDs per entry but PLC firmware
  103. supports 8 maximum.
  104. # plcfwd -A -z 00:B0:52:CA:FE:08,2300,2313,2415
  105. The following example does the same thing but adds three table entries. The first entry is enclosed in quotes because
  106. spaces appear in the entry. The third entry has more than 10 VLAN IDs. The program will discard the last ID without
  107. indication but PLC firmware should report an error because there are more than 8 IDs reported in the request message.
  108. # plcfwd -A -z &quot;00:B0:52:CA:FE:08, 2300, 2313 , 2415&quot; -z 00B052BABE01,0100 -z
  109. 00B052888888,100,200,300,400,500,600,700,800,900,1000,1100
  110. To avoid typing the above command line many times, you can save the entries in file plcfwd.txt, like so ...
  111. 00:B0:52:CA:FE:08, 2300, 2313 , 2415
  112. 00B052BABE01,0100
  113. 00B052888888,100,200,300,400,500,600,700,800,900,1000,1100
  114. The next example adds these entries to the VLANID table by naming the file that contains the entries using option -f.
  115. # plcfwd -A -f plcfwd.txt
  116. The next example removes the same entries to the VLANID table.
  117. # plcfwd -R -f plcfwd.txt
  118. Of course, you can combine options -z and -f to cumulative effect.
  119. SEE ALSO
  120. PLC(1),
  121. CREDITS
  122. Charles Maier &lt;cmaier@qca.qualcomm.com&gt;
  123. open-plc-utils-0.0.3 Mar 2014 plcfwd(1)
  124. </pre>
  125. <div class='footerlink'>
  126. [<a href='plcdevs.1.html' title=' plcdevs.1 '>PREV</a>]
  127. [<a href='toolkit.html' title=' Index '>HOME</a>]
  128. [<a href='plcget.1.html' title=' plcget.1 '>NEXT</a>]
  129. </div>
  130. </body>
  131. </html>