Forum Discussion

sjaakie_85264's avatar
sjaakie_85264
Icon for Nimbostratus rankNimbostratus
Apr 06, 2018

List Virtual servers with state/availability

HI all,

 

i have v11.3 and I would liek to get a list of all virtual servers in a certain state/availability When i run the tmsh command list ltm virtual i do not get the state of the VS.

 

Any suggestions?

 

thanks, Robin

 

  • Hello,

    you need to use show command instead of list.

    tmsh show ltm virtual | egrep "Virtual Server|Availability"
    
  • Comment made 15 minutes ago by Abdessamad 136 Hello,

     

    you need to use show command instead of list.

     

    tmsh show ltm virtual | egrep "Virtual Server|Availability"

     

  • when I use the command it ask me if I want to show all 149 y/n when I click yes it pauses and go back command prompt.

    • Lidev's avatar
      Lidev
      Icon for MVP rankMVP

      be careful not to forget the pipe ( | ) in you tmsh command.