Forum Discussion
Dixit_18200
Nimbostratus
Apr 09, 2009How to configure new VIP in LB using CLI?
Hi Guys,
Can some one please help me out in knowing the commands for configuring the new VIP via CLI.
hoolio
Cirrostratus
Apr 09, 2009Citizen_elah posted a very handy method for making changes to the running configuration using the bigpipe command (aliased as b). Just wrap the outer curly braces in single quotes and you don't have to escape any of the new lines in the statement. In general, you can create one example of an object in the GUI and then check the /config/bigip.conf for the CLI syntax. You can then use bigpipe to create the object. Make sure to run 'b save' to write the config from memory to the config file.
b virtual test_http_vs '{
snat automap
pool test_http_pool
destination 1.1.1.1:http
ip protocol tcp
rules test_rewrite_stream_rule
profiles
test_http_rechunk
test_stats_profile
stream
tcp
}'
The exact format has changed over the versions, so make sure to check your bigip.conf for the exact syntax for your version.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
