Cisco Systems Cisco IOS XR Creates a name for a new user or identifies a current user, Groups

Models: Cisco IOS XR

1 222
Download 222 pages 13.32 Kb
Page 147
Image 147

Chapter 5 Configuring Additional Router Features

Creating and Modifying User Accounts and User Groups

DETAILED STEPS

 

Command or Action

Purpose

Step 1

 

 

configure

Enters global configuration mode.

 

Example:

 

 

RP/0/RP0/CPU0:router# configure

 

Step 2

 

 

username user-name

Creates a name for a new user (or identifies a current user)

 

 

and enters username configuration submode.

 

Example:

The user-nameargument can be only one word. Spaces

 

RP/0/RP0/CPU0:router(config)# username user1

and quotation marks are not allowed.

Step 3

 

 

password {0 7} password

Specifies a password for the user named in Step 2.

 

or

Use the secret command to create a secure login

 

 

 

secret {0 5} password

password for the user names specified in Step 2.

 

Example:

Entering 0 following the password command specifies

 

that an unencrypted (clear-text) password follows.

 

RP/0/RP0/CPU0:router(config-un)# password 0

Entering 7 following the password command specifies

 

pwd1

that an encrypted password follows.

 

or

 

Entering 0 following the secret command specifies that

 

RP/0/RP0/CPU0:router(config-un)# secret 5 pwd1

 

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

Assigns the user named in Step 2 to a user group.

 

 

The user takes on all attributes of the user group, as

 

Example:

defined by the user group association to various task

 

RP/0/RP0/CPU0:router(config-un)# group sysadmin

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

Saves configuration changes and activates them as part of

 

 

the running configuration.

 

Example:

 

 

RP/0/RP0/CPU0:router(config-un)# commit

 

 

 

 

Related Documents

For more information on configuration and management of users and user access privileges, see the following Cisco documents:

 

Related Topic

Document Title

 

 

 

 

Create users, assign users to user groups, create and

Cisco IOS XR System Security Configuration Guide

 

modify user groups, and configure remote AAA access

 

 

 

 

 

 

 

 

 

 

 

Cisco IOS XR Getting Started Guide

 

 

 

 

 

 

OL-10957-02

 

 

5-15

 

 

 

 

 

Page 147
Image 147
Cisco Systems Cisco IOS XR Creates a name for a new user or identifies a current user, Quotation marks are not allowed