Cisco CRS User Manual page 131

Ios xr system security command reference
Hide thumbs Also See for CRS:
Table of Contents

Advertisement

Authentication, Authorization, and Accounting Commands
Examples
The following example shows the commands available after executing the username command:
RP/0/RP0/CPU0:router# config
RP/0/RP0/CPU0:router(config)# username user1
RP/0/RP0/CPU0:router(config-un)# ?
clear
commit
describe
do
exit
group
no
password
pwd
root
secret
show
RP/0/RP0/CPU0:router(config-un)#
The following example shows how to establish the clear-text password password1 for the user name user1:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# username user1
RP/0/RP0/CPU0:router(config-un)# password 0 password1
The following example shows how to establish an MD5-secured secret for the user user1 in administration
configuration mode:
RP/0/RP0/CPU0:P1(admin-config)# username user1
RP/0/RP0/CPU0:P1(admin-config-un)# secret 0 lab
RP/0/RP0/CPU0:P1(admin-config-un)# commit
RP/0/RP0/CPU0:May
Configuration committed by user 'cisco'. Use 'show configuration commit changes 2000000005'
to view the changes.
RP/0/RP0/CPU0:P1(admin-config-un)# exit
RP/0/RP0/CPU0:P1(admin-config)# show run username
username user1 secret 5 $1$QB03$3H29k3ZT.0PMQ8GQQKXCF0
!
Related Commands
Command
aaa authentication , on page 13
group (AAA), on page 32
OL-24740-01
6 13:06:43.205 : config[65723]: %MGBL-CONFIG-6-DB_COMMIT_ADMIN :
Cisco IOS XR System Security Command Reference for the Cisco CRS Router, Release 4.1
Clear the uncommitted configuration
Commit the configuration changes to running
Describe a command without taking real actions
Run an exec command
Exit from this submode
User group in which this user will be a member of
Negate a command or set its defaults
Specify the password for the user
Commands used to reach current submode
Exit to the global configuration mode
Specify the secure password for the user
Show contents of configuration
Description
Defines a method list for authentication.
Adds a user to a group.
username
121

Advertisement

Table of Contents
loading

Table of Contents