Forum Discussion

anoop1's avatar
anoop1
Icon for Nimbostratus rankNimbostratus
Jan 04, 2017

IRule Object creation via file merge donot include comments

When I try to merge the configuration Irule (with comments in it)in BIGIP the Irule gets merged but the all comments are left out.

 

Please help me know is it a BIGIP bug or it is the expected functionality.

 

1 Reply

  • Does not seems expected functionality for me. It should keep the comments, does not matter if you add the iRule via GUI, tmsh create ltm irule, or tmsh load sys config merge.

    I tested in 12.1.2, and I can't replicate the behavior. I added the following iRule via GUI and merge command, and the comments are there after. I looked the configuration after via GUI and tmsh list, also bigip.conf.

    when RULE_INIT {
        Log client IP
        log local0. "rule init"
    }
    when CLIENT_ACCEPTED {
        Log client IP
        log local0. "Client ip = [IP::remote_addr]"
    }
    

    Search in askf5 for bugs in the version you are using. If you don't find anything, you can either upgrade or open a support case about that.