Privileged Mode commands of a router
| enable | get to privileged mode |
| disable | get to user mode |
| enable password <give password here> | sets privileged mode password |
| enable secret <give password here> | sets encrypted privileged mode password |
Setting Passwords on router
| enable secret <give password here> | set encrypted password for privileged access |
| enable password <give password here> | set password for privileged access (used when there is no enable secret and when using older software) |
Setting the password for console access:
(Config) #line console 0
(config-line) #login
(config-line) #password <put password here>
(config-line) #login
(config-line) #password <put password here>
Set password for virtual terminal (telnet) access (password must be set to access router through telnet):
(Config)#line vty 0 4
(config-line) #login
(config-line) #password <put password here>
(config-line) #login
(config-line) #password <put password here>
Set password for auxiliary (modem) access:
(Config)#line aux 0
(config-line) #login
(config-line) #password <put password here>
No comments:
Post a Comment