delete multiple pool members in Cli

Delete multiple pool members from Cli command needed

Hi,

for one node..

tmsh modify ltm pool [pool_name] members delete { [node]:[service_port] }

for multiple :

tmsh modify ltm pool pool_name members delete { [node1]:[service_port] } members delete { [node2]:[service_port] } etc..

Thx

Srini

tmsh
(tmos) modify ltm pool  members delete { node1:port node2:port }

above command will work fine if there is only one partition. However if there is more than one partition you need to give partition name as well.

tmsh modify ltm pool /traffic-group/pool_name members delete {1.1.1.1:80 1.1.1.2:80 1.1.1.3:83}

Thanks Amit