cisco — Configuring PPP Authentication Using AAA

What to do next With the aaa authentication ppp command, you create one or more lists of authentication methods that are tried when a user tries to authenticate via PPP. These lists are applied using the ppp authentication line configuration command. To create a default list that is used when a named list is not specified in the ppp authentication command, use the default keyword followed by the methods you want used in default situations. For example, to specify the local username database as the default method for user authentication, enter the following command:

Device(config)# aaa authentication ppp default local Configuring Authentication Configuring PPP Authentication Using AAA Command or Action Purpose Device> enable Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 aaa new-model Example: Device(config)# aaa new-model Enables AAA. Step 4 aaa authentication ppp{default | list-name} method1[method2...] Example: Device(config)# aaa authentication ppp-auth default local Creates a local authentication list. Step 5 interface interface-type interface-number Example:

Device(config)# interface gigabitethernet 0/1/0 Enters interface configuration mode for the interface to which you want to apply the authentication list. Step 6 ppp authentication {protocol1 [protocol2...]} [if-needed] {default | list-name} [callin] [one-time][optional] Example: Device(config)# ppp authentication ms-chap ppp-auth Applies the authentication list to a line or set of lines. In this command, protocol1 and protocol2 represent the following protocols: CHAP, MS-CHAP, and PAP. PPP authentication is attempted first using the first authentication method, specified by protocol1.

If protocol1 is unable to establish authentication, the next configured protocol is used to negotiate authentication. Step 7 end Example: Device(config)# end Exits global configuration mode and returns to privileged EXEC mode. Configuring Authentication 19