Forum Discussion

Suni's avatar
Suni
Icon for Altostratus rankAltostratus
Mar 19, 2015

Finding "Active Device" of a traffic group

Hi, Is there any way to get the "Active Device" of a given traffic group using powershell? On the GUI, if you go to Device Management-> Traffic Groups, this information is displayed in the column "Active Device". I've tried various ways to access this info, and have so far been unsuccessful via Powershell.

 

Thanks so much!!

 

6 Replies

  • Hi Suni,

     

    I think you're looking for "show /cm traffic-group" command.

     

    Regards Mariusz

     

  • Suni's avatar
    Suni
    Icon for Altostratus rankAltostratus

    Hi Mariuz, I actually didn't know about that command. I just tried it in the tmsh shell and it worked great.

     

    However, I am trying to achieve this via iControl and specifically PowerShell if at all possible. Do you know if there is a way to get this information via PowerShell?

     

    Thanks so much!

     

  • Suni's avatar
    Suni
    Icon for Altostratus rankAltostratus

    Hi boneyard, I actually did and I am leveraging a lot I learned from that and other PS/iControl articles to do what I need in our environment (creating pools,healthchecks etc), but, I have so far not been successful in being able to connect to a F5 unit that is part of an HA pair, running Active/Active, where some traffic groups are on one unit and others are on the other unit, and get which unit is currently active for a given Traffic Group. -Suni