Forum Discussion
danra_139044
Apr 30, 2014Altostratus
Add irule via tmsh without deleting existing irules, and how to re-order
In v11.5 - need assistance in adding irules via tmsh, without deleting existing irules.
tmsh modify /ltm virtual rules { irulename } this removes all the applied irules and only adds the new i...
uni_87886
Cirrostratus
There was a similar question a couple of weeks ago, asking about adding and deleting individual profiles. I am using 11.4.1, and found that the equivalent syntax for the rules collection within a virtual does not work. I think you are stuck with rewriting the entire rules list.
This may not apply to other versions. I know through various versions little things like this are broken and fixed in tmsh. Things like being able to use wildcards for some objects and not others. The code behind tmsh must be dreadful.
TJ_Vreugdenhil
Jan 06, 2016Cirrus
I can confirm your RFE did not make it in v12: :(
tj@(F5_v12)(cfg-sync Standalone)(Active)(/Common)(tmos) show /sys version
Sys::Version
Main Package
Product BIG-IP
Version 12.0.0
Build 0.0.606
Edition Final
Date Fri Aug 21 13:29:22 PDT 2015
tj@(F5_v12)(cfg-sync Standalone)(Active)(/Common)(tmos) modify /ltm virtual test rules ?
Values:
"{" Replace the set with a new set
none Remove all items from the set
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