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.
Configuring an Initial HTTP Password
To configure an initial HTTP password, enter the following commands:
console(config)#ip http authentication local
console(config)#username admin password user1234 level 15
18
Getting Started Guide