You should send command ``showdevices'' and you will receive device names, ips and status Up/Down in next form.
#: Begin
vgw 192.168.113.21 Up
vgk 192.168.113.15 Up
as01 192.168.113.28 Up
as02 192.168.113.12 Up
#: End