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 is the Founder, Administrator, Architect, Chief Editor and Shameless Hack who wrote and runs Xpresslearn.
 

Scott has been working in the networking field for 13 years and has experience in all the areas: Lan, Wan, Security, Optimization, High Availability, Wireless, and others.

When he is not working on further development of Xpresslearn, Scott loves spending time with his family and has such hobbies as Camping, Fishing, Cars, and Woodworking.

Related Posts:


Leave a Reply