Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

password and access for console login

Status
Not open for further replies.

gergt

MIS
Joined
Aug 25, 2002
Messages
14
Location
JP
Hi, I'm trying to set a password for my console login, and enter the foll. lines in config mode:
Router(config)# line console 0
Router(config)# password <my password>
Router(config)# login

but when I add the 3rd line, I get an "Incomplete command" message and the new password doesn't take. I think it is something to do with authentication, such as in the entry:
'aaa authentication login console-access enable'
but am not sure how to fix.
Any advice appreciated
-Gerg
 
Hello Greg,

Try the following:
router(config) line console 0
router(config) loggin
router(config) password <your password>
end
wr mem

Cheers
 
Why do you need a password on the console port? You ever lose accees to that router and forget the console password you in trouble. Are you also securing the VTY lines and the AUX port as well?
 
Because in a corporate world that would be a violation of IT security standards . If someone gets access to the closet hen they can just login into the network . All of our 100's of routers and switches have console passwords . They get changed every 6 months just like the telnet passwords.
 
Gerg,

Since you have aaa enabled, you can't simply change the password like when it's not. You'll need to do something like this:

conf t
aaa authen login console line
(allows you to use the configured password on the line)

line con 0
login authentication console
(tells the console port to use the method 'console' that we just created)
password foobar
(self explanatory)

 
Ahhh....I forgot about the The Sarbanes-Oxley Act.

Glad my companies stock is priveately owned and not publically traded.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top