Forum Discussion

Ceyhun's avatar
Ceyhun
Icon for Nimbostratus rankNimbostratus
Aug 14, 2020

ACE HTTP header rewrites to F5

How to convert Cisco ACE header rewrites to F5

 

How to write the irule for the following:

 

    insert-http I_AM header-value "SSL_INIT"

    insert-http DEST_Port header-value "%pd"

    insert-http DEST_IP header-value "%id"

    insert-http SRC_Port header-value "%ps"

    insert-http SRC_IP header-value "%is"

 

 

 

Thanks

2 Replies

  • Ceyhun's avatar
    Ceyhun
    Icon for Nimbostratus rankNimbostratus

    Can you tell me what does this do? 

     insert-http I_AM header-value "SSL_INIT"

     

     

    • rob_carr's avatar
      rob_carr
      Icon for Cirrostratus rankCirrostratus

      'insert-http' appears to be a policy map command to insert an HTTP header and associated value. You'd have to go check ACE documentation to be sure.

       

      A roughly equivalent command within iRules would be 'HTTP::header insert'