ltm data-group internal
ltm data-group internal(1) BIG-IP TMSH Manual ltm data-group internal(1)
NAME
internal - Configures an internal class.
MODULE
ltm data-group
SYNTAX
Configure the internal data-group within the ltm data-group module using the syntax shown in the following sections.
CREATE/MODIFY
create internal [name]
options:
app-service [[string] | none]
description [string]
records [add | delete | modify | replace-all-with] {
[record key] {
data [value]
}
}
records none
type [integer | ip | [string] ]
modify internal [name]
options:
app-service [[string] | none]
description [string]
records [add | delete | modify | replace-all-with] {
[record key] {
data [value]
}
}
records none
edit internal [ [ [name] | [glob] | [regex] ] ... ]
options:
all-properties
non-default-properties
DISPLAY
list internal
list internal [ [ [name] | [glob] | [regex] ] ... ]
show running-config internal
show running-config internal [ [ [name] | [glob] | [regex] ] ... ]
options:
all-properties
non-default-properties
one-line
partition
DESCRIPTION
Data groups are lists of data that you define and use with iRules(r) operators. Consider using an external data group if
the number of records is expected to be large.
The BIG-IP(r) system includes a number of predefined lists that you can use. They are:
• aol
• default_accept_language
• images
• private_net
The above lists are located in the file /config/profile_base.conf. When you run the load command, the system loads these
lists; however, unless you have modified the lists, the system does not save the lists to the bigip.conf file.
The internal data groups are stored in the bigip.conf file.
Internal data groups can be one of three types:
• A list of IP addresses
• A list of strings
• A list of integers
Strings must be surrounded by quotation marks. Numbers can be either positive or negative. These groups define the type of
data in the class, which can be IP addresses, strings, or integers>
EXAMPLES
create internal MyDG records add { 10.0.0.0 } type ip
Creates an internal data group named MyDG that contains a single IP address.
create internal DG2 records add { 192.1.1.255 192.2.1.255 192.3.1.255 } type ip
Creates an internal data group named DG2 that contains a list of three network addresses: 192.1.1.0/24, 192.2.1.1/24, and
192.3.1.1/24.
create internal MyDG records add { my_key { data my_value } } type string
Creates an internal data group named MyDG that contains a single name/value pair.
OPTIONS
app-service
Specifies the name of the application service to which the data group belongs. The default value is none. Note: If the
strict-updates option is enabled on the application service that owns the object, you cannot modify or delete the data
group. Only the application service can modify or delete the data group.
description
User defined description.
records
Configures the data in the group.
regex
Displays the items that match the regular expression. The regular expression must be preceded by an at sign (@[regular
expression]) to indicate that the identifier is a regular expression. See help regex for a description of regular
expression syntax.
type Specifies the kind of data in the group. The default value is ip. This option is required by the command create.
SEE ALSO
create, delete, edit, glob, list, modify, regex, tmsh
COPYRIGHT
No part of this program may be reproduced or transmitted in any form or by any means, electronic or mechanical, including
photocopying, recording, or information storage and retrieval systems, for any purpose other than the purchaser's personal
use, without the express written permission of F5 Networks, Inc.
F5 Networks and BIG-IP (c) Copyright 2009-2012. All rights reserved.
BIG-IP 2012-12-21 ltm data-group internal(1)