Sunday, June 9, 2024

How to manage users on a Cisco switch

switch# config t

List users
show user-account

Show particular user
show user-account user1

Add user
username user1 password abcd123AAA expire 2003-05-31

Delete user
no username user1 privilege 15 secret 5 $1$j5dF$8SGPjO2Um5mstBsvtA4cO/

Assign a role
username user1 role network-admin

Remove the user from a role
no username user1 role network-operator