On F5 BIG-IP, you can manage most LTM resources in two main ways:
Configuration utility — the web-based GUI, useful for interactive administration.
TMSH (TMOS Shell) — the command-line interface, useful for repeatable administration, scripting, and automation.
Common BIG-IP resource management
| Resource | Configuration utility | TMSH examples |
|---|---|---|
| Virtual server | Local Traffic → Virtual Servers → Virtual Server List | tmsh list ltm virtual |
| Pool | Local Traffic → Pools → Pool List | tmsh list ltm pool |
| Pool member | Local Traffic → Pools → Pool List → Members | tmsh list ltm pool <pool-name> members |
| Node | Local Traffic → Nodes → Node List | tmsh list ltm node |
| Profiles | Local Traffic → Profiles | tmsh list ltm profile |
| Monitors | Local Traffic → Monitors | tmsh list ltm monitor |
Example: create a node
tmsh create ltm node web01 address 10.10.10.11
Create a pool
tmsh create ltm pool web_pool \
members add { web01:80 }
Or create the node and pool member separately:
tmsh create ltm node web02 address 10.10.10.12
tmsh modify ltm pool web_pool members add { web02:80 }
Create an HTTP monitor
tmsh create ltm monitor http web_http_monitor \
destination *:80 \
send "GET / HTTP/1.1\r\nHost: example.com\r\nConnection: close\r\n\r\n" \
recv "200 OK"
Attach the monitor to a pool
tmsh modify ltm pool web_pool monitor web_http_monitor
Create a virtual server
For example, a TCP/HTTP virtual server listening on 192.0.2.10:80:
tmsh create ltm virtual web_vs \
destination 192.0.2.10:80 \
ip-protocol tcp \
pool web_pool \
profiles add { tcp http }
Inspect configuration
tmsh list ltm virtual web_vs
tmsh list ltm pool web_pool
tmsh list ltm node web01
tmsh list ltm monitor http web_http_monitor
For a more compact view:
tmsh show ltm virtual web_vs
tmsh show ltm pool web_pool
tmsh show ltm node web01
Save the configuration
After making changes:
tmsh save sys config
You can also use:
tmsh save sys config partitions all
The exact available properties and syntax vary somewhat by BIG-IP/TMOS version and resource type.