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…

Ok, never mind, it’s been a long day.. :slight_smile: Seems to work now.

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