cisco — Example: Configuring a Named Method List

(in this case, start and stop records for specific events) are used on serial lines using PPP. If the RADIUS server fails to respond, accounting services are handled by a TACACS+ server. • The username command defines the username and password to be used for the PPP Password Authentication Protocol (PAP) caller identification. • The tacacs server command defines the name of the TACACS+ server host. • The key command defines the shared secret text string between the network access server and the TACACS+ server host. • The radius server 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 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 chap dialins command selects Challenge Handshake Authentication Protocol (CHAP) as the method of PPP authentication and applies the “dialins” method list to the specified interfaces.

• The ppp authorization network1 command applies the blue1 network authorization method list to the specified interfaces. • The ppp accounting network2 command applies the red1 network accounting method list to the specified interfaces. • The line command switches the configuration mode from global configuration to line configuration and identifies the specific lines being configured. • The autoselect ppp command configures the Cisco IOS XE software to allow 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 accept only incoming calls. The show accounting command yields the following output for the preceding configuration: Active Accounted actions on tty1, User username2 Priv 1 Task ID 5, Network Accounting record, 00:00:52 Elapsed task_id=5 service=ppp protocol=ip address=10.0.0.98 The table below describes the fields contained in the preceding output. Table 4: show accounting Field Descriptions Configuring Accounting Example:

Configuring a Named Method List Field Description Active Accounted actions on Terminal line or interface name user with which the user logged in. Configuring Accounting 23