Initial Configuration
Advanced Configuration
Page 41
Configuring an Initial Telnet Password
To configure an initial Telnet password, enter the following commands:
When initially logging onto a device through a Telnet session, enter bob at the password prompt.
When changing a device mode to enable, enter bob.
Configuring an Initial SSH password
To configure an initial SSH password, enter the following commands:
When initially logging onto a device through a SSH session, enter ”jones” at the password prompt.
When changing a device mode to enable, enter “jones”.
Configuring an Initial HTTP Password
To configure an initial HTTP password, enter the following commands:
Configuring an initial HTTPS Password
To configure an initial HTTPS password, enter the following commands:
Enter the following commands once when configuring to use a console, a Telnet, or an SSH session in order to
use an HTTPS session.
In the Web browser enable SSL 2.0 or greater for the content of the page to appear.
When initially enabling an http or https session, enter admin for user name and user1 for password.
Note
HTTP and HTTPS services require level 15 access and connect directly to the configuration level access.
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 bob
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
Console(config)#
ip http authentication local
Console(config)# username admin password user1 level 15
Console(config)#
ip https authentication local
Console(config)# username admin password user1 level 15
Console(config)# ip https server
Console(config)# crypto certificate 1 generate key-generate
Generating RSA private key, 1024 bit long modulus
Console(config)# ip https certificate 1