Home | Mirror | Search

2. login/authentication

2.1. console

console(config)# aaa authentication login default line

console(config)# aaa authentication enable default line

console(config)# line console

console(config-line)# login authentication default

console(config-line)# enable authentication default

console(config-line)# password chen

		

2.2. telnet

console# configure
console(config)# aaa authentication login default line
console(config)# aaa authentication enable default line
console(config)# line telnet
console(config-line)# login authentication default
console(config-line)# enable authentication default
console(config-line)# password chen
console(config-line)# end
		

2.3. SSH

console(config)# aaa authentication login default line

console(config)# aaa authentication enable default line

console(config)# line ssh

console(config-line)# login authentication default

console(config-line)# enable authentication default

console(config-line)# password jones.

		

2.4. HTTP/HTTPS

HTTP

console(config)# ip http authentication local

console(config)# username admin password user1 level 15
		

HTTPS

console(config)# ip https authentication local

console(config)# username admin password user1 level 15
		

SSL 2.0

console(config)# crypto certificate generate key_generate

console(config)# ip https server
		
comments powered by Disqus