Forum Discussion
Add 200 IP to the datagroup list
Well if its an internal DG, you can follow the below,
Step 1 : Do a list of the existing records and copy it to a file. If the list is small, copy it to a text file and save it in the local desktop.
Command : tmsh list ltm data-group internal
Eg : AOL which is a F5 default dg. Make sure you copy this part too.
ltm data-group internal aol {
records {
IP's
}
type ip
}
Step 2: Once the IP's and the keywords are copied to a text file, paste the new 200 IP's as per the subnets required inbetween the records section { } , without adding subnets will make it default /32.
Step 3: Winscp the txt file to the LTM, or you can create it in the F5 /var/tmp/ location itself.
Step 4: Merge the uploaded file or the tmp location file.
Command : tmsh load /sys config file /var/tmp/ip_list.txt merge
NOTE: Make sure you add the merge command at the end, else your entire config will be replaced with this txt file alone. There wont be any config left and your box will go config less...Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com