Class command, bigpipe
From RZWiki
A CLI command available on F5 Networks BigIP platforms; used to display, create, modify or delete data classes (known as data groups in the GUI.)
Contents |
Usage Syntax
bigpipe class [class_name] [options] [[type] data]
Common options include;
- add - add data to an existing class
- delete - delete an existing class, or data within an existing class
Common types include;
- host ip_address - a single host IP address
- network network_address mask subnet_mask - an IP network and its subnet mask
Usage Notes
To create a class, the add option is not required, this keyword should only be used when modifying an existing class.
Any text string data must be enclosed in double quotes: '; these must be 'escaped' with a back slash \' unless using the bigpipe shell.
Number data can be entered unmodified.
Usage Examples
bigpipe class - display all existing classes - names and number of values only
bigpipe class list all - display all existing classes and the values defined within them
bigpipe class test \{ network 1.1.1.0 mask 255.255.255.128 host 2.2.2.2 \} - create class test and add the values specified
bigpipe class test add \{ host 1.1.1.1 host 2.2.2.2 host 123.242.240.16 \} - add the specified values to exiting class test
bigpipe class test delete \{ network 1.1.1.0 mask 255.255.255.0 \} - delete the specified values from existing class test
bigpipe class test delete - delete the specified class test
Typical Output
noinclude/noinclude
b class;
CLASS images | TYPE string 3 items CLASS private_net | TYPE ip 3 items
b class list all;
class images {
.bmp
.gif
.jpg
.jpeg
.png
}
class private_net {
network 10.0.0.0 mask 255.0.0.0
network 172.16.0.0 mask 255.240.0.0
network 192.168.0.0 mask 255.255.0.0
}
Bigpipe Usage Notes
font color=redFrom v9.4, be aware of the administrative partition that is currently active;/font use the bigpipe shell partition command to display the current active partition name and the bigpipe shell partition name command to change partitions.
A full command manual can be displayed using the man command followed by the command name, for example: man pool or by suffixing the command name with the help keyword, for example; bigpipe pool help.
In most cases, the font color=purpleshow/font keyword displays object status or statistics and the font color=purplelist/font keyword displays configuration. URemember/U, from v9.4, only objects in the currently active administrative partition will be displayed.
The bigpipe command can be abbreviated to just b (e.g. b help instead of bigpipe help.) Alternatively, (from v9.4,) you can use the bigpipe shell to enter commands without prefixing them with bigpipe.
Where curly or normal brackets {}' or () or quotes ' or exclamation mark ! are required as part of a command and you are not using the bigpipe shell, they must be proceeded with a back slash \ to prevent the BASH shell from parsing them as system commands.
font color=redDon't forget to save your changes using the bigpipe save all command as necessary./font noinclude/noinclude
Related Commands
Use the bigpipe rule command to create irules, which can reference data classes.
Related Articles
Information on other F5 BigIP commands
Information on Linux commands
Information on Cisco commands
Information on Vyatta commands
Information on Extreme commands
Information on Nortel commands
Information on Zebra commands
Information on Windows commands
Information on Secure Platform commands
Information on Blue Coat SGOS commands
Information on Nokia IPSO commands
(replacing the # with an @) |







