Forum Discussion
How to ADD new iRule to a virtual server in CLI without overwrite the existing ones?
In 11.5.1 HF7 Could someone please confirm why modify ltm virtual rules add { IRULE_name } is not working?
The same add (or add, delete, modify, none, replace-all-with) is working well with for example profiles: modify ltm virtual profiles add { PROFILE_name }
When this bug/feature(?) will be corrected? Is there a version yet?
What is the workaround? I would need to ADD and/or DELETE a single iRule from several VS without touching the other added iRules.
Thanks in advance!
1 Reply
- shaggy
Nimbostratus
you need to re-add the iRules that were already there. I believe this does not use add/delete because sequence matters when assigning iRules to a VS. They will be ordered with the first rule in the command being the top/first rule in the VS - the example below would result in the VS having rules ordered:
- new-rule
- old-rule1
- old-rule2
modify ltm virtual abc-vs rules { new-rule old-rule1 old-rule2 }
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