Configuring Retransmission for Request Messages
To configure retransmission for the Namf_Communication EBI Assignment and Namf_Communication EBI Assignment messages, use the following sample configuration:
config
profile nf-client-failure nf-type amf
profile failure-handling failure_handling_name
service name type namf-comm
message type { AmfCommEBIAssignment | AmfCommN1N2MessageTransfer | AmfCommSMStatusChangeNotify }
status-code httpv2 status_code
retransmit retransmit_value
retransmit interval retransmit_interval_value
retry retry_value
action retry-and-continue
exit
exit
NOTES:
-
service name type namf-comm : Specify the AMF service name type as namf-comm.
-
message type { AmfCommEBIAssignment | AmfCommN1N2MessageTransfer | AmfCommSMStatusChangeNotify } : Specify the message type of the namf-comm AMF service name type as AmfCommEBIAssignment , AmfCommN1N2MessageTransfer , or AmfCommSMStatusChangeNotify .
-
status-code httpv2 status_code : Specify the status code of the service. The status_code must be an integer in the range of 0–599.
-
retransmit retransmit_value : Specify the maximum retransmission value for the same endpoint. The retransmit_value must be an integer in the range of 1–10.
If SMF sends message and receive an error in the HTTP status code and if you have configured a valid retransmit count, then that number of retransmission attempts are made to the same endpoint. The maximum retransmit count is used from the first-time configuration of the HTTP status code.
If SMF receives failure error HTTP code even after retransmission, then SMF retransmits to the same endpoint in the following conditions:
-
If valid retransmit counts are configured for the first HTTP status code that SMF received.
-
If a valid retransmit count, which must not be zero, exists for the received HTTP error code.
-
-
retransmit interval retransmit_interval_value : Specify the retransmission interval value in milliseconds. The default value is 1000.
If you have configured the retransmit interval, then SMF waits for the timeout between retransmissions.
-
retry retry_value : Specify the number of retry attempts to the different available endpoints. The retry_value must be an integer in the range of 1–10.
-
action retry-and-continue : Specify the retry as per the configured retry count and continue the session.