Security | 929Apply the method list to terminal linesTo enable RADIUS AAA login authentication for a method list, you must apply it to a terminal line. Toconfigure a terminal line for RADIUS authentication and authorization, enter the following commands:Specify a RADIUS server hostWhen configuring a RADIUS server host, you can set different communication parameters, such as theUDP port, the key password, the number of retries, and the timeout.To specify a RADIUS server host and configure its communication parameters, use the followingcommand in the CONFIGURATION mode:aaa authorization exec{method-list-name | default} radiustacacs+CONFIGURATION Create methodlist with RADIUS and TACACS+ asauthorization methods. Typical order of methods:RADIUS, TACACS+, Local, None. If authorization isdenied by RADIUS, the session ends (radius should notbe the last method specified).Command Syntax Command Mode Purposeline {aux 0 | console 0 | vty number[end-number]}CONFIGURATION Enter the LINE mode.login authentication {method-list-name |default}LINE Enable AAA login authentication for the specifiedRADIUS method list. This procedure is mandatory ifyou are not using default lists.authorization exec methodlist CONFIGURATION To use the methodlist.Command Syntax Command Mode Purposeradius-server host {hostname |ipv4-address | ipv6-address}[auth-port port-number] [retransmitretries] [timeout seconds] [key[encryption-type] key]CONFIGURATION Enter the host name or IP address of the RADIUS serverhost. Configure the optional communication parametersfor the specific host:• auth-port port-number range: 0 to 65335. Enter aUDP port number. The default is 1812.• retransmit retries range: 0 to 100. Default is 3.• timeout seconds range: 0 to 1000. Default is 5seconds.• key [encryption-type] key: Enter 0 for plain text or 7for encrypted text, and a string for the key. The keycan be up to 42 characters long. This key must matchthe key configured on the RADIUS server host.If these optional parameters are not configured, theglobal default values for all RADIUS host are applied.Command Syntax Command Mode Purpose