Forum Discussion

kps_202810's avatar
kps_202810
Icon for Nimbostratus rankNimbostratus
Jul 05, 2016
Solved

can anyone who can share me a cli commands for adding http profile and irule

i want a syntax to add http profile and irule for virtual server in single command.

 

consider VS name is KPS and http profile as HTTP and irule name as Irulekps, please share me the commands.

 

  • modify ltm virtual KPS profiles add { http } or modify ltm virtual KPS profiles replace-all-with { http } modify ltm virtual KPS rules { Iruleskps }

     

    You could of course Tab Complete the commands.

     

4 Replies

  • modify ltm virtual KPS profiles add { http } or modify ltm virtual KPS profiles replace-all-with { http } modify ltm virtual KPS rules { Iruleskps }

     

    You could of course Tab Complete the commands.

     

    • IainThomson85_1's avatar
      IainThomson85_1
      Icon for Cumulonimbus rankCumulonimbus
      https://support.f5.com/content/kb/en-us/products/big-ip_ltm/manuals/product/bigip_tmsh_refguide/_jcr_content/pdfAttach/download/file.res/Traffic_Management_Shell_(tmsh)_Reference_Guide.pdf Might help you.
    • kps_202810's avatar
      kps_202810
      Icon for Nimbostratus rankNimbostratus
      HI THomson, can I add it in single command, y am asking without applying http profile adding irule is not possible right that y am asking?
    • IainThomson85_1's avatar
      IainThomson85_1
      Icon for Cumulonimbus rankCumulonimbus
      Sure can - you could build a very long string if you wanted to Have a go with tab completion on the CLI - Becomes second nature after a while.