Configuring the Accounting Method Used by the SIC Group (SRC CLI)
Configuring the SSR Database as the Accounting Method (SRC CLI)
When you use the SSR database as the accounting method for the SIC group, accounting events are stored in the SSR database. Part of configuring this accounting method includes configuring the mapping between any request attributes, literals, or SIC variables, and the respective SAE plug-in attributes.
![]() | Note: At a minimum, you must configure the mapping between the SIC and the SAE plug-in attributes: user-inet-address and vpn-id. You also need to map these SAE plug-in attributes to the primary keys: UserIPAddress and VpnID in the SSR subscriber sessions table. |
Use the following statements to configure the SSR database as the accounting method for the SIC group:
To configure the SSR database as the accounting method for the SIC group:
- From configuration mode, access the statement that configures
the SSR database as the accounting method. This sample procedure uses
group1 as the group identifier and acm1 as the accounting method name. [edit]user@host# edit shared sic group group1 accounting-method acm1 database
- (Optional) To conserve space in the SSR database, the
SIC can delete corresponding entries in the SSR user session table
and service session table when it receives an Accounting-Stop message
from the NAS. Set this option to enable this capability.[edit]user@host# set remove-stopped-sessions
- Specify the mapping between the SAE plug-in attribute
and the request attribute, SIC variable, or literal. For example,
to map the SAE plug-in attribute login-name to the request attribute
User-Name: [edit shared sic group group1 accounting-method acm1 database ]user@host# edit plug-in-attribute login-nameuser@host# set request-attribute User-Name
- (Optional) Verify your configuration.
[edit shared sic group g1 accounting-method acm1 database] user@host# show plug-in-attribute { login-name { request-attribute User-Name; } }
- Configure the mapping between the SAE plug-in attribute and the field in the subscriber sessions table in the SSR database. For information about configuring this mapping, see Mapping SAE Plug-In Attributes to Fields in the Subscriber Sessions Table (SRC CLI).
Configuring Proxy RADIUS as the Accounting Method (SRC CLI)
When you use the proxy RADIUS accounting method, the SIC forwards accounting messages to a remote AAA server (accounting target) located in a downstream network element for processing.
To use the proxy RADIUS accounting method, you need to have previously configured the downstream network element, associated the accounting target, and committed the configuration. For details about configuring downstream network elements and accounting targets, see Configuring Downstream Network Elements and Accounting and Authentication Targets (SRC CLI).
Use the following statements to configure the proxy accounting method:
To configure proxy RADIUS as the accounting method for the SIC group:
- From configuration mode, access the statement that configures
the accounting method. For example, to configure an accounting method
called acm2 for the SIC group group2 and specify proxy RADIUS as the
accounting method:[edit]user@host# edit shared sic group group2 accounting-method acm2 proxy radius
- Specify the name of the previously configured downstream
network element that contains the AAA server (accounting target) you
want the SIC to forward accounting events to. For example, to forward
accounting events to the downstream network element ne2:[edit shared sic group group2 accounting-method acm2 proxy radius]user@host# set network-element ne2