admin

Creates or update the profile for an administrator.
Syntax
adminname
no admin[username]

After the admin command is entered to enable the Admin configuration mode, the following configuration syntax is available:

[emailemail-address|namename|password|phonenumber|real-namename|titlejob-title]
Command Default

The default Administrator Profile is used.

Parameters
name
Specifies an account name.
emailemail-address
Sets the email address for the user.
namename
Sets the account name.
password
Sets the password for the account
phonenumber
Sets the phone number of the user.
real-namename
Sets the real name of the user.
titlejob-title
Sets the job title of the user.
Modes

Global configuration mode

Usage Guidelines

The no form of the command removes configured administrator profiles.

Examples

The following example creates an administrator profile, and sets an email address, password, phone number, real name, and title for the profile.

device# admin joe
 device(config-admin)# email joe@company.com
 device(config-admin)# password
	Password: ********
	Retype: ******** 
 device(config-admin)# phone 22870001
 device(config-admin)# real-name "Joe Admin"
 device(config-admin)# title CTO
 

The following example removes a previous configured administrator profile.

device# config
device(config)# no admin joe
Do you want to continue to delete (or input 'no' to cancel)? [yes/no]