Rajeev_Kanzinga
Feb 22, 2016Nimbostratus
irule creation with tmsh using switch option
Hi can any one tell me what wrong in this irule creation?
create ltm rule /Common/myrule when HTTP_REQUEST { switch -glob [string tolower [HTTP::host]] {"xyz-external-fin.test.com" { pool xyz-external-fin } "xyz-external-prj.test.com" { pool xyz-external-prj }default { discard } } }
it gives error "Syntax Error: Unexpected {"
Regards, Rajeev