Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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:

    shared sic group identifier accounting-method accounting-method-name
    shared sic group identifier accounting-method accounting-method-name database { remove-stopped-sessions}
    shared sic group identifier accounting-method accounting-method-name database plug-in-attribute id {request-attribute request-attribute;variable variable;literal literal;}

    To configure the SSR database as the accounting method for the SIC group:

    1. 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
    2. (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
    3. 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
    4. (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;
        }
      }
    5. 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:

    shared sic group identifier accounting-method accounting-method-name
    shared sic group identifier accounting-method accounting-method-name proxy radius {network-element network-element;}

    To configure proxy RADIUS as the accounting method for the SIC group:

    1. 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
    2. 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

    Published: 2014-12-10