Configuring Security Passwords
The security passwords can be configured for the following services:
•
Console
•
Telnet
•
SSH
•
HTTP
•
HTTPS
NOTE:
When creating a user name, the default priority is "1", which allows access but not configuration
rights. A priority of "15" must be set to enable access and configuration rights to the switch.
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 secret123
•
When initially logging on to a switch through a console session, enter secret123 at the
password prompt.
•
When changing a switch's mode to enable, enter secret123 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 pass1234
•
When initially logging onto a switch through a Telnet session, enter pass1234 at the
password prompt.
•
When changing a switch mode to enable, enter pass1234.
Getting Started Guide
17