Forum Discussion
Chris_Chaloux_1
Nimbostratus
Jul 13, 2009Multiple iRules
Does anyone know of a way of specifying a specific iRule to be disabled w/o having to "none" on the bp command? There are some instances where I need to enable an iRule on a virtual that already has one applied. When I run the bp command and specify "none" it removes both the rule I put up but also the one I had applied that I dont want to be disabled.
Thanks!!
Chris
1 Reply
- hoolio
Cirrostratus
Hi Chris,
I think you need to specify each iRule you want to leave configured on the virtual server. You could potentially use sed to remove the iRule from the virtual server definition and then pipe it back to bpsh:b virtual test_vs list virtual test_vs { snat automap pool test_http_pool destination 1.1.1.1:80 ip protocol 6 rules test_1_rule test_2_rule test_3_rule profiles http stream tcp } b virtual test_vs list|sed -r 's/test_2_rule//g'|bpsh b virtual test_vs list virtual test_vs { snat automap pool test_http_pool destination 1.1.1.1:80 ip protocol 6 rules test_1_rule test_3_rule profiles http stream tcp } b save
Aaron
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