Forum Discussion

jl148_44254's avatar
jl148_44254
Icon for Nimbostratus rankNimbostratus
Mar 04, 2011

Creating Http Profile Command line (Escape character?)

Hello all,

 

 

Trying to create a http profile from the command line on BIG-IP 9.4 box(not via soap/icontrol), the profile is created, however the fallback host information gets truncated in the GUI/Config. I'm assuming I need an escape character however nothing seems to work as expected.

 

 

 

b profile http pool_test { defaults from http fallback "http://10.10.10.1" }

 

 

 

or

 

 

 

b profile http pool_test { defaults from http fallback "http:\/\/10.10.10.1" }

 

 

 

I end up with just "http:" or "http:\/\/10.10.10.1"in the gui/config. I've tried \ ' ` as escape characters but I think I've been staring at it to long, what am I missing?

 

 

 

Thanks for any info...

 

 

 

 

 

 

 

 

 

 

 

2 Replies

  • You can also wrap the braces in single quotes:

    b profile http pool_test '{ defaults from http fallback "http://10.10.10.1" }'

    or

    
    b profile http pool_test '{
       defaults from http
       fallback "http://10.10.10.1"
    }'
    

    Aaron