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 {
...
Humair_167681
Dec 16, 2015Nimbostratus
Hi Pete,
Please have a look at the config below.
ltm policy /Common/Test {
controls { forwarding }
requires { http }
rules {
Client6 {
actions {
0 {
forward
select
pool /Common/Client6
}
}
conditions {
0 {
http-uri
contains
values { 0062/ }
}
}
ordinal 1
}
Client1 {
actions {
0 {
forward
select
pool /Common/Client1
}
}
conditions {
0 {
http-uri
contains
values { 0007/ }
}
}
}
Client2 {
actions {
0 {
forward
select
pool /Common/Client2
}
}
conditions {
0 {
http-uri
contains
values { 0053/ }
}
}
}
Client3 {
actions {
0 {
forward
select
pool /Common/Client3
}
}
conditions {
0 {
http-uri
contains
values { 0061/ }
}
}
}
Client4 {
actions {
0 {
forward
select
pool /Common/Client4
}
}
conditions {
0 {
http-uri
contains
values { 0040/ }
}
}
}
Client5 {
actions {
0 {
forward
select
pool /Common/Client5
}
}
conditions {
0 {
http-uri
contains
values { 0044/ }
}
}
}
}
strategy /Common/first-match
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