Cisco Systems 4.2 Network Card User Manual


 
5-15
Installing and Configuring Cisco Access Registrar, 4.2
OL-17221-02
Chapter 5 Customizing Your Configuration
Configuring a Remote Server for AA
Step 7 Create another Service (SouthUsers-radius) for the South remote server.
Configuring the Script
When you have multiple RemoteServers, you need a script that determines the authentication and/or
authorization Service, which in turn specifies the RemoteServer to check when a user makes an
Access-Request. If you want the script to apply to all users, irrespective of the NAS they are using, place
the script at the Radius level.
Note See Determining the Goal of the Script, page 10-2 in the Cisco Access Registrar User’s
Guide for sample scripts you can use as a basis for your own scripts.
Choosing the Scripting Point
Step 1 Run the aregcmd command:
> aregcmd
Step 2 Use the cd command to change to the Scripts object:
cd /Radius/Scripts
Step 3 Use the add command to add the new script, specifying the name, description, language, filename and
an optional entry point. If you do not specify an entry point, Cisco AR uses the script’s name.
The following example specifies the name ParseRemoteServers, the language Rex, the filename
libParseRemoteServers.so, and the entry point ParseRemoteServers:
add ParseRemoteServers “Remote Server Script” RexlibParseRemoteServers.so
ParseRemoteServers
Step 4 Use the cd command to change to the appropriate object level. The following example changes to the
server level:
cd /Radius
Step 5 Use the set command to set the incoming script. The following example sets the script,
ParseRemoteServers, at the server level:
set IncomingScript ParseRemoteServers
Step 6 Use the save command to save your changes:
save
Step 7 Use the reload command to reload the server.
reload