Forum Discussion
rgordon_01
Nimbostratus
Mar 02, 2016LTM I want to add 329 networks to be directed to a different pool than assigned to the VS. Could this be done by importing External file management?
Here is the situation. During testing we've setup an iRule and datagroup that says when client accepted if ip address equals what is in datagroupA send to this pool else send to this pool. Everythi...
raduioncu_16351
Nimbostratus
Mar 02, 2016Hi,
You can easily script a data group generation (even from Excel - use CONCATENATE() ) that contains the subnet as key and the pool name as data so you can more easily assign the pool - then just copy and paste the entries in TMSH.
create ltm data-group internal TEST-IP type ip
modify ltm data-group internal TEST-IP records add { 10.1.0.0/24 { data "STOREA-POOL" } }
modify ltm data-group internal TEST-IP records add { 10.2.0.0/24 { data "STOREB-POOL" } }
....
ltm data-group internal TEST-IP {
records {
10.1.0.0/24 {
data STOREA-POOL
}
10.2.0.0/24 {
data STOREB-POOL
}
}
type ip
}
Radu
rgordon_01
Nimbostratus
Mar 02, 2016Hi Radu,
thanks for the info. I've never used CONCATENATE before but I did a little research and was able to create a text file that I should be able to copy and paste in TMSH. I will get back to you hopefully tomorrow after I test and confirm it's doing what I need it to do.
thanks!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
