Configure RADIUS Authentication
To use RADIUS authentication on the router, configure information about one or more RADIUS servers on the network by including the
radius-serverstatement at the[edit system]hierarchy level:[edit system]radius-serverserver-address{portnumber;secretpassword;retrynumber;timeoutseconds;}In
server-address, specify the address of the RADIUS server.You can specify a port number on which to contact the RADIUS server. By default, port number
1812is used (as specified in RFC 2138).You must specify a password in the
secretstatement. Passwords can contain spaces. The secret used by the local router must match that used by the server.Optionally, you can specify the amount of time that the local router waits to receive a response from a RADIUS server (in the
timeoutstatement) and the number of times that the router attempts to contact a RADIUS authentication server (in theretrystatement). By default, the router waits 3 seconds. You can configure this to be a value in the range 1 through 90 seconds. By default, the router retries connecting to the server 3 times. You can configure this to be a value in the range 1 through 10 times.To configure multiple RADIUS servers, include multiple
radius-serverstatements.To configure a set of users that share a single account for authorization purposes, you create a template user. To do this, include the
userstatement at the[edit system login]hierarchy level, as described in Configure Template Accounts for RADIUS and TACACS+ Authentication.Configure Juniper Networks-Specific RADIUS Attributes
The JUNOS software supports the configuration of Juniper Networks-specific RADIUS attributes. These attributes are known as vendor-specific attributes and are described in RFC 2138, Remote Authentication Dial In User Service (RADIUS). These Juniper Networks-specific attributes are encapsulated in a RADIUS vendor-specific attribute with the vendor ID set to the Juniper Networks ID number, 2636. Table 9 lists the Juniper Networks-specific attributes you can configure.