Section: 16a.4.1 AAR Command
Content: The AAR command, defined in Diameter NASREQ (IETF RFC 7155 [120]), is indicated by the Command-Code field set to 265 and the ‘R’ bit set in the Command Flags field. It may be sent by the GGSN to a Diameter server, during Primary PDP Context activation only, in order to request user authentication and authorization. In the case of P-GW, the AAR may be sent upon reception of an initial access request (e.g. Create Session Request or Proxy Binding Update) message for a given APN to request user authentication and authorization. The relevant AVPs that are of use for the Gi/Sgi interface are detailed in the ABNF description below. Other valid AVPs for this command are not used for Gi/Sgi purposes and should be ignored by the receiver or processed according to the relevant specifications. The bold marked AVPs in the message format indicate optional AVPs for Gi/Sgi, or modified existing AVPs. For Sgi, some of the optional 3GPP vendor-specific AVPs listed in the message format below are not applicable. See table 9a in subclause 16a.5 to see the list of vendor-specific AVPs that are applicable to the GGSN and the P-GW. Message Format: <AA-Request> ::= < Diameter Header: 265, REQ, PXY > < Session-Id > { Auth-Application-Id } { Origin-Host } { Origin-Realm } { Destination-Realm } { Auth-Request-Type } [ Destination-Host ] [ NAS-Port ] [ NAS-Port-Id ] [ NAS-Port-Type ] [ Origin-State-Id ] [ Port-Limit ] [ User-Name ] [ User-Password ] [ Service-Type ] [ Authorization-Lifetime ] [ Auth-Grace-Period ] [ Auth-Session-State ] [ Callback-Number ] [ Called-Station-Id ] [ Calling-Station-Id ] [ Originating-Line-Info ] [ Connect-Info ] [ CHAP-Auth ] [ CHAP-Challenge ] * [ Framed-Compression ] [ Framed-Interface-Id ] [ Framed-IP-Address ] * [ Framed-IPv6-Prefix ] * [ Delegated-IPv6-Prefix ] [ Framed-IP-Netmask ] [ Framed-MTU ] [ Framed-Protocol ] * [ Login-IP-Host ] * [ Login-IPv6-Host ] [ Login-LAT-Group ] [ Login-LAT-Node ] [ Login-LAT-Port ] [ Login-LAT-Service ] * [ Tunneling ] * [ Proxy-Info ] * [ Route-Record ] [ 3GPP-IMSI] [ External-Identifier] [ 3GPP-Charging-ID ] [ 3GPP-PDP-Type ] [ 3GPP-CG-Address ] [ 3GPP-GPRS-Negotiated-QoS-Profile ] [ 3GPP-SGSN-Address ] [ 3GPP-GGSN-Address ] [ 3GPP-IMSI-MCC-MNC ] [ 3GPP-GGSN-MCC-MNC ] [ 3GPP-NSAPI ] [ 3GPP-Selection-Mode ] [ 3GPP-Charging-Characteristics ] [ 3GPP-CG-IPv6-Address ] [ 3GPP-SGSN-IPv6-Address ] [ 3GPP-GGSN-IPv6-Address ] [ 3GPP-SGSN-MCC-MNC ] [ 3GPP-User-Location-Info ] [ 3GPP-RAT-Type ] [ 3GPP-CAMEL-Charging-Info ] [ 3GPP-Negotiated-DSCP ] [ 3GPP-Allocate-IP-Type ] [ TWAN-Identifier ] [ 3GPP-UE-Local-IP-Address ] [ 3GPP-UE-Source-Port ] * [ AVP ]