Configuring Username
You can configure the username based on the role(RBAC) using the below command:
Reference
Command
[no] username <user_name> password <user_password> role [network-operator/network-admin]
Description
username configuration
Parameters
username
Mode
CONFIG
Example
pbnoscli# configure terminal
pbnoscli(config)# username
<user_name>
pbnoscli(config)# username test
password Create user password
pbnoscli(config)# username test password
<user_pwd> Enter password
pbnoscli(config)# username test password pass@123 role
network-admin Admin
network-operator Operator
pbnoscli(config)# username test password pass@123 role network-admin
pbnoscli#
pbnoscli(config)# no username test
pbnoscli(config)#You can verify the configuration by using the command(s) below:
Last updated