Sunday 8 September 2019

F5 LTM Configuration CLI Commands


LTM Configuration



Commands
Explanation
(tmos.ltm)# create pool TEST-POOL-1
Config# tmsh create /ltm pool TEST-POOL-1
Create pool object from  CLI
Config# tmsh delete /ltm pool TEST-POOL-1
delete pool object from  CLI
Tmos# modify /ltm node 10.10.10.211 session user-disabled
Tmos# modify /ltm node <node name> session user-enabled
to set the state of the node 10.10.10.211 to Disabled/enabled
Tmos# modify /ltm node 10.10.10.211 state user-down session user-disabled
Tmos# modify /ltm node <node name> state user-up session user-enabled
to set the state of the node 10.10.10.211 to Forced Offline/online
Tmos# tmsh delete /sys connection ss-server-addr 10.10.10.211
If after disabling or forcing the node offline, you want to delete all connections to that node, to delete all connections to node 10.10.10.211
Tmos# modify /ltm pool http-pool members modify { 10.10.10.211:http { session user-disabled } }
Tmos# modify /ltm pool http-pool members modify { <pool member:port> { session user-enabled } }
to set the state of the pool member 10.10.10.211:http in pool http-pool to Disabled/enabled
Tmos# modify /ltm pool http-pool members modify { 10.10.10.211:http { session user-disabled state user-down} }
Tmos# modify /ltm pool http-pool members modify { <pool member:port> { session user-enabled state user-up } }
to set the state of the pool member 10.10.10.211:http in pool http-pool to Forced Offline/Online






No comments:

Post a Comment

iRule

  iRule: -- o iRule is a powerful and flexible feature within the BIG-IP local traffic management (LTM). o IRule is a powerful & flexibl...