How to Configure AAA Services
6.
DETAILED STEPS
Command or Action
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Step 2
username user-name
Example:
RP/0/RP0/CPU0:router(config)# username user1
Step 3
password {0 | 7} password
or
secret {0 | 5} secret
Example:
RP/0/RP0/CPU0:router(config-un)# password 0
pwd1
or
RP/0/RP0/CPU0:router(config-un)# secret 0 sec1
Step 4
group group-name
Example:
RP/0/RP0/CPU0:router(config-un)# group sysadmin
Cisco IOS XR System Security Configuration Guide for the Cisco CRS-1 Router
SC-24
end
or
commit
Configuring AAA Services on Cisco IOS XR Software
Purpose
Enters global configuration mode.
Creates a name for a new user (or identifies a current user)
and enters username configuration submode.
The user-name argument can be only one word. Spaces
•
and quotation marks are not allowed.
Specifies a password for the user named in Step 2.
Use the secret command to create a secure login
•
password for the user names specified in
Entering 0 following the password command specifies
•
that an unencrypted (clear-text) password follows.
Entering 7 following the password command specifies
that an encrypted password follows.
Entering 0 following the secret command specifies that
•
a secure unencrypted (clear-text) password follows.
Entering 5 following the secret command specifies that
a secure encrypted password follows.
Type 0 is the default for the password and secret
•
commands.
Assigns the user named in
already been defined through the usergroup command.
The user takes on all attributes of the user group, as
•
defined by that user group's association to various task
groups.
•
Each user must be assigned to at least one user group.
A user may belong to multiple user groups.
Step
2.
Step 2
to a user group that has
OL-20382-01