This command configures
Diameter accounting parameters.
Privilege
Security Administrator,
Administrator
Mode
Exec > Global Configuration
> Context Configuration > AAA Server Group Configuration
configure > context context_name > aaa group group_name
Entering the above
command sequence results in the following prompt:
[context_name]host_name(config-aaa-group)#
Syntax
diameter accounting { dictionary { aaa-custom1 | aaa-custom10 | aaa-custom2 | aaa-custom3 | aaa-custom4 | aaa-custom5 | aaa-custom6 | aaa-custom7 | aaa-custom8 | aaa-custom9 | dynamic-load | nasreq | rf-plus } | endpoint endpoint_name | hd-mode fall-back-to-local | hd-storage-policy hd_policy | max-retries max_retries | max-transmissions max_transmissions | request-timeout request_timeout_duration | sdc-integrity | server host_name priority priority | upgrade-dict-avps { 3gpp-rel10 | 3gpp-rel9 } }
default diameter accounting { dictionary | hd-mode | max-retries | max-transmissions | request-timeout | upgrade-dict-avps }
no diameter accounting { endpoint | hd-mode | hd-storage-policy | max-retries | max-transmissions | sdc-integrity | server host_name | upgrade-dict-avps }
no diameter accounting { endpoint | hd-mode | hd-storage-policy | max-retries | max-transmissions | sdc-integrity | server host_name | upgrade-dict-avps }
endpoint :
Removes the configured accounting endpoint, and the default accounting
server configured in the default AAA group will be used.
hd-mode :
Sends records to the Diameter server, if all Diameter servers are
down or unreachable, then copies records to the local hard disk
drive (HDD) and periodically retries the Diameter server.
hd-storage-policy :
Disables use of the specified HD storage policy.
max-retries :
Disables the configured retry attempts for Diameter accounting in
the current AAA group.
max-transmissions :
Disables the configured maximum transmission attempts for Diameter
accounting in the current AAA group.
sdc-integrity :
Excludes the "SDC-Integrity-Grouping" Diameter
AVP in the ACR message even if present in the "aaa-custom4" dictionary.
server host_name :
Removes the configured Diameter host host_name from
this AAA server group for Diameter accounting.
upgrade-dict-avps :
Sets the release version to 3GPP Rel. 8 for upgrading Diameter accounting
dictionary in the current AAA group.
default diameter accounting { dictionary | hd-mode | max-retries | max-transmissions | request-timeout | upgrade-dict-avps }
dictionary :
Sets the context's dictionary as the system default.
hd-mode :
Sends records to the Diameter server, if all Diameter servers are
down or unreachable, then copies records to the local HDD and periodically retries
the Diameter server.
max-retries :
Sets the retry attempts for Diameter accounting in the current AAA
group to default 0 (disable).
max-transmissions :
Sets the configured maximum transmission attempts for Diameter accounting
in the current AAA group to default 0 (disable).
request-timeout :
Sets the timeout duration, in seconds, for Diameter accounting requests
in the current AAA group to default 20.
upgrade-dict-avps :
Sets the release version to 3GPP Rel. 8 for upgrading Diameter accounting
dictionary in the current AAA group.
dictionary { aaa-custom1 | aaa-custom10 | aaa-custom2 | aaa-custom3 | aaa-custom4 | aaa-custom5 | aaa-custom6 | aaa-custom7
| aaa-custom8 | aaa-custom9 | dynamic-load | nasreq | rf-plus }
Specifies the Diameter
accounting dictionary.
aaa-custom1 ... aaa-custom10 :
Configures the custom dictionaries. Even though the CLI syntax supports
several custom dictionaries, not necessarily all of them have been
defined. If a custom dictionary that has not been implemented is
selected, the default dictionary will be used.
dynamic-load :
Configures the dynamically loaded Diameter dictionary. The dictionary
name must be an alphanumeric string of 1 through 15 characters.
For more information on dynamic loading of Diameter dictionaries,
see the diameter dynamic-dictionary in
the Global Configuration
Mode Commands chapter of this guide.
nasreq :
nasreq dictionary—the dictionary as defined by RFC 3588.
rf-plus :
RF Plus dictionary.
endpoint endpoint_name
Enables Diameter to
be used for accounting, and specifies which Diameter endpoint to use.
endpoint_name must
be a string of 1 through 63 characters.
hd-mode fall-back-to-local
Specifies that records
be copied to the local HDD if the Diameter server is down or unreachable.
CDF/CGF will pull the records through SFTP.
hd-storage-policy hd_policy
Associates the specified
HD Storage policy with the AAA group.
hd_policy must
be the name of a configured HD Storage policy, and must be an alphanumeric
string of 1 through 63 characters.
HD Storage policies
are configured through the Global Configuration Mode.
This and the hd-mode command
are used to enable the storage of Rf Diameter Messages to HDD in
case all Diameter Servers are down or unreachable.
max-retries max_retries
Specifies how many
times a Diameter request should be retried with the same server,
if the server fails to respond to a request.
max_retries specifies
the maximum number of retry attempts, and must be an integer from
1 through 1000.
Default: 0
max-transmissions max_transmissions
Specifies the maximum
number of transmission attempts for a Diameter request. Use this
in conjunction with the max-retries max_retries option
to control how many servers will be attempted to communicate with.
max_transmissions must
be an integer from 1 through 1000.
Default: 0
request-timeout request_timeout_duration
Specifies the number
of seconds the system will wait for a response from a Diameter server before
re-transmitting the request.
request_timeout_duration specifies
the number of seconds, and must be an integer from 1 through 3600.
Default: 20
sdc-integrity
This keyword enables
the SDC Integrity feature. When enabled, SDC-Integrity-Grouping AVP
is included in the ACR message. This AVP contains the number of
Service Data Containers (SDCs) included by P-GW and the checksum
as calculated by the previously defined algorithm. The checksum
calculation is done only if the AVP is included. By default, this
feature is disabled i.e. the grouped AVP is not included in the
ACR message even if present in the "aaa-custom4" dictionary.
The CLI command will have no effect if the dictionary does not contain
the SDC-Integrity-Grouping AVP.
Important
|
This feature is customer-specific.
For more information, contact your Cisco Account representative.
|
P-GW generates the
charging data and creates a new ACR with individual SDCs based on Rating
Groups, and then sends the ACR message directly to Charging Collection
Function (CCF). When an intermediate node is inserted between P-GW
and CCF, the node appends more SDCs in the charging record sent
by P-GW through the Rf interface.
To protect the integrity
of SDCs, P-GW counts the number of SDCs, runs a checksum algorithm
against the bytes within the SDCs, and then adds the "SDC-Integrity-Grouping" AVP with
these two values in the ACR message. This grouped AVP is optional
and defined in "aaa-custom4" dictionary only.
This vendor-specific AVP can be enabled only when the peer supports the
vendor ID. This feature helps CCF to distinguish the SDCs included
by the intermediate node.
For this feature to
work, the CLI control must be enabled and "aaa-custom4" dictionary containing
the grouped AVP should be used and associated with the appropriate
AAA group. When this feature is enabled, there might be minimal
performance impact on P-GW specifically on AAA Manager tasks due
to checksum calculation.
server host_name priority priority
Specifies the current
context Diameter accounting server's host name and priority.
host_name specifies
the Diameter host name, and must be an alphanumeric string of 1
through 63 characters.
priority specifies
the relative priority of this Diameter host. The priority is used
in server selection. The priority must be an integer from 1 through 1000.
upgrade-dict-avps { 3gpp-rel10 | 3gpp-rel9 }
Specifies to upgrade
Diameter accounting dictionary to 3GPP Rel. 9 version or 3GPP Rel. 10
version.
3gpp-rel10 :
Upgrades the dictionary to 3GPP Rel. 10 version.
3gpp-rel9 :
Upgrades the dictionary to 3GPP Rel. 9 version.
Default: Sets the
release version to 3GPP Rel. 8
Usage Guidelines
Use this command to
manage the Diameter accounting options according to the Diameter server
used for the context.
Example
The following command
configures the Diameter accounting dictionary, aaa-custom10 :diameter accounting dictionary aaa-custom10
The following command
configures the Diameter endpoint, EAP1 :diameter accounting endpoint EAP1
The following commands
configure Diameter accounting options:diameter accounting max-retries 4
diameter accounting max-transmissions 2
diameter accounting request-timeout 10
diameter accounting server svc priority 1