Forum Discussion

usaims_113073's avatar
usaims_113073
Icon for Nimbostratus rankNimbostratus
Jul 22, 2011

Disable multiple nodes on the command line

Hi, first of all, this is a bigpipe question but it can turn into a tmsh question.

 

 

I'm trying to disable multiple modes at one time on the command line.

 

 

 

Here's the command:

 

 

bigpipe node xxx.xxx.xxx.73 xxx.xxx.xxx.72 {session disable}

 

 

Here's the error:

 

 

012e0020:3: The requested item (xxx.xxx.xxx.72 {) is invalid ( | show | list | edit | delete | stats reset) for 'node'.

 

  • Mark_Crosland_2's avatar
    Mark_Crosland_2
    Historic F5 Account
    This works

     

    tmsh modify ltm node 4.4.4.4 5.5.5.5 { session disabled }

     

     

    But I could not get bigpipe to manage multiple nodes in one command

     

  • Mark_Crosland_2's avatar
    Mark_Crosland_2
    Historic F5 Account
    In tmsh the braces are optional, this also works

     

     

    tmsh modify ltm node 4.4.4.4 5.5.5.5 session disabled

     

  • I know this thread is old but how can i disable multiple nodes without using the full node name . Lets say i have node1 node2 node3. I want to put them in down state using : modify ltm node node[1-3] state user-down, is that possible somehow ? How can i use wildcard in modify