Starting and Configuring the Device
Advanced Configuration
Page 41
This section contains the following topics:
• Configuring an Initial Console Password
• Configuring an Initial Telnet Password
• Configuring an Initial SSH password
• Configuring an Initial HTTP Password
• Configuring an initial HTTPS Password
Configuring an Initial Console Password
To configure an initial console password, enter the following commands:
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 george
When initially logging on to a device through a console session, enter george at the password prompt.
When changing a device mode to enable, enter george at the password prompt.
Configuring an Initial Telnet Password
To configure an initial Telnet password, enter the following commands:
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
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:
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
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: