[Contents] [Prev] [Next] [Index] [Report an Error]

## Parameters for Sample CoA Script Service

Table 7 lists the parameters specified by the sample CoA script service, which is the /SDK/scriptServices/coa/ldif/BOD1M.ldif file in the `SDK+AppSupport+Demos+Samples.tar.gz` file. You can use the sample script service as a starting point.

Table 7: Parameter Substitutions for CoA Services

Parameter Name | Description
--- | ---
dynClientIp | IP address of the third-party device.
dynClientPort | UDP port number of the third-party device.
dynServerIp | IP address of the C Series Controller.
dynServerPort | UDP port number of the C Series Controller.
dynSecret | Shared secret between RADIUS server and RADIUS client.
dynRetry | Number of retries for sending CoA messages when no RADIUS response is received. The retry interval is 3 seconds.
dynConfig | Content of service definition in the format <action>. <radiusAttributeName>=<pluginEventAttribute>\n action—Action that is executed on packet content (attribute): start stop start-stop radiusAttributeName—Valid RADIUS attribute specified as follows: Standard RADIUS attribute name or number Third-party VSA in the format vendor-specific.<vendor#>.<vsa#>.string pluginEventAttribute—Valid expression in the format: Python expression <commandCode><serviceName>; the entire expression must be enclosed in single quotation marks and you must use three backslashes (\\\) to escape the backslash that starts a <commandCode> For example: \x0b would be replaced by \\\\x0b \n—New-line character included between the lines of a configuration containing multiple lines; the entire configuration must be enclosed in quotation marks. For example: start-stop.Acct-Session-Id = ifSessionId “ start-stop.Acct-Session-Id=ifSessionId\nstart.vendor-specific.9. 252.string=’\\\\x0bBOD1M’\nstop.vendor-specific.9.252.string= ’\\\\x0cBOD1M’\n"

You can also configure dynamic RADIUS requests with the sendDynamicRadius method of the ServiceSessionInfo interface (see Defining RADIUS Attributes for CoA Requests with the API).

#### Related Topics

- Overview of CoA Script Service
- Configuring Monitoring Agent to Receive RADIUS Accounting Messages
- Creating the CoA Script Service (SRC CLI)
- Configuring CoA Script Services
- Example: Using the Sample CoA Script Service

[Contents] [Prev] [Next] [Index] [Report an Error]