pibrump(1) | Qualcomm Atheros Open Powerline Toolkit | pibrump(1) |
pibrump - Classification Rule Dump Utility
pibrump [options] file [file] [...]
Read classifier rules stored in a PIB file and print them on stdout in a format similar to the command line for program int6krule. The output can be read by program pibruin for insertion into another PIB file. The program name is short for "rule dump".
This program is part of the Qualcomm Atheros Powerline Toolkit. See the AMP man page for an overview and installation instructions.
PIB file structure and content is proprietary to Qualcomm Atheros, Ocala FL USA. Consequently, public information is not available. 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.
The following example prints the classifier rules stored in file abc.pib on stdout. Individual rules are printed in a format that is essentially the same as that used to enter rules using program int6krule. Rules are grouped by their category using comments.
> pibrump abc.pib
# auto connection rules:
StripRX Any VLANID Is 5 VLANID Is 10 VLANID Is 15 add perm
StripRX Any VLANID Is 20 add perm
CAP1 Any VLANID Is 5 VLANID Is 10 VLANID Is 15 add perm
# priority mapping rules:
CAP1 Any VLANID Is 20 add perm
DropRX Any VLANID Is 25 add perm
The next example prints the classifier rules stored in file def.pib but output is a huge disappointment because there are no rules, much like a Rambo movie.
> pibrump def.pib
# auto connection rules:
# priority mapping rules:
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 int6krule. 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. There are times when you may not want to set rules this way.
> int6krule StripRX Any VLANID Is 5 VLANID Is 10 VLANID Is 15 add perm
# int6krule CAP1 Any VLANID Is 20 add perm
The next example reads classification rules from file abc.pib and write them to file rules.txt instead of the console. The rules are then read from file rules.txt and written into file def.pib using program pibruin. This procedure can be used to distribute a given rule set to other toolkit users.
> pibrump abc.def > rules.txt
# pibruin < rules.txt def.pib
The next example reads classification rules directly from file abc.pib and writes them directly into file def.pib using program pibruin.
> pibrump abc.pib | pibruin def.pib
int6krule(7), pibruin(7)
Nathaniel Houghton
November 2013 | open-plc-utils-0.0.3 |