DX NetOps

 View Only
  • 1.  Spectrum users

    Posted Apr 01, 2025 10:58 AM

    Dear community, is there any way to get the list of Spectrum users via command or in some automated way, without having to do it directly from OneClick?



  • 2.  RE: Spectrum users

    Broadcom Employee
    Posted Apr 01, 2025 01:07 PM

    Hi Jose,

    You can run the CLI (Command Line Interface) on the SpectroSERVER host:

    1. Log in to the SpectroSERVER host as the Spectrum Install Owner account

    2. Navigate to the $SPECROOT/vnmsh/ directory

    3. Connect to the CLI

    ./connect

    4. Run this syntax to display the Users:

    ./show models | grep 0x10004 | grep User

    5. Run this syntax to display the UserGroups:

    ./show models | grep 0x1040a | grep UserGroup

    Thanks,
    Silvio




  • 3.  RE: Spectrum users

    Posted Apr 03, 2025 03:31 AM

    1) VNMSH, described earlier

    2) ModelingGateway. You can export the list of users in an XML. Here more info. 

    3) RestAPI. Get filtered models, filter by model type of type (0x10004 - User, 0x1040a - UserGroup). Here more info.

    I would go with RestAPI. It's the most flexible of all.



    ------------------------------
    Cătălin Fărcășanu
    Senior Consultant
    SolvIT Networks
    ------------------------------