Forum Discussion
235
Nimbostratus
Jul 14, 2016add irules in vs
how to use tmsh command to add a irules and not change existing irules in some vs.not all or someone.
IanB
Employee
Jul 15, 2016Unlike many properties where you can use 'add/remove/replace-all-with', this syntax is not available in tmsh for editing the list of irules attached to a virtual server.
You will need to set the entire list every time
So if your current server has
rules {
rule1
rule2
}
and you want to add rule3, you'll need to set all three rules in one command:
tmsh modify ltm virtual server vs1 rules { rule1 rule2 rule3 }
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