|
|
This appendix describes the environment variables the scripts use to communicate with Cisco Access Registrar or to communicate with other scripts.
The following variables are text strings stored in the Environment dictionary passed to each scripting point.
Cisco Access Registrar sets the arguments variable in the Environment dictionary, before calling the InitEntryPoint of each script. The arguments variable is set to the value of the InitEntryPointArgs property corresponding to that script, and it allows the administrator to pass (possibly unique) information to each script initialization function.
| String | Packet Code |
|---|---|
(1) | |
(2) | |
(3) | |
(4) | |
(5) | |
(11) | |
(12) | |
(13) | |
(21) | |
(22) | |
(23) | |
(24) | |
(26) | |
(27) | |
(50) | |
(51) | |
(254) |
Cisco Access Registrar reads these environment variables and determines which authentication, authorization, and/or accounting service to use to process a request. When a variable is not set, Cisco Access Registrar uses the default service(s) configured in the Radius object.
User-Name---read by a local service. When it is set in the Environment dictionary, it is the name used to authenticate and/or authorize instead of the User-Name in the Request.
User-Group, User-Profile, and User-Authorization-Script.
Session-Manager---reads and determines which dynamic resources to allocate for this user, when one is needed. When it is not set, the SessionManager (as defined in DefaultSessionManager) is used when needed.
These environment variables provide scripts further control over session management. They can be set at any point before session management is invoked. They are read as the packet flows through each Resource Manager that the chosen Session Manager calls. The default setting for these environment variables is TRUE. See the "Resource Managers" section for additional information about Resource Managers.
Acquire-User-Session-Limit---set to FALSE to override the use of user session limit resource management.
Acquire-Group-Session-Limit---set to FALSE to override the use of group session limit resource management.
Acquire-IP-Dynamic---set to FALSE to override the use of a managed pool of IP addresses resource management.
Acquire-IP-Per-NAS-Port---set to FALSE to override the use of ports associated to specific IP addresses resource management.
Acquire-IPX-Dynamic---set to FALSE to override the use of a managed pool of IPX addresses resource management.
Acquire-USR-VPN---set to FALSE to override the use of Virtual Private Networks (VPNs) that use USR NAS Clients resource management.
Response-Type---used to determine whether the request should be accepted, rejected, or challenged. When this environment variable is set to "Access-Reject", at any time during the processing of a request, no more processing of the request is done, and an Access-Reject response is sent. For other valid values for this variable, see Table B-1.
Contains the Reject-Reason. Cisco Access Registrar uses the value of this environment variable to look up the reject reason in the reply message table.
The aregcmd command supports the PAGER environment variable. When the aregcmd command stats is used and the PAGER environment variable is set, the output of the stats command is displayed using the program specified by the PAGER environment variable.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Aug 19 08:15:02 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.