This command configures Diameter accounting related settings.
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration
configure > context
context_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-ctx)#
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 transmissions | request-timeout duration | server host_name priority priority }
default diameter accounting { dictionary | hd-mode | max-retries | max-transmissions | request-timeout }
no diameter accounting { endpoint | hd-mode | hd-storage-policy | max-retries | max-transmissions | server host_name }
no diameter accounting { endpoint
| hd-mode |
hd-storage-policy
| max-retries | max-transmissions |
server
host_name
}
endpoint : Removes the currently configured
accounting endpoint. 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 HDD and periodically retries the
Diameter server.
hd-storage-policy :
Disables use of the specified HD storage policy.
max-retries : Disables the retry attempts for
Diameter accounting in this AAA group.
max-transmissions : Disables the maximum
number of transmission attempts for Diameter accounting in this AAA group.
server
host_name : Removes the
Diameter host
host_name from this AAA server group for
Diameter accounting.
default diameter accounting { dictionary
| hd-mode
| max-retries | max-transmissions |
request-timeout }
dictionary : Sets the context's dictionary to
the 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 :0 (disabled)
max-transmissions :0 (disabled)
request-timeout :20 seconds
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
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 is an alphanumeric 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
Specifies the HD Storage policy name.
hd_policy must be the name of a configured
HD Storage policy, expressed as 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 incase 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. The value must be an integer from 1 through 1000.
Default: 0
max-transmissions
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.
transmissions specifies the maximum number
of transmission attempts for a Diameter request. The value must be an integer
from 1 through 1000. Default: 0
request-timeout
duration
Specifies how long the system will wait for a response from a Diameter
server before re-transmitting the request.
duration specifies the number of seconds the
system will wait for a response from a Diameter server before re-transmitting
the request. This value must be an integer from 1 through 3600. Default: 20
server
host_name
priority
priority
Specifies the current context Diameter accounting server's host name
and priority.
host_name specifies the Diameter host name,
expressed as 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.
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 as
aaa-custom4 :
diameter accounting dictionary aaa-custom4
The following command configures the Diameter endpoint named
aaaa_test :
diameter accounting endpoint aaaa_test