Cisco Systems 4.2 Network Card User Manual


 
5-6
Installing and Configuring Cisco Access Registrar, 4.2
OL-17221-02
Chapter 5 Customizing Your Configuration
Configuring Multiple UserLists
add beth telemarketing 123 TRUE PPP-users
Step 3 Repeat for the other users you want to add.
You can use the script, add-100-users, which is located in the /opt/CSCOar/examples/cli directory to
automatically add 100 users.
Configuring Services
You must create a corresponding Service for each UserList. For example, when you create four
UserLists, one for each section of the country, you must create four Services.
Creating Separate Services
Step 1 Use the cd command to change to Services:
cd /Radius/Services
Step 2 Use the add command to create a Service, specifying the name and optional description. The following
example specifies the name
North-users and the description All users from the northern branch
office
:
Caution add North-users "All users from the northern branch office"
Step 3 Use the cd command to change to North-users.
cd /Radius/Services/North-users
Step 4 Use the set command to set the type to local. Specify the name of the UserList you want Cisco AR to
use. You can accept the default Outage Policy and MultipleServersPolicy or you can use the set
command to change them. The following example sets the type to
local and the UserList to North:
set type local
set UserList North
Step 5 Repeat for each Service you must create.
Creating the Script
You must write a script that looks at the username and chooses the Service to which to direct the request.
For example, you create four UserLists (North, South, East, and West), with the Service based on the
origin of the user. When a user requests a Service, your script can strip off the origin in the request and
use it to set the environment dictionary variables Authentication-Service and/or
Authorization-Service to the name or names of the appropriate Service.