AAA Server Configuration

Source: Internet
Author: User

There are two methods for the AAA Server; one is the RADIUS server, and the other is the Terminal Access Controller Access Control System TACACS +

1. radius Configuration

AAA New-model startup

AAA authentication login default radius local use the default method list to set the authentication method for login (if you cannot connect to the radius, use the local authentication method)

AAA authentication PPP default local group radius (use the default method list to enable PPP authentication, first based on local database authentication, and then by RADIUS Authentication)

AAA authentication network default group radius (use AAA to authorize the connection to the network)

AAA accounting network default start-stop group radius (enable start and end statistics for network connections)




2. TACACS Configuration

1. Authentication Configuration
Router1 # configure Terminal
Router1 (config) # AAA New-Model
Router1 (config) # AAA authentication login default group TACACS + local


Add local to indicate that after TACACS + server becomes invalid, use local authentication.
2. Configure authorization
Router1 (config) # AAA authorization exec default group TACACS + local
Router1 (config) # AAA authorization commands 15 default group TACACS +


3. Configure tacacs-Server
Router1 (config) # tacacs-server host 10.253.100.100
Router1 (config) # tacacs-server key Cisco


4. record user behavior Audit
Record the configuration commands and time entered by the user
Router1 (config) # AAA accounting commands 15 default start-stop group TACACS +
Router1 (config) # AAA accounting exec default start-stop group TACACS +
Router1 (config) # AAA accounting connection default start-stop group TACACS +


2. Configure the logon Interface
1. implement authentication and authorization in Telnet
Router1 (config) # Line vty 0 4


Router1 (config-line) # login authentication default
& Shy; logon authentication


Router1 (config-line) # authorization exec default
Authorization
Note (if you do not need commands restrictions and do not need to implement authorization commands during logon, you may be confused by this small command)


2. Implement audits in Telnet
Router1 (config-line) # accounting connection default
Router1 (config-line) # accounting commands 15 default
Router1 (config-line) # accounting exec default

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.