Device(config)# line 1 16 Device(config-line)# autoselect ppp Device(config-line)# autoselect during-login Device(config-line)# login authentication admins Device(config-line)# modem dialin Device(config-line)# exit Device(config)# interface gigabitethernet 1/2/0 Device(config-if)# group-range 1 16 Device(config-if)# encapsulation ppp Device(config-if)# ppp authentication pap dialins Device(config-if)# end The lines in this sample RADIUS AAA configuration are defined as follows: • The aaa new-model command enables AAA network security services. • The address ipv4 { hostname | host-address } command defines the name of the RADIUS server host.
• The key command defines the shared secret text string between the network access server and the RADIUS server host. • The radius-server configure-nas command defines that the Cisco router or access server will query the RADIUS server for static routes and IP pool definitions when the device first starts up. • The username command defines the username and password to be used for the PPP Password Authentication Protocol (PAP) caller identification.
• The aaa authentication ppp dialins group radius local command defines the authentication method list “dialins,” which specifies that RADIUS authentication, then (if the RADIUS server does not respond) local authentication will be used on serial lines using PPP. • The aaa authentication login admins local command defines another method list, “admins,” for login authentication. • The aaa authorization network default group radius local command is used to assign an address and other network parameters to the RADIUS user. • The aaa accounting network default start-stop group radius command tracks PPP usage.
• The aaa processes command allocates 16 background processes to handle AAA requests for PPP. • The line command switches the configuration mode from global configuration to line configuration and identifies the specific lines being configured. • The autoselect ppp command allows a PPP session to start up automatically on these selected lines. • The autoselect during-login command is used to display the username and password prompt without pressing the Return key. After the user logs in, the autoselect function (in this case, PPP) begins. • The login authentication admins command applies the “admins” method list for login authentication.
• The modem dialin command configures modems attached to the selected lines to only accept incoming calls. • The interface group-async command selects and defines an asynchronous interface group. • The group-range command defines the member asynchronous interfaces in the interface group. • The encapsulation ppp command sets PPP as the encapsulation method used on the specified interfaces. • The ppp authentication pap dialins command applies the “dialins” method list to the specified interfaces. Configuring Authentication Example: AAA Scalability Configuring Authentication 39