XpressLearn Home

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Router local authentication and authorization

In the past when securing the login to a router using local passwords (no TACACS or Radius Servers), there would be several places where passwords had to be defined. Minimal passwords required so that telnet access would work were:

enable secret secretpw
line vty 0 4
password telnetpw

Another password needed to be assigned to secure logins via the console port:

line con0
password consolepw

If there was a modem attached for remote out-of-band access, yet another password was assigned to the auxiliary port:

line aux 0
password modempw

With ‘tripple A’ or AAA, access can be defined in a more centralized manner – regardless of the database being used (local, TACACS, Radius, etc…). Consider the following configuration:

enable secret secretpw
username Admin privilege 15 secret adminpw (engineer login)
username Monitor privilege 1 secret monitorpw (helpdesk login for basic troubleshooting only)
aaa authentication login default local enable (the default authentication list will cover logins via all sources – Console, AUX, and Telnet)
aaa authorization console (consider privilege levels at console logins)
aaa authorization exec default local (consider privilege levels at telnet logins)

This configuration will produce:

An enable prompt for the admin login:

User Access Verification

Username: admin
Password:

R1#

A non-privileged router prompt for the monitor login:

User Access Verification

Username: monitor
Password:

R1>

 

 

Author Info:

 
 
Scott's profession is a Senior Network Engineer at a Healthcare related company in Nashville, TN. When he is not trying to secure a network or come up with a design for a new project, he enjoys spending time with his family. You can find out more at: http://www.scottp.net

Similar Posts:

 

One Response to “Router local authentication and authorization”

  1. tariq Says:

    pls tell how to give enable password using command line script …

Leave a Reply