pibruin.1.html 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. pibruin.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='pibdump.1.html' title=' pibdump.1 '>PREV</a>]
  17. [<a href='toolkit.html' title=' Index '>HOME</a>]
  18. [<a href='pibrump.1.html' title=' pibrump.1 '>NEXT</a>]
  19. </div>
  20. <pre>
  21. pibruin(1) Qualcomm Atheros Open Powerline Toolkit pibruin(1)
  22. NAME
  23. pibruin - Classification Rule Insert Utility
  24. SYNOPSIS
  25. pibruin [options] [&lt;rules] file
  26. DESCRIPTION
  27. Read a set of classification rules from stdin and insert them directly into a PIB file. This program is an alternative
  28. to program int6krule and a companion to program pibrump. Although it is possible to ruin a PIB using this command, the
  29. name is short for &quot;rule insert&quot;.
  30. Atheros recommends that users validate all classification rule sets used with this program before inserting them into an
  31. operational PIB. Individual rules may be syntactically valid but they can still be technically invalid or conflict with
  32. other. This program does not perform any technical or cross-rule validation what-so-ever.
  33. Cross-rule validation is normally done by runtime firmware when a rule arrives in a VS_CLASSIFIER management message.
  34. This validation prevents the insertion of meaningless or conflicting rules into the PIB. It may be possible to commit a
  35. PIB containing mis-configured classification rule sets thus causing the device to lockup or misbehave on reboot.
  36. One recommended method of rule set validation is to program a device with individual rules using program int6krule then
  37. read the PIB and extract the rule set with program pibrump. The rule set should be valid at that point.
  38. This program is part of the Qualcomm Atheros Powerline Toolkit. See the AMP man page for an overview and installation
  39. instructions.
  40. OPTIONS
  41. -o offset
  42. Specify an alternative PIB offset when inserting the classifier block. Customers should not use this option. It
  43. is provided to account for firmware changes that might occur in the future. Improper use of this option can ren‐
  44. der a PIB file unrecoverable.
  45. -q Suppresses progress messages.
  46. -v Print additional information on stdout.
  47. -?,--help
  48. Print program help summary on stdout. This option takes precedence over other options on the command line.
  49. -!,--version
  50. Print program version information on stdout. This option takes precedence over other options on the command line.
  51. Use this option when sending screen dumps to Atheros Technical Support so that they know exactly which version of
  52. the Linux Toolkit you are using.
  53. ARGUMENTS
  54. file The name of a valid Atheros runtime parameter file. The file is modified by this program only if the classifica‐
  55. tion rule file is syntactically correct. See the DISCLAIMER section below. No backup file is created. By con‐
  56. vention, runtime parameter files have a .pib extention but this program does not enforce that convention. The
  57. file must exist and be a valid PIB file or errors will occur.
  58. rules The name of a valid classifier rule file. The file is not modified by this program. Classifier rule files are
  59. standard ASCII text and may be created manually using a normal text editor or may be generated automatically using
  60. another program such as pubrump. By convention, classifier rule files have a ..qos extension but this program
  61. does not enforce that convention. If this file is omitted then rules are read from from the console, one rule per
  62. line.
  63. DISCLAIMER
  64. PIB file structure and content is proprietary to Qualcomm Atheros, Ocala FL USA. Consequently, public information is not
  65. available. Qualcomm Atheros reserves the right to change the file structure or content in future firmware releases with‐
  66. out any obligation to notify or compensate users of this program.
  67. This program is provided for convenience only. It is possible to insert meaningless or confilicting rule sets into a PIB
  68. with this program because approved cross-rule validation is not performed. Incorrect application of perfectly valid
  69. rules may render a device ineffective or unusable on a powerline network. Program users are responsible for ensuring
  70. that their rule sets are verified by other means before using this program to insert them into an operational PIB file.
  71. EXAMPLES
  72. The following is an example set of classification rules stored in file rules.txt. The file contains 5 rules, one rule
  73. per line. The rules are identical to command line arguments expected by program int6krule and one could type them, one
  74. at a time, into int6krule and wait for the device to reset each time. Alternately, we could insert all the rules
  75. directly into a PIB file at once then download and commit the PIB, resulting in only one reset.
  76. # cat rules.txt
  77. Cap1 any VLANID is 20 add perm
  78. DropRX any VLANID is 25 add perm
  79. StripRx any VLANID is 5 VLANID is 10 VLANID is 15 add perm
  80. StripRx any VLANID is 20 add perm
  81. Cap1 any VLANID is 5 VLANID is 10 VLANID is 15 add perm
  82. The following example reads file rules.txt from stdin and writes it into file def.pib. This may be usefule if one wanted
  83. to distribute a known set of rules to other users or wanted to test various combinations of rules. Sincd rule files are
  84. # pibruin &lt; rules.txt
  85. The next example reads classification rules directly from file abc.pib using program pibrump and writes them directly
  86. into file def.pbi using program pibruin. This is one means of transfering classification rules from one PIB to another.
  87. SEE ALSO
  88. int6krule(7), pibrump(7)
  89. CREDITS
  90. Nathaniel Houghton &lt;nhoughto@qca.qualcomm.com&gt;
  91. open-plc-utils-0.0.3 Mar 2014 pibruin(1)
  92. </pre>
  93. <div class='footerlink'>
  94. [<a href='pibdump.1.html' title=' pibdump.1 '>PREV</a>]
  95. [<a href='toolkit.html' title=' Index '>HOME</a>]
  96. [<a href='pibrump.1.html' title=' pibrump.1 '>NEXT</a>]
  97. </div>
  98. </body>
  99. </html>