Forum Discussion
TMSH multilie config syntax
Hey Guys,
For instance how will I make use of tmsh equivalent to this bigpipe code, what delimiters can be used?
I can do this in a single line but I am interested in the option for multiple lined config, please advise.
b pool test.com_pool '{
lb method member observed
monitor all http
members {
10.10.10.186:http {}
10.10.10.187:http {}
10.10.10.188:http {}
10.10.10.189:http {}
}
}'
-Ajmal
9 Replies
- nitass
Employee
what about this one?root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) list ltm pool test.com_pool 01020036:3: The requested pool (/Common/test.com_pool) was not found. root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) load sys config from-terminal merge Enter configuration. Press CTRL-D to submit or CTRL-C to cancel. ltm pool test.com_pool { load-balancing-mode observed-member members { 10.10.10.186:80 10.10.10.187:80 10.10.10.188:80 10.10.10.189:80 } monitor http } Loading configuration... root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) list ltm pool test.com_pool ltm pool test.com_pool { load-balancing-mode observed-member members { 10.10.10.186:80 { address 10.10.10.186 session monitor-enabled state checking } 10.10.10.187:80 { address 10.10.10.187 session monitor-enabled state checking } 10.10.10.188:80 { address 10.10.10.188 session monitor-enabled state checking } 10.10.10.189:80 { address 10.10.10.189 session monitor-enabled state checking } } monitor http } - Ajmal_2608
Nimbostratus
Thanks Nitass
This looks good and exactly what I was looking at. But does it need 11.x and above only or will work on 10.x tmsh mode ?For me on 10.2 in tmsh it gives errror:
admin@F5-LTM(Active)(tmos) load sys config from-terminal merge
Syntax Error: "from-terminal" unknown property
admin@F5-LTM(Active)(tmos)
- nitass
Employee
But does it need 11.x and above only or will work on 10.x tmsh mode ?in 10.x, i use b merge.
BIG-IP and Merge File Configuration Changes by Michael
https://devcentral.f5.com/tech-tips/articles/big-ip-and-merge-file-configuration-changes- Albert_59847
Nimbostratus
Hi nitass, I am planning to upgrade my ltm 8900 from 10.2.1 to 11.6.x by using merge as you have mentioned in your post is possible? What if I take the backup and format the box and install directly the 11.6 and load the previous config from 10.2.1 and merge to current OS it will work? I am newbie at f5 and having downtime is very critical any suggestion on my plans? Thanks - nitass
Employee
when upgrading (from 10.x to 11.x) or loading (10.x ucs to 11.x), bigip will convert 10.x configuration to 11.x configuration for you. i do not think you need to use merge command. if downtime is critical, you may test it in test unit first. so, if there is any error in converting, you will see it before.
- nitass_89166
Noctilucent
But does it need 11.x and above only or will work on 10.x tmsh mode ?in 10.x, i use b merge.
BIG-IP and Merge File Configuration Changes by Michael
https://devcentral.f5.com/tech-tips/articles/big-ip-and-merge-file-configuration-changes- Albert_59847
Nimbostratus
Hi nitass, I am planning to upgrade my ltm 8900 from 10.2.1 to 11.6.x by using merge as you have mentioned in your post is possible? What if I take the backup and format the box and install directly the 11.6 and load the previous config from 10.2.1 and merge to current OS it will work? I am newbie at f5 and having downtime is very critical any suggestion on my plans? Thanks - nitass_89166
Noctilucent
when upgrading (from 10.x to 11.x) or loading (10.x ucs to 11.x), bigip will convert 10.x configuration to 11.x configuration for you. i do not think you need to use merge command. if downtime is critical, you may test it in test unit first. so, if there is any error in converting, you will see it before.
- Ajmal_2608
Nimbostratus
Thanks
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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