nasreq (Diameter Application)
Syntax
nasreq max-outstanding-requests number; partition partition-name { destination-host hostname; destination-realm realm-name; diameter-instance master; } request-retry retries; timeout seconds; }
Hierarchy Level
[edit access]
Description
Specify the destination and transmission parameters for the Diameter Network Access Server Requirements (NASREQ) protocol.
NASREQ is a Diameter-based authentication and authorization protocol. The NASREQ client has two queues, the transmit queue and response queue. The transmit queue stores outbound packets until sent to Diameter, and includes requests and responses. The response queue stores request packets until Diameter responds to the request, and includes only requests waiting for a response.
The following configuration options control transmission flow and use of the queues:
max-outstanding-requests
option specifies the maximum number of requests (includes AAR and STR) that the NASREQ client sends to Diameter for wireline transmissions. Effectively, this is the maximum count of requests on the response-queue (the maximum number of in-flight requests for which there has not been a response or timeout); it does not include sent responses.The
request-retry
option specifies how many times the NASREQ client retries transmitting a packet to the Diameter server when a timeout is received from the Diameter server for the request.The
timeout
option specifies the number of seconds that an outbound packet remains in the transmit queue before it is declared to have timed out. The NASREQ client does not transmit packets that have timed out. The timeout value applies to all packets in the transmit queue, including both requests and responses to be sent. Diameter manages packets that time out after transmission.
Options
number | Maximum number of requests that the NASREQ client sends to Diameter.
|
retries | Number of times to re-send a timeout request to Diameter after the initial request. This value applies only to requests in the response queue. A value of 0 indicates to try transmission once and then do not retry.
|
seconds | Number of seconds that an outbound packet remains in the transmit queue before it is declared to have timed out.
|
The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.
Required Privilege Level
admin—To view this statement in the configuration.
admin-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 16.1.