Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox Bookmark and Share

Class command, bigpipe

From RZWiki


Image:F5-logo-large.png

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

Image:Vm-power-on-medium.png 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

Image:accessories-text-editor-v2-medium.png 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.

Image:Vm-power-on-medium.png 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

Image:utilities-terminal-medium-v2.png 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
}

Image:accessories-text-editor-v2-medium.png 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

Image:icemon-medium.png Related Commands

Use the bigpipe rule command to create irules, which can reference data classes.

Image:icemon-medium.png Related Articles

Information on other F5 BigIP commands Image:F5-logo-small.png

Information on Linux commands Image:Tux-small.png

Information on Cisco commands Image:Cisco-logo-small.png

Information on Vyatta commands Image:Vyatta-logo-small.png

Information on Extreme commands Image:Extreme-logo-small.png

Information on Nortel commands Image:Nortel-logo-small.png

Information on Zebra commands

Information on Windows commands Image:Preferences-system-windows-small.png

Information on Secure Platform commands

Information on Blue Coat SGOS commands

Information on Nokia IPSO commands


Image:internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to sjiveson#routerzone.eu
(replacing the # with an @)


Site Toolbox:

Personal tools
This page was last modified on 30 April 2009, at 13:16. - This page has been accessed 192 times. - Disclaimers - About RZWiki
Powered by MediaWiki