Finding Authgroup's devices.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2022 07:42 AM
Hi team,
I'd like to know if it's possible to check an authgroup's list of devices. I'm only able to view the authgroups but not the devices they include:
admin@nso-msl-01(config)# devices authgroups group ?
This line doesn't have a valid range expression
Possible completions:
The name of the authgroup ATP ATP_B NCS6K-2 PAT
ZTP cisco lab_paswd netsim operations
stc-svs-asr9K stc-svs-asr920 stc-svs-ncs560 tacacs_test test4BPA
Is there a way of finding the list of devices of each authgroup? Would I have to check each device's configuration to see to which authgroup they belong to?
Your help is very much appreciated. Thank you.
Best regards.
- Labels:
-
Developer
-
Tail-f expert verified

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2022 09:50 AM
Try this:
show running-config devices | display xpath | include "authgroup <<authgroup_name>>"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2022 10:11 AM
Hello,
You can use this command
show running-config devices device * authgroup | display xpath
Or you can write a basic python script that iterate throught device and create a dict ( authgroup_name: [ list of device using the authgroup ] )
