Configuring The Script; Choosing The Scripting Point - Cisco Access Registrar 4.2 Installation And Configuration Manual

Cisco systems network device installation and configuration guide
Hide thumbs Also See for Cisco Access Registrar 4.2:
Table of Contents

Advertisement

Chapter 5
Customizing Your Configuration
Create another Service (SouthUsers-radius) for the South remote server.
Step 7

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
Guide for sample scripts you can use as a basis for your own scripts.

Choosing the Scripting Point

Run the aregcmd command:
Step 1
> aregcmd
Use the cd command to change to the Scripts object:
Step 2
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
libParseRemoteServers.so, and the entry point ParseRemoteServers:
Step 4
Use the cd command to change to the appropriate object level. The following example changes to the
server level:
Use the set command to set the incoming script. The following example sets the script,
Step 5
ParseRemoteServers, at the server level:
Step 6
Use the save command to save your changes:
Use the reload command to reload the server.
Step 7
OL-17221-02
Determining the Goal of the Script, page 10-2
cd /Radius/Scripts
add ParseRemoteServers "Remote Server Script" RexlibParseRemoteServers.so
ParseRemoteServers
cd /Radius
set IncomingScript ParseRemoteServers
save
reload
Configuring a Remote Server for AA
in the Cisco Access Registrar User's
Installing and Configuring Cisco Access Registrar, 4.2
, the filename
Rex
5-15

Advertisement

Table of Contents
loading

Table of Contents