Cisco Systems OL-14361-01 Network Router User Manual


 
5-120
Cisco IOS XR Getting Started Guide
OL-14361-01
Chapter 5 Configuring Additional Router Features
Creating and Modifying User Accounts and User Groups
DETAILED STEPS
Related Documents
Command or Action Purpose
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
username user-name
Example:
RP/0/RP0/CPU0:router(config)# username user1
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.
Step 3
password {0 | 7} password
or
secret {0 | 5} password
Example:
RP/0/RP0/CPU0:router(config-un)# password 0
pwd1
or
RP/0/RP0/CPU0:router(config-un)# secret 5 pwd1
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 Step 2.
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.
Step 4
group group-name
Example:
RP/0/RP0/CPU0:router(config-un)# group sysadmin
Assigns the user named in Step 2 to a user group.
The user takes on all attributes of the user group, as
defined by the user group 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 5
Repeat Step 4 for each user group to be associated with
the user specified in Step 2.
Step 6
commit
Example:
RP/0/RP0/CPU0:router(config-un)# commit
Saves configuration changes and activates them as part of
the running configuration.
Related Topic Document Title
Create users, assign users to user groups, create and
modify user groups, and configure remote AAA access
Cisco IOS XR System Security Configuration Guide