howtonetwork.net

Cisco Certification Training

  • Products
  • CCNA
    • CCNA Videos
    • CCNA Lectures
    • CCNA Practice Exams
    • Challenge Labs
      • Challenge Video Solutions
    • Cisco Commands
  • CCNP ROUTE
    • ROUTE Exams
  • CCNP SWITCH
    • SWITCH Exams
  • CCNP TSHOOT
  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training
You are here: Home / Login

Login

Command

Login

Use

Enables authentication for console connections to router. Contrary to what it may sound like, the no login command will actually disable authentication to the console port on the router. This means that anyone will be able to access the router without having to provide a password.

Syntax

Router(config-line)#login

Example

In this example, login is enabled for console access on R2. Notice that a password is also set before using the login command.

R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#
R2(config)#line con 0
R2(config-line)#password cisco
R2(config-line)#login

The configuration for the console port is shown with login enabled.

R2(config-line)#do show run | sec con
Building configuration…
Current configuration : 1460 bytes
control-plane
line con 0
exec-timeout 15 50
privilege level 15
password cisco
logging synchronous
login

If a password is not set before using login, a message is displayed notifying that a password needs to be set before login becomes
active.

R2(config-line)#login
% Login disabled on line 0, until ‘password’ is set

Get access to over 5 hours of IT webinar videos as well as regular study tips and ideas when you
join our mailing list

About This Site

We replaced this site some time ago with an upgraded version. Please feel free to enjoy the content and if you like what you see check out our brilliant new site:

howtonetwork.com

Keep In Touch

About Us

This is a free access website which has now been replaced by howtonetwork.com.

Navigation

  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training

Copyright

All content is protected by international copyright laws. Copyright Reality Press Ltd.

Copyright © 2023 · Dynamik Website Builder on Genesis Framework · WordPress · Log in