Forum Discussion
Humair_167681
Dec 16, 2015Nimbostratus
How to remove config from LTM policy using CLI?
Hi all,
We have following policy on one of our LTMs.
ltm policy /Common/Test {
controls { forwarding }
requires { http }
rules {
Test-Client1 {
actions {
...
PeteWhite
Dec 16, 2015Employee
OK, I see that there are a number of rules and only one has an ordinal set which seems strange. Did you configure them via the GUI or via tmsh?
As far as I understand, you need to have an ordinal set per rule, hence why you have the option to reorder them in the GUI. I'd be inclined to go to the GUI, hit Reorder then Update and it should setthe ordinal based on the order of the rules in the GUI. Or use tmsh:
modify ltm policy /Common/Test rules modify { Client6 { ordinal 6 } Client1 { ordinal 1 } Client2 { ordinal 2 } Client3 { ordinal 3 } Client4 { ordinal 4 } Client5 { ordinal 5 } }
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