Console Password



Console Password

To set the console password, use the line console 0 command. But look at what happened when I tried to type line console 0 ? from the aux line configuration—I received an error. You can still type line console 0 and it will accept it, but the help screens just don’t work from that prompt. Type exit to get back one level and you’ll find that your help screens now work. This is a “feature.” Really.

Here’s the example:

Router(config-line)#line console ? % Unrecognized command

Router(config-line)#exit

Router(config)#line console ? <0-0> First Line number

Router(config)#line console 0

Router(config-line)#login

Router(config-line)#password Adam

Since there’s only one console port, I can only choose line console 0. You can set all your line passwords to the same password, but for security reasons, I’d recommend that you make them different.

There are a few other important commands to know for the console port.

For one, the exec-timeout 0 0 command sets the timeout for the console EXEC session to zero, which basically means to never time out. The default timeout is 10 minutes. (If you’re feel­ing mischievous, try this on people at work: Set it to 0 1. That will make the console time out in 1 second! And to fix it, you have to continually press the down arrow key while changing the timeout time with your free hand!)

logging synchronous is a very cool command, and it should be a default command, but it’s not. It stops annoying console messages from popping up and disrupting the input you’re trying to type. The messages still pop up, but you are returned to your router prompt without your input interrupted. This makes your input messages oh-so-much easier to read.

Here’s an example of how to configure both commands:

Router(config)#line con 0

Router(config-line)#exec-timeout ? <0-35791> Timeout in minutes

Router(config-line)#exec-timeout 0 ? <0-2147483> Timeout in seconds <cr>

Router(config-line)#exec-timeout 0 0

Router(config-line)#logging synchronous

Share this tutorial:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Live
  • PlugIM
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
  • YahooMyWeb
  • description
  • E-mail this story to a friend!
  • MisterWong
  • BlinkList
  • LinkedIn
  • MySpace
  • Print this article!
  • Yahoo! Buzz

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

About the Author

Adam has written 384 stories on this site.

Related Tutorials & Articles

Set Auxiliary Password
Auxiliary Password To configure the auxiliary password, go into global configuration mode and type line aux ?. You can see that you only get a choice of 0–0 (that’s because there’s only one port): Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#line aux ? Command-Line Interface 167 <0-0> First Line number Router(config)#line aux 0 Router(config-line)#login Router(config-line)#password adam It’s important to...Read more
Router Interfaces
Interfaces To make changes to an interface, you use the interface command from global configuration mode: Router(config)#interface ? Async    Async interface BVI    Bridge-Group Virtual Interface CTunnel    CTunnel interface Dialer    Dialer interface FastEthernet    FastEthernet IEEE 802.3 Group-Async    Async Group interface Lex    Lex interface Loopback    Loopback interface MFR    Multilink Frame Relay bundle interface 158 Multilink Null Serial Tunnel Vif Virtual-Template Virtual-TokenRing range Multilink-group interface Null interface Serial Tunnel interface PGM Multicast Host interface Virtual...Read more
Command Line Utilities- How to use Ping Command?
  Ping Command Ping command normally used for troubleshooting, it help to check whether the destination host is reachable or not. If the ping timeout period expires then “host unreachable host” message will be shown on command line.  Following are some essential uses of Ping command •    Ping your computer to identify whether TCP/IP suite is working properly. •   ...Read more
Virtual Local Area Network
Introduction A virtual LAN, commonly known as a VLAN , is a method of creating independent logical networks within a physical network. Explanation Basically VLAN setup that behave as single link while physically it connected with different segments of LANs(by manageable switches). VLAN configured through software rather then hardware (like in LAN).if two network in a VLAN so...Read more
10 Q&As Of CCNA Certification Exam
1. What are two reasons that a network administrator would use access lists? (Choose two.) A: to control vty access into a router B: to control broadcast traffic through a router C: to filter traffic as it passes through a router D: to filter traffic that originates from the router E: to replace passwords as a line of defense against...Read more

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!

Copyright © 2010 Sooper Tutorials. All rights reserved. Powered by WordPress.org, Website by ISolution.org.