Network

How to configure a console port password on Cisco Router / Switch Configuration

Configuration Procedure: In this example, a password is configured for users attempting to use the console.

From the privileged EXEC or “enable” prompt, enter configuration mode and then switch to line configuration mode using the following commands as shown below.

Note: The prompts changes to reflect the current mode.

router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
router(config)#line con 0
router(config-line)#

Configure the password, and enable password checking at login.

router(config-line)#password techpass0
router(config-line)#login
Exit configuration mode.
router(config-line)#end
router#
%SYS-5-CONFIG_I: Configured from the console by console
Note: Do not save configuration changes to line con 0 until your ability to log in has been verified.

Note: This is actually not the best form of securing the console port as the password assigned here will be displayed in plain text and can be viewed from the running configuration etc.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x