Forum Discussion

Eddberk's avatar
Eddberk
Icon for Nimbostratus rankNimbostratus
Jul 18, 2013

VIP to VIP redirect

Getting the following error when i try to save my irule "01070151:3: Rule [IN7_BWorks_C_iRule] error: line 7: [undefined procedure: Virtual] [Virtual IN7_BWorks_C_VS ]" Please Help with syntax!!

 

I am curently running version 10.2

 

when CLIENT_ACCEPTED {

 

Check if client's IP is a member of data group CE and redirect to this virtual server "IN7_BWorks_C_VS"

 

 

if { [matchclass [IP::client_addr] equals CE]} {

 

Virtual IN7_BWorks_C_VS }

 

}

 

6 Replies

  • Trying a lowercase "v" has made no difference..I am still get this error => 01070151:3: Rule [IN7_BWorks_C_iRule] error: line 7: [can't find virtual] [virtual IN7_BWorks_C_VS ]

     

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus
    Eddberk,

     

     

    That suggests to me that the virtual you're referencing in the iRule doesn't exist. Now I'm sure it does so it's probably a typo and I think it's case sensitive too. Can you double check?

     

     

    Hope this helps,

     

    N
  • Working now!!! the virtual server name is case sensitive..It should be "IN7_Bworks_C_vs" and NOT "IN7_BWorks_C_VS"

     

    Many thanks for all your help..