Forum Discussion
Insert profile fastl4
Hi,
I´m trying create a iRule where I want insert fastl4 profile after an SNAT.
The iRule is:
when CLIENT_ACCEPTED { switch [IP::client_addr] { "X.X.X.X" { snat Y.Y.Y.Y } { PROFILE::fastL4 profile_fastl4 } } }
The error occurs:
" - extra switch pattern with no body while executing"
I'll be happy by help.
Regards
Luis Araujo
1 Reply
- hoolio
Cirrostratus
This saves fine on an 11.4 BIG-IP:
when CLIENT_ACCEPTED { switch [IP::client_addr] { "2.2.2.2" { snat 1.1.1.1 } { PROFILE::fastL4 profile_fastl4 } } }
Which version are you testing on? Do you have additional whitespace somewhere?
Aaron
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