pibrump.1 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. .TH pibrump 1 "Mar 2014" "plc-utils-2.1.6" "Qualcomm Atheros Powerline Toolkit"
  2. .SH NAME
  3. pibrump - Classification Rule Dump Utility
  4. .SH SYNOPSIS
  5. .BR pibrump
  6. .RI [ options ]
  7. .IR file
  8. .RI [ file ]
  9. [...]
  10. .SH DESCRIPTION
  11. Read classifier rules stored in a PIB file and print them on stdout in a format similar to the command line for program \fBint6krule\fR.
  12. The output can be read by program \fBpibruin\fR for insertion into another PIB file.
  13. The program name is short for "\fBru\fRle du\fBmp\fR".
  14. .PP
  15. This program is part of the Qualcomm Atheros Powerline Toolkit.
  16. See the \fBAMP\fR man page for an overview and installation instructions.
  17. .SH OPTIONS
  18. .TP
  19. .RB - q
  20. Suppresses comments used to group classification rules.
  21. .TP
  22. .RB - v
  23. Print additional information on stdout.
  24. Presently, this option has no effect.
  25. .TP
  26. .RB - ? ,-- help
  27. Print program help summary on stdout.
  28. This option takes precedence over other options on the command line.
  29. .TP
  30. .RB - ! ,-- version
  31. Print program version information on stdout.
  32. This option takes precedence over other options on the command line.
  33. Use this option when sending screen dumps to Atheros Technical Support so that they know exactly which version of the Linux Toolkit you are using.
  34. .SH ARGUMENTS
  35. .TP
  36. .IR file
  37. The name of a valid Atheros runtime parameter file.
  38. The file is not modified by this program.
  39. The file must exist and be a valid runtime parameter file or errors will occur.
  40. By convention, runtime parameter files have a \fB.pib\fR extention but this program does not enforce that convention.
  41. .SH DISCLAIMER
  42. PIB file structure and content is proprietary to Qualcomm Atheros, Ocala FL USA.
  43. Consequently, public information is not available.
  44. Qualcomm Atheros reserves the right to change the file structure or content in future firmware releases without any obligation to notify or compensate users of this program.
  45. .SH EXAMPLES
  46. The following example prints the classifier rules stored in file \fBabc.pib\fR on stdout.
  47. Individual rules are printed in a format that is essentially the same as that used to enter rules using program \fBint6krule\fR.
  48. Rules are grouped by their category using comments.
  49. .PP
  50. > pibrump abc.pib
  51. # auto connection rules:
  52. StripRX Any VLANID Is 5 VLANID Is 10 VLANID Is 15 add perm
  53. StripRX Any VLANID Is 20 add perm
  54. CAP1 Any VLANID Is 5 VLANID Is 10 VLANID Is 15 add perm
  55. # priority mapping rules:
  56. CAP1 Any VLANID Is 20 add perm
  57. DropRX Any VLANID Is 25 add perm
  58. .PP
  59. The next example prints the classifier rules stored in file \fBdef.pib\fR but output is a huge disappointment because there are no rules, much like a Rambo movie.
  60. .PP
  61. > pibrump def.pib
  62. # auto connection rules:
  63. # priority mapping rules:
  64. .PP
  65. The next example shows a case where the the user has selected two rules from the first example and used them as input to program \fBint6krule\fR.
  66. There is no PIB file involved here because an MME is sent directly to the device with each command and the device will reset each time.
  67. There are times when you may not want to set rules this way.
  68. .PP
  69. > int6krule StripRX Any VLANID Is 5 VLANID Is 10 VLANID Is 15 add perm
  70. # int6krule CAP1 Any VLANID Is 20 add perm
  71. .PP
  72. The next example reads classification rules from file \fBabc.pib\fR and write them to file \fBrules.txt\fR instead of the console.
  73. The rules are then read from file \fBrules.txt\fR and written into file \fBdef.pib\fR using program \fBpibruin\fR.
  74. This procedure can be used to distribute a given rule set to other toolkit users.
  75. .PP
  76. > pibrump abc.def > rules.txt
  77. # pibruin < rules.txt def.pib
  78. .PP
  79. The next example reads classification rules directly from file \fBabc.pib\fR and writes them directly into file \fBdef.pib\fR using program \fBpibruin\fR.
  80. .PP
  81. > pibrump abc.pib | pibruin def.pib
  82. .SH SEE ALSO
  83. .BR int6krule (7),
  84. .BR pibruin (7 )
  85. .SH CREDITS
  86. Nathaniel Houghton <nhoughto@qca.qualcomm.com>