This command configures
the Diameter failure handling behavior.
Privilege
Security Administrator,
Administrator
Mode
Exec > Global Configuration
> Context Configuration > Credit Control Service Configuration
configure > context context_name > credit-control-service service_name
Syntax
failure-handling { initial-request | terminate-request | update-request } { diameter-result-code result_code [ to result_code ] | peer-unavailable | request-timeout } action { continue | retry-and-continue | retry-and-terminate | terminate }
{ default | no } failure-handling { initial-request | terminate-request | update-request } { diameter-result-code result_code [ to result_code ] | peer-unavailable | request-timeout }
default
Configures the default
setting.
no
Removes the previous
failure handling configuration.
initial-request | terminate-request | update-request
initial-request :
Specifies failure handling for Initial Request.
terminate-request :
Specifies failure handling for Terminate Request.
update-request :
Specifies failure handling for Update Request.
diameter-result-code | peer-unavailable | request-timeout
diameter-result-code result_code [ to result_code ] :
Specifies Diameter result code(s) for failure handling.
result_code must
be an integer from 3000 through 9999.
to result_code :
Specifies the range of Diameter result codes.
peer-unavailable :
Specifies failure handling for peer being unavailable.
request-timeout :
Specifies failure handling for request timeouts.
action { continue | retry-and-continue | retry-and-terminate | terminate }
Specifies the failure
handling action.
continue :
Continue the session without credit control.
retry-and-continue :
Retry and, even if credit control is not available, continue.
retry-and-terminate :
Retry and then terminate.
terminate :
Terminate the session.
Usage Guidelines
Use this command to
configure the Diameter failure handling behavior.
Example
The following command
configures initial request failure handling behavior for Diameter result
codes 3001 to 4001 with
terminate action:failure-handling initial-request diameter-result-code 3001 to 4001 action terminate