Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

List Virtual servers with state/availability

sjaakie_85264
Nimbostratus
Nimbostratus

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

 

5 REPLIES 5

Abdessamad_851
Nimbostratus
Nimbostratus

Hello,

 

you need to use show command instead of list.

 

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

sjaakie_85264
Nimbostratus
Nimbostratus

thank you so much! that did the trick

 

sjaakie_85264
Nimbostratus
Nimbostratus

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"

 

rbenford2311
Nimbostratus
Nimbostratus

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.

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