Using Prime template to modify local usernames to device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2022 08:32 AM
Has any one used Prime and a template to delete or modify local user names on a Cisco device? We have a user that has left the company and need to remove their local login from our 200+ devices in prime. It seems some of our devices simply can take the no username {user} wihout issue and some seem to need a "confirmation" as part of the delete. I currently have a two line template running with the no username command followed by a "y: on the second line to see if that will work across the board. It seems I am having more failures that success but will need to go look as specific samples to see why. Just wondering if there was something better.
Thanks...
- Labels:
-
Network Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2022 08:47 AM
You need to look the template , are you looking to remove the users and adding new users ?
i will do small script out of the Box, not to use Prime (personally)
you can look the template :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2022 10:45 AM
Error : Connnection timed out while executing the command Current output : no username fred
This operation will remove all username related configurations with same name.Do you want to continue? [confirm]
Current expects : (Wynne_Sale.{0,30}|Wynne_Sales)([^)]+)#s*z
Wynne_Sales#s*z
[y/n]
ACCEPT? (yes/[no]):
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2023 06:19 AM
Circling back to see if anyone has s solution as this has come up again. The older versions of IOS can be addressed with the template as they do not ask for verification but not so with the new versions. Just trying to not have to walk the network and manually clean up so many.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2023 08:20 AM
Hello,
I cannot test this, so I do not know if this works, but check the last post from 'ilyas mohammed' in the thread linked below:
