Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what the use of username and password

Status
Not open for further replies.

ninghi

ISP
Jul 16, 2003
14
0
0
CN
under the router(config)# mode,I want to know what the use of command "username *** password ***" .if I enabled ip http-server on the router,when I visit the router from the web,how can I set the username and password for the http-server.
 
These username/password pairs have several uses such as PPP CHAP authentication or local access authentication if you enable aaa. The 'default' is a keyword which specifies all interfaces who have not had their configuration changed and therefore this will apply to all user access methods, console, telnet etc.

the http server is slightly different to this and has its own config. This can the either set the authentication method to local, to user the username and password pairs, or to aaa to use the config set for aaa. I suppose it just depends on your view on access to the platform as to which you choose.

aaa new-model
aaa authentication login default local

username fred password bloggs

ip http server enable
ip http authentication local
or
ip http authentication aaa.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top