Forum Discussion

Joe_48617's avatar
Joe_48617
Icon for Nimbostratus rankNimbostratus
Jul 30, 2007

rule conversion v4 to v9 First attempt

Just wanted to make sure that this was looking ok

 

 

and ask if anyone has a conversion utility to take your old v4 rules and convert them to v9 ?

 

 

Old Rule

 

if (client_addr == one of unmc_tnmc_smb) {

 

use pool app1-445

 

}

 

else {

 

discard

 

}

 

 

 

New Rule

 

when CLIENT_ACCEPTED {

 

if { [matchclass [IP::remote_addr] equals $::unmc_tnmc_smb]} {

 

pool app1-445

 

} else {

 

discard

 

}

 

}

 

 

Thanks for any help/suggestions

1 Reply

  • That looks great to me! Good work.

     

     

    As for conversion utilities, the only one I know if is in the First Time Boot Utility (FTBU) in the v9 installer. When the v9 upgrade occurs, it will attempt to upgrade the bigip.conf file which contains all the iRules.

     

     

    In the future, if you get stuck, know that we are here to help you out!

     

     

    -Joe