Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Mass input/create "Data group list" ?

danielc
Cirrus
Cirrus

Hello,

Would you please let me know if there is any way to input/create data group in bigup not via the GUI?  I am going to create 300+ data group list

Thanks

1 ACCEPTED SOLUTION

Thanks, I already solved this problem by myself and I have already created 300+ data groups.

I just wonder why nobody let me know I can create data group by tmsh command....

 
create /ltm data-group internal d1051_ip_dc type ip records add { 172.2.3.1/32 {} 172.2.3.2/32 {} }
 
With this command I just able to use excel to lookup the IP address and automatically generate 300+ tmsh commands in one go....then hola....solved.

 

 

View solution in original post

10 REPLIES 10

Hello Danielc

You can create external datagroups

https://support.f5.com/csp/article/K73862425

 

Regards,
Dario.

Yup as this is one of the things I have shown in the link I provided.

Sorry mate, too many literature for me 😅

Regards,
Dario.

Hello Dario,

I looked at it, it seems for this approach, i will need to create 300+ files for 300+ data group, am I understand this correctly? 

Yep, you have to create a file for each datagroup, that's the key. But I don't understand why you need to create 300+ datagroups instead of a few datagroups with many records. Could you clarify what your approach is? 

Regards,
Dario.

I am doing access control based on different objects, I have 300+ different objects need to check access control of 300+ group of IP address. I am still thinking should I do this via ansible.

Then just check the link I proved as I am using Ansible for this task 😉

Thanks, I already solved this problem by myself and I have already created 300+ data groups.

I just wonder why nobody let me know I can create data group by tmsh command....

 
create /ltm data-group internal d1051_ip_dc type ip records add { 172.2.3.1/32 {} 172.2.3.2/32 {} }
 
With this command I just able to use excel to lookup the IP address and automatically generate 300+ tmsh commands in one go....then hola....solved.

 

 

mayorka02
Nimbostratus
Nimbostratus

good luck for your work 🙂you are in good place 

Appvalley TutuApp Tweakbox