Forum Discussion
hooleylist
Dec 16, 2010Cirrostratus
For bigpipe format, you can check an existing object in the bigip.conf or bigip_base.conf. As Jason pointed out a while ago, you can escape the new lines using single quotes. So if the virtual server looks like this in the bigip.conf:
virtual www.example.com_http_vs {
snat automap
pool ubuntu_external_http_pool
destination 10.1.0.15:80
ip protocol tcp
rules vs_name_to_redirect_rule
profiles {
http {}
tcp {}
}
}
you can use this to create it:
b virtual www.example.com_http_vs '{
snat automap
pool ubuntu_external_http_pool
destination 10.1.0.15:80
ip protocol tcp
rules vs_name_to_redirect_rule
profiles {
http {}
tcp {}
}
}'
Note the single quotes before the first curly brace and after the last curly brace.
Aaron