Forum Discussion
tmsh command for ltm policies in use
Something like this may help:
you have an ltm policy called "policy1"
root@(F5Lab)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm policy one-line
ltm policy policy1 { controls { forwarding } last-modified 2017-12-20:16:35:31 requires { http } rules { tt { actions { 0 { http-reply redirect location http://www.google.com } } conditions { 0 { http-uri path values { /test } } } } } status published strategy first-match }
Now search "policy1" across all VSs:
root@(F5Lab)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm virtual one-line | grep policy1
ltm virtual Test_DVM { destination 10.100.100.100:https ip-protocol tcp mask 255.255.255.255 policies { policy1 { } } pool Pool_DVM profiles { analytics { } clientssl { context clientside } http { } tcp { } tcp-analytics { } } source 0.0.0.0/0 source-address-translation { type automap } translate-address enabled translate-port enabled vs-index 3 }
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