General Network Management Commands
XSR CLI Reference Guide 1-13

username

Thiscommandaddsauser,privilegelevel,password,andencryptiontypeforthoseaccessingthe
XSR.Assigningprivilegelevelsletsyoucontrolwhichuserscanmanageselectiveresources.The
usernamecommandcanalsobeusedinconjunctionwiththeprivilegecommandtoassociate
usernameswithparticularconfigurationmodes.Forexample,ifconfiguringT1/E1requiresthata
userhaveaprivilegelevelof6orhigher,anyuserwithaprivilegeof5orlowerwouldbe
prohibitedfromconfiguringtheT1/E1controller.

Admin/Administrative Users

Thereisaspeciallevel15usercalledadminforwhichyoucansetapasswordbyspecifyingadmin
nameasauser.Thedefaultpasswordforadminisnull(thatis,thezerolengthstring““).
Anyuserwithaprivilegeof15isconsideredanadministrator.Inatleastoneofthefivepermitted
Telnet/SSHsessions,anadministrativeusermustbelogged.Ifthefirstfoursessionsareinuseby
regularusers,thenthefifthsessionwillonlyallowanadministratortologin,otherwiseanyuser
canlogintothefifthsession.Ifoneofthefirstfoursessionshasanadministratorloggedin
already,thenthefifthsessioncanbeanyuser.Thisruleismeanttoensurethattheadministrator
canalwayslogin.
Theshow running-configcommanddisplaysuserinformation.Bycontrast,consulttheaaa
client commandwhichconfiguresauserwithAAAsecuritybytheXSRauthentication
database.
Syntax
username name [privilege level] password {cleartext | secret type} password
Syntax of the “no” Form
Thenoformofthiscommanddeletesauser.Ifnouserexists,thecommandwillbeignored.Also,
thiscommandwillremovetheadminuserprovideditisissuedbyanotheradministrator.
no username name
Caution: We recommend that you add no more than 3000 users due to a size limit for the the
user.dat file. Also, we suggest keeping usernames and passwords as short as possible to avoid
breaching the 200 Kbyte limit.
name UserID.
privilege Associatesaprioritylevelwiththisuser.
level Priorityassociatedwiththisuser,rangingfrom0to15(highest).Iftheprivilege
ischangedwhiletheXSRisbeingset,thechangeoccursimmediately.
password Associatesapasswordwiththisusername.
cleartext Passwordwillnotbeencrypted.
secret Passwordwillbeencrypted.
type 0indicatesthepasswordisexpectedtobeunencrypted,5indicatestheinput
passwordisexpectedtobeencryptedalready,soitwillnotbeencryptedagain.
password ThepasswordassociatedwiththespecifieduserID.Usersarestoredinthe
startup-configfile.
Ifyouchooseasecretpasswordwithanoptionalparameterof5,thenyoumust
providethepasswordinencryptedform.