Forum Discussion

Arjun's avatar
Arjun
Icon for Nimbostratus rankNimbostratus
Mar 13, 2021

Irule error unable to upgrade image

HI Guys,

I am trying to upgrade one appliance and getting the below error message while loading the bigip.conf file.

 

01070151:3: Rule [/Common/BlockExternalEWS2] error: /Common/BlockExternalEWS2:7: error: ["wrong # of arguments"][class match [IP::client_addr] not eq private_net]

 

Unexpected Error: Validating configuration process failed.

3 Replies

  • Try to use "!" instead of "not eq"

        {!([class match [IP::client_addr] equals private_net])}
  • Check whether the iRule is in use. If not, delete it prior to upgrade

  • To add to the previous posts also private_net may need to be $private_net or "private_net" or "$private_net" but if it is not used remove it as the new f5 version may better detect the bad config than the old one.