Network Technologies (NTECH); Network Attachment; e2 interface based on the DIAMETER protocol

RES/NTECH-00036

Omrežne tehnologije (NTECH) - Omrežne priključitve - Vmesnik e2 na podlagi protokola DIAMETER

Ta dokument določa uporabo protokola Diameter za uporabo med funkcijo za lokacijo naročnikov (CLF) in funkcijo aplikacije (AF).

General Information

Status
Published
Publication Date
24-Jan-2018
Technical Committee
Current Stage
12 - Completion
Due Date
06-Feb-2018
Completion Date
25-Jan-2018
Standard
ETSI ES 283 035 V3.2.1 (2017-11) - Network Technologies (NTECH); Network Attachment; e2 interface based on the DIAMETER protocol
English language
30 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
ETSI ES 283 035 V3.2.1 (2018-01) - Network Technologies (NTECH); Network Attachment; e2 interface based on the DIAMETER protocol
English language
30 pages
sale 15% off
Preview
sale 15% off
Preview
Standardization document
ES 283 035 V3.2.1:2018
English language
30 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)


Final draft ETSI ES 283 035 V3.2.1 (2017-11)

ETSI STANDARD
Network Technologies (NTECH);
Network Attachment;
e2 interface based on the DIAMETER protocol

2 Final draft ETSI ES 283 035 V3.2.1 (2017-11)

Reference
RES/NTECH-00036
Keywords
interface, network, system
ETSI
650 Route des Lucioles
F-06921 Sophia Antipolis Cedex - FRANCE

Tel.: +33 4 92 94 42 00  Fax: +33 4 93 65 47 16

Siret N° 348 623 562 00017 - NAF 742 C
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88

Important notice
The present document can be downloaded from:
http://www.etsi.org/standards-search
The present document may be made available in electronic versions and/or in print. The content of any electronic and/or
print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any
existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the
print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat.
Users of the present document should be aware that the document may be subject to revision or change of status.
Information on the current status of this and other ETSI documents is available at
https://portal.etsi.org/TB/ETSIDeliverableStatus.aspx
If you find errors in the present document, please send your comment to one of the following services:
https://portal.etsi.org/People/CommiteeSupportStaff.aspx
Copyright Notification
No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying
and microfilm except as authorized by written permission of ETSI.
The content of the PDF version shall not be modified without the written authorization of ETSI.
The copyright and the foregoing restriction extend to reproduction in all media.

© ETSI 2017.
All rights reserved.
TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are trademarks of ETSI registered for the benefit of its Members.
TM
3GPP and LTE™ are trademarks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
oneM2M logo is protected for the benefit of its Members.
GSM® and the GSM logo are trademarks registered and owned by the GSM Association.
ETSI
3 Final draft ETSI ES 283 035 V3.2.1 (2017-11)
Contents
Intellectual Property Rights . 5
Foreword . 5
Modal verbs terminology . 5
1 Scope . 6
2 References . 6
2.1 Normative references . 6
2.2 Informative references . 7
3 Definitions and abbreviations . 7
3.1 Definitions . 7
3.2 Abbreviations . 8
4 Overview . 9
5 Procedure descriptions . 9
5.1 General . 9
5.2 Procedures on the CLF - AF interface . 10
5.2.1 Information query . 10
5.2.1.1 Overview . 10
5.2.1.2 Procedure at the AF side . 11
5.2.1.3 Procedure at the CLF side . 11
5.2.2 Event Registration/Deregistration . 12
5.2.2.1 Overview . 12
5.2.2.2 Procedure at the AF side . 13
5.2.2.3 Procedure at the CLF side . 13
5.2.3 Notification Events . 14
5.2.3.1 Overview . 14
5.2.3.2 Procedure at the CLF side . 15
5.2.3.3 Procedure at the AF side . 15
6 Use of the Diameter base protocol . 16
6.0 General . 16
6.1 Securing Diameter messages . 16
6.2 Accounting functionality . 16
6.3 Use of sessions . 16
6.4 Transport protocol . 16
6.5 Routing considerations . 16
6.6 Advertising application support . 17
7 DIAMETER application. 17
7.0 General . 17
7.1 Commands . 17
7.1.0 General . 17
7.1.1 User-Data-Request command . 18
7.1.2 User-Data-Answer command. 18
7.1.3 Subscribe-Notifications-Request (SNR) Command . 19
7.1.4 Subscribe-Notifications-Answer (SNA) Command . 19
7.1.5 Push-Notification-Request (PNR) Command . 19
7.1.6 Push-Notifications-Answer (PNA) Command . 20
7.2 Result-Code AVP values . 20
7.2.0 General . 20
7.2.1 Success . 20
7.2.2 Permanent failures . 20
7.2.3 Transient failures . 21
7.3 AVPs . 21
7.3.0 General . 21
ETSI
4 Final draft ETSI ES 283 035 V3.2.1 (2017-11)
7.3.1 Location-Information AVP . 22
7.3.1A Civic-Location AVP . 23
7.3.1B Geospatial-Location AVP . 23
7.3.2 Policy-Control-Contact-Point AVP . 23
7.3.3 Terminal-Type AVP . 23
7.3.4 Requested-Information AVP . 23
7.3.5 Line-Identifier AVP . 24
7.3.6 Event-Type AVP . 24
7.3.7 Global-Access-Id AVP . 25
7.3.8 Fixed-Access-ID AVP . 25
7.3.9 Relay-Agent AVP . 25
7.3.10 Operator-Specific-GI AVP . 25
7.3.11 Emergency-Call-Routing-Info . 25
7.3.12 Port-Number . 25
7.3.13 PIDF-Location-Object . 25
7.4 Use of namespaces . 25
7.4.0 General . 25
7.4.1 AVP codes . 26
7.4.2 Experimental-Result-Code AVP values . 26
7.4.3 Command Code values . 26
7.4.4 Application-ID value . 26
Annex A (informative): Application to NGN Architectures . 27
A.1 Overview . 27
A.2 Mapping of e2 operations and terminology to Diameter . 27
Annex B (informative): Change history . 29
History . 30

ETSI
5 Final draft ETSI ES 283 035 V3.2.1 (2017-11)
Intellectual Property Rights
Essential patents
IPRs essential or potentially essential to the present document may have been declared to ETSI. The information
pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found
in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in
respect of ETSI standards", which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web
server (https://ipr.etsi.org/).
Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee
can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web
server) which are, or may be, or may become, essential to the present document.
Trademarks
The present document may include trademarks and/or tradenames which are asserted and/or registered by their owners.
ETSI claims no ownership of these except for any which are indicated as being the property of ETSI, and conveys no
right to use or reproduce any trademark and/or tradename. Mention of those trademarks in the present document does
not constitute an endorsement by ETSI of products, services or organizations associated with those trademarks.
Foreword
This final draft ETSI Standard (ES) has been produced by ETSI Technical Committee Network Technologies
(NTECH), and is now submitted for the ETSI standards Membership Approval Procedure.
Modal verbs terminology
In the present document "shall", "shall not", "should", "should not", "may", "need not", "will", "will not", "can" and
"cannot" are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of
provisions).
"must" and "must not" are NOT allowed in ETSI deliverables except when used in direct citation.
ETSI
6 Final draft ETSI ES 283 035 V3.2.1 (2017-11)
1 Scope
The present document specifies a Diameter application for use between a Connectivity session Location and repository
Function (CLF) and an Application Function (AF).
2 References
2.1 Normative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
Referenced documents which are not found to be publicly available in the expected location might be found at
https://docbox.etsi.org/Reference.
NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee
their long term validity.
The following referenced documents are necessary for the application of the present document.
[1] Void.
[2] Void.
[3] Void.
[4] Void.
[5] ETSI ES 283 034: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); Network Attachment Sub-System (NASS); e4 interface based
on the DIAMETER protocol".
[6] ETSI TS 129 229: "Digital cellular telecommunications system (Phase 2+) (GSM); Universal
Mobile Telecommunications System (UMTS); LTE; Cx and Dx interfaces based on the Diameter
protocol; Protocol details (3GPP TS 29.229)".
[7] ETSI TS 129 329: "Digital cellular telecommunications system (Phase 2+) (GSM); Universal
Mobile Telecommunications System (UMTS); LTE; Sh interface based on the Diameter protocol;
Protocol details (3GPP TS 29.329)".
[8] ETSI TS 129 209: "Universal Mobile Telecommunications System (UMTS); Policy control over
Gq interface (3GPP TS 29.209)".
[9] IETF RFC 2960: "Stream Control Transmission Protocol".
[10] IETF RFC 6733: "Diameter Base Protocol".
[11] IETF RFC 3309: "Stream Control Transmission Protocol (SCTP) Checksum Change".
[12] IETF RFC 3554: "On the use of Stream Control Transmission Protocol (SCTP) with IPSec".
[13] ETSI TS 182 008: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); Presence Service; Architecture and functional description
[Endorsement of 3GPP TS 23.141 and OMA-AD-Presence-SIMPLE-V1-0]".
[14] Void.
[15] IETF RFC 4776: "Dynamic Host Configuration Protocol (DHCPv4 and DHCPv6) Option for
Civic Addresses Configuration Information".
ETSI
7 Final draft ETSI ES 283 035 V3.2.1 (2017-11)
[16] IETF RFC 3825: "Dynamic Host Configuration Protocol Option for Coordinate-based Location
Configuration Information".
[17] IETF RFC 4234: "Augmented BNF for Syntax Specifications: ABNF".
[18] Recommendation ITU-T M.1400: "Designations for interconnections among operators' networks".
[19] ISO 3166-1: "Codes for the representation of names of countries and their subdivisions - Part 1:
Country codes".
[20] ETSI TS 129 061: "Digital cellular telecommunications system (Phase 2+) (GSM); Universal
Mobile Telecommunications System (UMTS); LTE; Interworking between the Public Land
Mobile Network (PLMN) supporting packet based services and Packet Data Networks (PDN)
(3GPP TS 29.061)".
[21] ETSI TS 124 229: "Digital cellular telecommunications system (Phase 2+) (GSM); Universal
Mobile Telecommunications System (UMTS); LTE; IP multimedia call control protocol based on
Session Initiation Protocol (SIP) and Session Description Protocol (SDP); Stage 3
(3GPP TS 24.229)".
[22] IETF RFC 3986: "Uniform Resource Identifier (URI): Generic Syntax".
[23] IETF RFC 4119: "A Presence-based GEOPRIV Location Object Format".
2.2 Informative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee
their long term validity.
The following referenced documents are not necessary for the application of the present document but they assist the
user with regard to a particular subject area.
[i.1] ETSI ES 282 001: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); NGN Functional Architecture".
[i.2] ETSI ES 282 004: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); NGN Functional Architecture; Network Attachment
Sub-System (NASS)".
[i.3] ETSI ES 282 003: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); Resource and Admission Control Sub-System (RACS):
Functional Architecture".
[i.4] ETSI ES 282 007: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); IP Multimedia Subsystem (IMS); Functional architecture".
3 Definitions and abbreviations
3.1 Definitions
For the purposes of the present document, the following terms and definitions apply:
access identifier: identifier of an access network termination point
NOTE: Examples of access identifiers include wireline terminations identifiers in fixed access networks and
mobile cell identifiers.
ETSI
8 Final draft ETSI ES 283 035 V3.2.1 (2017-11)
access network: collection of network entities and interfaces that provide the underlying IP transport connectivity
between end user devices and other networks
access record: set of information stored in the CLF in relation to an access identifier
Application Function (AF): element of the network architecture offering - or providing access to - applications that
require information about the characteristics of the IP-connectivity session used to access such applications
Attribute-Value Pair (AVP): Information Element in a Diameter message
NOTE: See IETF RFC 6733 [10].
IP connectivity user: entity requesting IP connectivity from an access network
must: shall
NOTE: The drafting rules of the IETF mandate the modal auxiliary verb "must" where 3GPP/ETSI rules mandate
"shall". Similarly, "must not" and "shall not". When the present document cites an IETF document or
when it provides text which, for comprehensibility, needs to be congruent with IETF terminology, the
terms "must" and "must not" are retained, and need to be interpreted as having the same meaning as
"shall" and "shall not" in regular 3GPP/ETSI drafting conventions.
session record: set of information stored in the CLF in relation to an IP address
3.2 Abbreviations
For the purposes of the present document, the following abbreviations apply:
ABNF Augmented Backus-Naur Form
AF Application Function
ASCII American Standard Code for Information Interchange
ASF Application Server Function
AVP Attribute-Value Pair
CLF Connectivity session Location and repository Function
CSCF Call Session Control Function
DHCP Dynamic Host Configuration Protocol
FQDN Fully Qualified Domain Name
GI Geographical Identifier
IANA Internet Assigned Numbers Authority
IBCF Interconnection Border Control Function
ICC ITU Carrier Code
IETF Internet Engineering Task Force
IMS IP Multimedia Subsystem
IP Internet Protocol
LAC Location-Area-Code
LCI Location Configuration Information
NASS Network Attachment Sub-System
NGN Next Generation Network
NOC Network-Operator-Code
P-CSCF Proxy Call Session Control Function
PDBF Profile Data Base Function
PIDF LO Presence Information Data Format Location Object
PNA Presence Network Agent
PNR Push-Notification-Request
RACF Resource and Admission Control Function
RACS Resource and Admission Control Subsystem
RFC Request For Comments
SCTP Stream Control Transport Protocol
SNA Subscribe-Notifications-Answer
SNR Subscribe-Notifications-Request
UAAF User Authentication and Authorization Function
UDA User-Data-Answer
UDR User-Data-Request
ETSI
9 Final draft ETSI ES 283 035 V3.2.1 (2017-11)
UE User Equipment
URI Uniform Resource Identifier
4 Overview
The present document specifies a Diameter application for use between a Connectivity session Location and repository
Function (CLF) and an Application Function (AF). The interface between the CLF and the AF is known as the e2
interface (figure 1).
A Connectivity session Location and repository Function (CLF) is a data base in an access network that maintains
information associated to an IP address and/or an access identifier in the form of dynamic session records or static
access records, respectively. How a CLF obtains this information is outside the scope of the present document.
In the context of the present document, an Application Function (AF) represents any network element offering - or
providing access to - applications that require information about the characteristics of the IP-connectivity session used
to access such applications. Annex A provides background information on the use of a CLF in NGN architectures
(ETSI ES 282 001 [i.1]).
AF
Scope of
this document
e2
CLF
UE Access Network Resources
Figure 1: e2 interface
5 Procedure descriptions
5.1 General
The following clauses describe the procedures for supporting interactions between an AF and a CLF.
In the tables that describe this mapping, each Information Element is marked as (M) Mandatory, (C) Conditional or (O)
Optional.
• A mandatory Information Element (marked as (M) in the table) shall always be present in the command. If this
Information Element is absent, an application error occurs at the receiver and an answer message shall be sent
back to the originator of the request with the Result-Code set to DIAMETER_MISSING_AVP. This message
shall also include a Failed-AVP AVP containing the missing Information Element i.e. the corresponding
Diameter AVP defined by the AVP Code and the other fields set as expected for this Information Element.
ETSI
10 Final draft ETSI ES 283 035 V3.2.1 (2017-11)
• A conditional Information Element (marked as (C) in tables 1 and 2) shall be present in the command if certain
conditions are fulfilled:
- If the receiver detects that those conditions are fulfilled and the Information Element is absent, an
application error occurs and an answer message shall be sent back to the originator of the request with
the Result-Code set to DIAMETER_MISSING_AVP. This message shall also include a Failed-AVP
AVP containing the missing Information Element i.e. the corresponding Diameter AVP defined by the
AVP Code and the other fields set as expected for this Information Element. If multiple Information
Elements are missing, all corresponding AVP codes shall be included in the Failed-AVP AVP.
- If those conditions are not fulfilled, the Information Element shall be absent. If however this Information
Element appears in the message, it shall not cause an application error and it may be ignored by the
receiver if this is not explicitly defined as an error case. Otherwise, an application error occurs at the
receiver and an answer message with the Result-Code set to DIAMETER_AVP_NOT_ALLOWED shall
be sent back to the originator of the request. A Failed-AVP AVP containing a copy of the corresponding
Diameter AVP shall be included in this message.
• An optional Information Element (marked as (O) in tables 1 and 2) may be present or absent in the command,
at the discretion of the application at the sending entity. Absence or presence of this Information Element shall
not cause an application error and may be ignored by the receiver.
5.2 Procedures on the CLF - AF interface
5.2.1 Information query
5.2.1.1 Overview
This procedure is used by an AF to retrieve from the CLF location information and other data related to an access
session.
This procedure is mapped to the commands User-Data-Request/Answer in the Diameter application specified in ETSI
TS 129 329 [7].
Tables 1 and 2 detail the involved information elements and their mapping to Diameter AVPs.
Table 1: Information query request
Information Mapping to diameter Cat. Description
element name AVP
Globally unique Globally-Unique- C This information element contains:
IP Address Address - The IP address of the UE for which profile information is being
pushed.
- The addressing domain in which the IP address is significant.
IP connectivity User-Name C The identity of the IP connectivity user that is attached to the
user ID network.
Access Identifier Global-Access-Id C Identifies an access point to IP connectivity services.
AF Identity AF-Application-Identifier M Identifies the AF originating the request.
Requested-Items Requested-Information O The list of items requested by the AF.
Port-Number Port-Number O The originating port number associated to the session for which the
AF is attempting to retrieve information.
NOTE: Either the Globally-Unique-IP-Address, the IP connectivity user ID or the Access Identifier shall be included.

ETSI
11 Final draft ETSI ES 283 035 V3.2.1 (2017-11)
Table 2: Information query response
Information Mapping to diameter Cat. Description
element name AVP
Result Result-Code/ M Result of the request.
Experimental_
Result Result-Code AVP shall be used for errors defined in the Diameter
Base Protocol.
Experimental-Result AVP shall be used for other errors. This is a
grouped AVP which contains the 3GPP Vendor ID in the Vendor-Id
AVP, and the error code in the Experimental-Result-Code AVP.
IP connectivity User-Name O The identity of the IP connectivity user that is attached to the
user ID network.
Location Location-Information O Location information (or a pointer to such information) in a form that
Information is suitable for the requesting application.
Policy Control Policy-Control- O The FQDN or IP address of a policy control entity where resource
contact point Contact- request shall be sent.
Point
Access Network Access-Network- O The type of access network over which IP connectivity is provided to
Type Type the user equipment.
Terminal Type Terminal-Type O The type of user equipment to which the IP address was allocated.
Logical Access ID Logical-Access-Id O The identity of the logical access where the user equipment is
connected.
Physical Access ID Physical-Access-Id O The identity of the physical access where the user equipment is
connected.
Emergency-Call- Emergency-Call- O A URI where to route emergency calls originated from the access
Routeing-Info Routeing-Info and/or session considered.

5.2.1.2 Procedure at the AF side
The AF shall populate the Information Query as follows:
1) Insert either a Globally-Unique-Address, a User-Name AVP or a Global-Access-Id AVP. The Globally-
Unique-Address AVP shall contain a Frame-IP-Address or Frame-IPv6-Prefix AVP value, and an Address-
Realm AVP. The Address-Realm AVP shall be included and set either using configuration data (in which case
all terminal equipment served by the AF belong to the same addressing domain) or from the physical or logical
interface over which was received the resource request that triggered the pull procedure.
2) The AF-Application-Identifier AVP shall be present.
3) The Requested-Information AVP shall be present if specific information is requested and shall be absent if all
available information is requested.
5.2.1.3 Procedure at the CLF side
Upon reception of the Information Query, the CLF shall, in the following order:
1) If the Globally-Unique-Address AVP is present, use this information as a key to retrieve a session record.
2) If the Globally-Unique-Address AVP is absent but the User-Name AVP is present, use the latter information
as a key to retrieve a session record.
3) If both the Globally-Unique-Address AVP and the User-Name AVP are absent, and a Global-Access-Id AVP
is present, use this information to retrieve an access record.
4) If more than one session record include the same IP connectivity user ID matching the value of the User-Name
AVP and no Globally-Unique-Address AVP is included, return an Information Query response with Result-
Code set to DIAMETER_UNABLE_TO_COMPLY.
5) If no session record is stored for the Globally-Unique-Address AVP or the User-Name AVP, return an
Information Query with the Experimental-Result-Code AVP shall be set to
DIAMETER_ERROR_USER_UNKNOWN.
ETSI
12 Final draft ETSI ES 283 035 V3.2.1 (2017-11)
6) If the Globally-Unique-Address AVP, the User-Name AVP and the Global-Access-ID AVP are absent, return
an Information Query response with Result-Code set to DIAMETER_MISSING_AVP.
If a unique session record is retrieved, the CLF shall check which session data can be returned to the AF, based on the
contents of the Requested-Information AVP, local policy rules and, if applicable, per-IP connectivity user privacy
information.
NOTE 1: In case of an NGN architecture the CLF receives privacy information received from the UAAF/PDBF.
If an access record is retrieved, the CLF shall check which data can be returned to the AF, based on the contents of the
Requested-Information AVP and local policy rules.
NOTE 2: If the Requested-Information AVP is not received, the list of requested information is inferred from the
AF identity.
The CLF shall also check whether the session data to be retrieved is currently being updated by another entity. If there
is an update of the data in progress, the CLF may delay the response message until the update has been completed and
shall include in the response message the updated data requested. The CLF shall ensure that the data returned is not
corrupted by this conflict.
Under temporary overload conditions, the CLF shall stop processing the request and return an Information Query
response with the Result-Code set to DIAMETER_TOO_BUSY. The AF may retry retrieving the required information
at a later stage.
If the CLF cannot fulfil the received request for reasons not stated in the above steps, e.g. due to database error, it shall
stop processing the request and set the Result-Code to DIAMETER_UNABLE_TO_COMPLY or an
Experimental-Result-Code AVP set to DIAMETER_USER_DATA_NOT_AVAILABLE.
Otherwise, the requested operation shall take place and the CLF shall return the Result-Code AVP set to
DIAMETER_SUCCESS and the session data in the Information Query response.
NOTE 3: Due to the application of operator's policies and IP connectivity user privacy rules, the session data
returned in the message may be a subset of the explicitly or implicitly requested session data.
5.2.2 Event Registration/Deregistration
5.2.2.1 Overview
This procedure is used by an AF to subscribe with the CLF to a particular event.
This procedure is mapped to the commands Subscribe-Notifications-Request/Answer defined in the Diameter
application specified in ETSI TS 129 329 [7].
Tables 2a and 2b detail the involved information elements and their mapping to Diameter AVPs.
Table 2a: Event Registration/Deregistration Request
Information Mapping to Diameter Cat. Description
element name AVP
Subs-Req-Type M Indicates whether the AF is willing to subscribe or unsubscribe to the
notification of the event.
IP connectivity User-Name C The identity of the IP connectivity user on behalf of which the event
user ID is to be reported.
Globally unique Globally Unique C This information element contains the IP address of the IP
IP Address Address connectivity user on behalf of which the event is to be reported,
together with the addressing domain in which the IP address is
significant.
Subscription Expiry-Time O Moment of expiration of the subscription to the event.
Expiration
Event Event-Type M The type of event to be monitored.
AF Identity AF-Application-Identifier M Identifies the AF originating the request.

ETSI
13 Final draft ETSI ES 283 035 V3.2.1 (2017-11)
Table 2b: Event Registration/Deregistration Response
Information Mapping to Cat. Description
element name Diameter AVP
Result Result-Code/ M Result of the request.
Experimental_
Result Result-Code AVP shall be used for errors defined in the Diameter Base
Protocol.
Experimental-Result AVP shall be used for other errors. This is a
grouped AVP which contains the 3GPP Vendor ID in the Vendor-Id
AVP, and the error code in the Experimental-Result-Code AVP.
Expiry-Time O Acknowledges the absolute time at which the subscription expires.

The CLF monitors events related to access sessions. Monitoring of a particular event on a particular session is activated
when at least one Application Function has subscribed to be notified of the occurrence of the event.
Subscription to an event may be done implicitly (i.e. through management operations) or explicitly using the Event
Registration/Deregistration request. Subscription to an event ceases when one of the following conditions is met:
• Expiry of the subscription duration.
• Removal of the session record from the CLF.
• Receipt of an explicit request to unsubscribe.
5.2.2.2 Procedure at the AF side
The AF shall populate the Event Registration/Deregistration Request as follows:
Insert a Subs-Req-Type AVP indicating whether it is willing to subscribe or unsubscribe to the notification of events:
1) Insert either a Globally-Unique-Address or a User-Name AVP. The Globally-Unique-Address AVP shall
contain a Frame-IP-Address or Frame-IPv6-Prefix AVP value, and an Address-Realm AVP. The
Address-Realm AVP shall be included and set either using configuration data (in which case all IP
connectivity users served by the AF is assumed to belong to the same addressing domain) or from the physical
or logical interface over which was received a related service request.
2) The AF-Application-Identifier AVP shall be present.
3) At least one occurrence of the Event-Type AVP shall be present.
4) The Expiry-Time AVP may be present.
5.2.2.3 Procedure at the CLF side
Upon reception of an Event Registration/Deregistration Request, the CLF shall, in the following order:
1) Based on the contents of the AF-Application-Identifier AVP, check whether the AF is allowed to request
monitoring of events. If not, return an Event Registration Response with Result-Code set to
DIAMETER_ERROR_OPERATION_NOT_ALLOWED.
2) If the Globally-Unique-Address AVP is present, use this information as a key to identify the session for which
event monitoring is being requested.
3) If the Globally-Unique-Address AVP is absent but the User-Name AVP is present, use the latter information
as a key to the session(s) for which event monitoring is being requested.
4) If both the Globally-Unique-Address AVP and the User-Name AVP are absent, return an Event
Registration/Deregistration Response with the Result-Code AVP set to DIAMETER_MISSING_AVP.
5) If no stored session record matches the Globally-Unique-Address AVP or the User-Name AVP and the
requested Event differs from USER-LOGON, return an Event Registration Response with the
Experimental-Result-Code AVP set to DIAMETER_ERROR_USER_UNKNOWN.
ETSI
14 Final draft ETSI ES 283 035 V3.2.1 (2017-11)
If the Subs-Req-Type AVP indicates that this is a request to subscribe to the notification of events, the CLF shall check
whether the requested event can be reported to the AF, based on local policy rules and per-IP connectivity user privacy
information received from the UAAF. If the AF is not allowed to request monitoring of the event, return an Event
Registration/Deregistration Response with Result-Code set to
DIAMETER_ERROR_OPERATION_NOT_ALLOWED. If the AF is allowed to request monitoring of the event, the
CLF shall:
1) For all session records matching the request, associate the AF-Application-Identifier with the list of entities
that need to be notified when the event identified by the request occurs. The association lasts until the moment
indicated by the value of the Expiry-Time AVP as returned to the AF. If no Expiry-Time AVP is supplied, the
CLF should treat it as a request for an unlimited subscription.
2) Include in the Event Registration Response an Expiry Time AVP with the absolute time at which the
subscription expires in the case of a successful subscription. This time may be earlier than the requested expiry
time. If the CLF includes this AVP, then no notification shall be sent to the AF after the expiration time. If the
CLF does not include this AVP, that indicates an unlimited subscription.
3) Set the Result-Code to DIAMETER_SUCCESS and return an Event Registration/Deregistration Response.
If the Subs-Req-Type AVP indicates that this is a request to unsubscribe to the notification of events, the CLF shall
remove the association of the AF-Identifier with the same list. The Result-Code shall be set to DIAMETER_SUCCESS
if the operation is successful or if the AF-Identifier was not present in the list. If the Event-Type AVP is absent, the
CLF assumes that the AF is willing to unsubscribe to all events associated with the User-Name or
Globally-Unique-Address AVP.
If a subsequent request is received by the CLF where the Expiry Time AVP is present but different from what the CLF
has previously stored, the CLF should replace the stored expiration time with what was received in the request.
If the CLF cannot fulfil the received request for reasons not stated in the above steps, e.g. due to database error, it shall
stop processing the request and set the Result-Code to DIAMETER_UNABLE_TO_COMPLY.
5.2.3 Notification Events
5.2.3.1 Overview
This procedure is used by a CLF to notify the AF of the occurrence of a particular event.
This procedure is mapped to the commands Push-Notifications-Request/Answer in the Diameter application specified in
ETSI TS 129 329 [7].
Tables 2c and 2d detail the involved information elements and their mapping to Diameter AVPs.
Table 2c: Notification Event Request
Information Mapping to Diameter Cat. Description
element name AVP
IP connectivity User-Name C The identity of the IP connectivity user on behalf of which the event
user ID is to be reported.
Globally unique Globally Unique C This information element contains:
IP Address Address - The IP address of the IP connectivity user on behalf of which the
event is to be reported.
- The addressing domain in which the IP address is significant.
AF Identity AF-Application-Identifier M Identifies the AF having registered to the request.
Event Event-Type M The type of event to be monitored.
[AVP] O AVPs carrying CLF information associated to the reported event.

ETSI
15 Final draft ETSI ES 283 035 V3.2.1 (2017-11)
Table 2d: Notification Event Response
Information Mapping to Cat. Description
element name Diameter AVP
Result Result-Code/ M Result of the request.
Experimental_ Result-Code AVP shall be used for errors defined in the Diameter Base
Result Protocol.
Experimental-Result AVP shall be used for other errors. This is a
grouped AVP which contains the 3GPP Vendor ID in the Vendor-Id
AVP, and the error code in the Experimental-Result-Code AVP.

5.2.3.2 Procedure at the CLF side
When a monitored event is detected on a particular access session, the CLF issues a Notification Event Request to each
of the application functions having registered to this event.
The Notification Event Request is populated as follows:
1) A least a Globally-Unique-Address or a User-Name AVP shall be included. The G
...


ETSI STANDARD
Network Technologies (NTECH);
Network Attachment;
e2 interface based on the DIAMETER protocol

2 ETSI ES 283 035 V3.2.1 (2018-01)

Reference
RES/NTECH-00036
Keywords
interface, network, system
ETSI
650 Route des Lucioles
F-06921 Sophia Antipolis Cedex - FRANCE

Tel.: +33 4 92 94 42 00  Fax: +33 4 93 65 47 16

Siret N° 348 623 562 00017 - NAF 742 C
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88

Important notice
The present document can be downloaded from:
http://www.etsi.org/standards-search
The present document may be made available in electronic versions and/or in print. The content of any electronic and/or
print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any
existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the
print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat.
Users of the present document should be aware that the document may be subject to revision or change of status.
Information on the current status of this and other ETSI documents is available at
https://portal.etsi.org/TB/ETSIDeliverableStatus.aspx
If you find errors in the present document, please send your comment to one of the following services:
https://portal.etsi.org/People/CommiteeSupportStaff.aspx
Copyright Notification
No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying
and microfilm except as authorized by written permission of ETSI.
The content of the PDF version shall not be modified without the written authorization of ETSI.
The copyright and the foregoing restriction extend to reproduction in all media.

© ETSI 2018.
All rights reserved.
TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are trademarks of ETSI registered for the benefit of its Members.
TM
3GPP and LTE™ are trademarks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
oneM2M logo is protected for the benefit of its Members.
GSM® and the GSM logo are trademarks registered and owned by the GSM Association.
ETSI
3 ETSI ES 283 035 V3.2.1 (2018-01)
Contents
Intellectual Property Rights . 5
Foreword . 5
Modal verbs terminology . 5
1 Scope . 6
2 References . 6
2.1 Normative references . 6
2.2 Informative references . 7
3 Definitions and abbreviations . 7
3.1 Definitions . 7
3.2 Abbreviations . 8
4 Overview . 9
5 Procedure descriptions . 9
5.1 General . 9
5.2 Procedures on the CLF - AF interface . 10
5.2.1 Information query . 10
5.2.1.1 Overview . 10
5.2.1.2 Procedure at the AF side . 11
5.2.1.3 Procedure at the CLF side . 11
5.2.2 Event Registration/Deregistration . 12
5.2.2.1 Overview . 12
5.2.2.2 Procedure at the AF side . 13
5.2.2.3 Procedure at the CLF side . 13
5.2.3 Notification Events . 14
5.2.3.1 Overview . 14
5.2.3.2 Procedure at the CLF side . 15
5.2.3.3 Procedure at the AF side . 15
6 Use of the Diameter base protocol . 16
6.0 General . 16
6.1 Securing Diameter messages . 16
6.2 Accounting functionality . 16
6.3 Use of sessions . 16
6.4 Transport protocol . 16
6.5 Routing considerations . 16
6.6 Advertising application support . 17
7 DIAMETER application. 17
7.0 General . 17
7.1 Commands . 17
7.1.0 General . 17
7.1.1 User-Data-Request command . 18
7.1.2 User-Data-Answer command. 18
7.1.3 Subscribe-Notifications-Request (SNR) Command . 19
7.1.4 Subscribe-Notifications-Answer (SNA) Command . 19
7.1.5 Push-Notification-Request (PNR) Command . 19
7.1.6 Push-Notifications-Answer (PNA) Command . 20
7.2 Result-Code AVP values . 20
7.2.0 General . 20
7.2.1 Success . 20
7.2.2 Permanent failures . 20
7.2.3 Transient failures . 21
7.3 AVPs . 21
7.3.0 General . 21
7.3.1 Location-Information AVP . 22
ETSI
4 ETSI ES 283 035 V3.2.1 (2018-01)
7.3.1A Civic-Location AVP . 23
7.3.1B Geospatial-Location AVP . 23
7.3.2 Policy-Control-Contact-Point AVP . 23
7.3.3 Terminal-Type AVP . 23
7.3.4 Requested-Information AVP . 23
7.3.5 Line-Identifier AVP . 24
7.3.6 Event-Type AVP . 24
7.3.7 Global-Access-Id AVP . 25
7.3.8 Fixed-Access-ID AVP . 25
7.3.9 Relay-Agent AVP . 25
7.3.10 Operator-Specific-GI AVP . 25
7.3.11 Emergency-Call-Routing-Info . 25
7.3.12 Port-Number . 25
7.3.13 PIDF-Location-Object . 25
7.4 Use of namespaces . 25
7.4.0 General . 25
7.4.1 AVP codes . 26
7.4.2 Experimental-Result-Code AVP values . 26
7.4.3 Command Code values . 26
7.4.4 Application-ID value . 26
Annex A (informative): Application to NGN Architectures . 27
A.1 Overview . 27
A.2 Mapping of e2 operations and terminology to Diameter . 27
Annex B (informative): Change history . 29
History . 30

ETSI
5 ETSI ES 283 035 V3.2.1 (2018-01)
Intellectual Property Rights
Essential patents
IPRs essential or potentially essential to the present document may have been declared to ETSI. The information
pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found
in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in
respect of ETSI standards", which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web
server (https://ipr.etsi.org/).
Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee
can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web
server) which are, or may be, or may become, essential to the present document.
Trademarks
The present document may include trademarks and/or tradenames which are asserted and/or registered by their owners.
ETSI claims no ownership of these except for any which are indicated as being the property of ETSI, and conveys no
right to use or reproduce any trademark and/or tradename. Mention of those trademarks in the present document does
not constitute an endorsement by ETSI of products, services or organizations associated with those trademarks.
Foreword
This ETSI Standard (ES) has been produced by ETSI Technical Committee Network Technologies (NTECH).
Modal verbs terminology
In the present document "shall", "shall not", "should", "should not", "may", "need not", "will", "will not", "can" and
"cannot" are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of
provisions).
"must" and "must not" are NOT allowed in ETSI deliverables except when used in direct citation.
ETSI
6 ETSI ES 283 035 V3.2.1 (2018-01)
1 Scope
The present document specifies a Diameter application for use between a Connectivity session Location and repository
Function (CLF) and an Application Function (AF).
2 References
2.1 Normative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
Referenced documents which are not found to be publicly available in the expected location might be found at
https://docbox.etsi.org/Reference.
NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee
their long term validity.
The following referenced documents are necessary for the application of the present document.
[1] Void.
[2] Void.
[3] Void.
[4] Void.
[5] ETSI ES 283 034: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); Network Attachment Sub-System (NASS); e4 interface based
on the DIAMETER protocol".
[6] ETSI TS 129 229: "Digital cellular telecommunications system (Phase 2+) (GSM); Universal
Mobile Telecommunications System (UMTS); LTE; Cx and Dx interfaces based on the Diameter
protocol; Protocol details (3GPP TS 29.229)".
[7] ETSI TS 129 329: "Digital cellular telecommunications system (Phase 2+) (GSM); Universal
Mobile Telecommunications System (UMTS); LTE; Sh interface based on the Diameter protocol;
Protocol details (3GPP TS 29.329)".
[8] ETSI TS 129 209: "Universal Mobile Telecommunications System (UMTS); Policy control over
Gq interface (3GPP TS 29.209)".
[9] IETF RFC 2960: "Stream Control Transmission Protocol".
[10] IETF RFC 6733: "Diameter Base Protocol".
[11] IETF RFC 3309: "Stream Control Transmission Protocol (SCTP) Checksum Change".
[12] IETF RFC 3554: "On the use of Stream Control Transmission Protocol (SCTP) with IPSec".
[13] ETSI TS 182 008: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); Presence Service; Architecture and functional description
[Endorsement of 3GPP TS 23.141 and OMA-AD-Presence-SIMPLE-V1-0]".
[14] Void.
[15] IETF RFC 4776: "Dynamic Host Configuration Protocol (DHCPv4 and DHCPv6) Option for
Civic Addresses Configuration Information".
ETSI
7 ETSI ES 283 035 V3.2.1 (2018-01)
[16] IETF RFC 3825: "Dynamic Host Configuration Protocol Option for Coordinate-based Location
Configuration Information".
[17] IETF RFC 4234: "Augmented BNF for Syntax Specifications: ABNF".
[18] Recommendation ITU-T M.1400: "Designations for interconnections among operators' networks".
[19] ISO 3166-1: "Codes for the representation of names of countries and their subdivisions - Part 1:
Country codes".
[20] ETSI TS 129 061: "Digital cellular telecommunications system (Phase 2+) (GSM); Universal
Mobile Telecommunications System (UMTS); LTE; Interworking between the Public Land
Mobile Network (PLMN) supporting packet based services and Packet Data Networks (PDN)
(3GPP TS 29.061)".
[21] ETSI TS 124 229: "Digital cellular telecommunications system (Phase 2+) (GSM); Universal
Mobile Telecommunications System (UMTS); LTE; IP multimedia call control protocol based on
Session Initiation Protocol (SIP) and Session Description Protocol (SDP); Stage 3
(3GPP TS 24.229)".
[22] IETF RFC 3986: "Uniform Resource Identifier (URI): Generic Syntax".
[23] IETF RFC 4119: "A Presence-based GEOPRIV Location Object Format".
2.2 Informative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee
their long term validity.
The following referenced documents are not necessary for the application of the present document but they assist the
user with regard to a particular subject area.
[i.1] ETSI ES 282 001: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); NGN Functional Architecture".
[i.2] ETSI ES 282 004: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); NGN Functional Architecture; Network Attachment
Sub-System (NASS)".
[i.3] ETSI ES 282 003: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); Resource and Admission Control Sub-System (RACS):
Functional Architecture".
[i.4] ETSI ES 282 007: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); IP Multimedia Subsystem (IMS); Functional architecture".
3 Definitions and abbreviations
3.1 Definitions
For the purposes of the present document, the following terms and definitions apply:
access identifier: identifier of an access network termination point
NOTE: Examples of access identifiers include wireline terminations identifiers in fixed access networks and
mobile cell identifiers.
ETSI
8 ETSI ES 283 035 V3.2.1 (2018-01)
access network: collection of network entities and interfaces that provide the underlying IP transport connectivity
between end user devices and other networks
access record: set of information stored in the CLF in relation to an access identifier
Application Function (AF): element of the network architecture offering - or providing access to - applications that
require information about the characteristics of the IP-connectivity session used to access such applications
Attribute-Value Pair (AVP): Information Element in a Diameter message
NOTE: See IETF RFC 6733 [10].
IP connectivity user: entity requesting IP connectivity from an access network
must: shall
NOTE: The drafting rules of the IETF mandate the modal auxiliary verb "must" where 3GPP/ETSI rules mandate
"shall". Similarly, "must not" and "shall not". When the present document cites an IETF document or
when it provides text which, for comprehensibility, needs to be congruent with IETF terminology, the
terms "must" and "must not" are retained, and need to be interpreted as having the same meaning as
"shall" and "shall not" in regular 3GPP/ETSI drafting conventions.
session record: set of information stored in the CLF in relation to an IP address
3.2 Abbreviations
For the purposes of the present document, the following abbreviations apply:
ABNF Augmented Backus-Naur Form
AF Application Function
ASCII American Standard Code for Information Interchange
ASF Application Server Function
AVP Attribute-Value Pair
CLF Connectivity session Location and repository Function
CSCF Call Session Control Function
DHCP Dynamic Host Configuration Protocol
FQDN Fully Qualified Domain Name
GI Geographical Identifier
IANA Internet Assigned Numbers Authority
IBCF Interconnection Border Control Function
ICC ITU Carrier Code
IETF Internet Engineering Task Force
IMS IP Multimedia Subsystem
IP Internet Protocol
LAC Location-Area-Code
LCI Location Configuration Information
NASS Network Attachment Sub-System
NGN Next Generation Network
NOC Network-Operator-Code
P-CSCF Proxy Call Session Control Function
PDBF Profile Data Base Function
PIDF LO Presence Information Data Format Location Object
PNA Presence Network Agent
PNR Push-Notification-Request
RACF Resource and Admission Control Function
RACS Resource and Admission Control Subsystem
RFC Request For Comments
SCTP Stream Control Transport Protocol
SNA Subscribe-Notifications-Answer
SNR Subscribe-Notifications-Request
UAAF User Authentication and Authorization Function
UDA User-Data-Answer
UDR User-Data-Request
ETSI
9 ETSI ES 283 035 V3.2.1 (2018-01)
UE User Equipment
URI Uniform Resource Identifier
4 Overview
The present document specifies a Diameter application for use between a Connectivity session Location and repository
Function (CLF) and an Application Function (AF). The interface between the CLF and the AF is known as the e2
interface (figure 1).
A Connectivity session Location and repository Function (CLF) is a data base in an access network that maintains
information associated to an IP address and/or an access identifier in the form of dynamic session records or static
access records, respectively. How a CLF obtains this information is outside the scope of the present document.
In the context of the present document, an Application Function (AF) represents any network element offering - or
providing access to - applications that require information about the characteristics of the IP-connectivity session used
to access such applications. Annex A provides background information on the use of a CLF in NGN architectures
(ETSI ES 282 001 [i.1]).
AF
Scope of
this document
e2
CLF
UE Access Network Resources
Figure 1: e2 interface
5 Procedure descriptions
5.1 General
The following clauses describe the procedures for supporting interactions between an AF and a CLF.
In the tables that describe this mapping, each Information Element is marked as (M) Mandatory, (C) Conditional or (O)
Optional.
• A mandatory Information Element (marked as (M) in the table) shall always be present in the command. If this
Information Element is absent, an application error occurs at the receiver and an answer message shall be sent
back to the originator of the request with the Result-Code set to DIAMETER_MISSING_AVP. This message
shall also include a Failed-AVP AVP containing the missing Information Element i.e. the corresponding
Diameter AVP defined by the AVP Code and the other fields set as expected for this Information Element.
ETSI
10 ETSI ES 283 035 V3.2.1 (2018-01)
• A conditional Information Element (marked as (C) in tables 1 and 2) shall be present in the command if certain
conditions are fulfilled:
- If the receiver detects that those conditions are fulfilled and the Information Element is absent, an
application error occurs and an answer message shall be sent back to the originator of the request with
the Result-Code set to DIAMETER_MISSING_AVP. This message shall also include a Failed-AVP
AVP containing the missing Information Element i.e. the corresponding Diameter AVP defined by the
AVP Code and the other fields set as expected for this Information Element. If multiple Information
Elements are missing, all corresponding AVP codes shall be included in the Failed-AVP AVP.
- If those conditions are not fulfilled, the Information Element shall be absent. If however this Information
Element appears in the message, it shall not cause an application error and it may be ignored by the
receiver if this is not explicitly defined as an error case. Otherwise, an application error occurs at the
receiver and an answer message with the Result-Code set to DIAMETER_AVP_NOT_ALLOWED shall
be sent back to the originator of the request. A Failed-AVP AVP containing a copy of the corresponding
Diameter AVP shall be included in this message.
• An optional Information Element (marked as (O) in tables 1 and 2) may be present or absent in the command,
at the discretion of the application at the sending entity. Absence or presence of this Information Element shall
not cause an application error and may be ignored by the receiver.
5.2 Procedures on the CLF - AF interface
5.2.1 Information query
5.2.1.1 Overview
This procedure is used by an AF to retrieve from the CLF location information and other data related to an access
session.
This procedure is mapped to the commands User-Data-Request/Answer in the Diameter application specified in ETSI
TS 129 329 [7].
Tables 1 and 2 detail the involved information elements and their mapping to Diameter AVPs.
Table 1: Information query request
Information Mapping to diameter Cat. Description
element name AVP
Globally unique Globally-Unique- C This information element contains:
IP Address Address - The IP address of the UE for which profile information is being
pushed.
- The addressing domain in which the IP address is significant.
IP connectivity User-Name C The identity of the IP connectivity user that is attached to the
user ID network.
Access Identifier Global-Access-Id C Identifies an access point to IP connectivity services.
AF Identity AF-Application-Identifier M Identifies the AF originating the request.
Requested-Items Requested-Information O The list of items requested by the AF.
Port-Number Port-Number O The originating port number associated to the session for which the
AF is attempting to retrieve information.
NOTE: Either the Globally-Unique-IP-Address, the IP connectivity user ID or the Access Identifier shall be included.

ETSI
11 ETSI ES 283 035 V3.2.1 (2018-01)
Table 2: Information query response
Information Mapping to diameter Cat. Description
element name AVP
Result Result-Code/ M Result of the request.
Experimental_
Result Result-Code AVP shall be used for errors defined in the Diameter
Base Protocol.
Experimental-Result AVP shall be used for other errors. This is a
grouped AVP which contains the 3GPP Vendor ID in the Vendor-Id
AVP, and the error code in the Experimental-Result-Code AVP.
IP connectivity User-Name O The identity of the IP connectivity user that is attached to the
user ID network.
Location Location-Information O Location information (or a pointer to such information) in a form that
Information is suitable for the requesting application.
Policy Control Policy-Control- O The FQDN or IP address of a policy control entity where resource
contact point Contact- request shall be sent.
Point
Access Network Access-Network- O The type of access network over which IP connectivity is provided to
Type Type the user equipment.
Terminal Type Terminal-Type O The type of user equipment to which the IP address was allocated.
Logical Access ID Logical-Access-Id O The identity of the logical access where the user equipment is
connected.
Physical Access ID Physical-Access-Id O The identity of the physical access where the user equipment is
connected.
Emergency-Call- Emergency-Call- O A URI where to route emergency calls originated from the access
Routeing-Info Routeing-Info and/or session considered.

5.2.1.2 Procedure at the AF side
The AF shall populate the Information Query as follows:
1) Insert either a Globally-Unique-Address, a User-Name AVP or a Global-Access-Id AVP. The Globally-
Unique-Address AVP shall contain a Frame-IP-Address or Frame-IPv6-Prefix AVP value, and an Address-
Realm AVP. The Address-Realm AVP shall be included and set either using configuration data (in which case
all terminal equipment served by the AF belong to the same addressing domain) or from the physical or logical
interface over which was received the resource request that triggered the pull procedure.
2) The AF-Application-Identifier AVP shall be present.
3) The Requested-Information AVP shall be present if specific information is requested and shall be absent if all
available information is requested.
5.2.1.3 Procedure at the CLF side
Upon reception of the Information Query, the CLF shall, in the following order:
1) If the Globally-Unique-Address AVP is present, use this information as a key to retrieve a session record.
2) If the Globally-Unique-Address AVP is absent but the User-Name AVP is present, use the latter information
as a key to retrieve a session record.
3) If both the Globally-Unique-Address AVP and the User-Name AVP are absent, and a Global-Access-Id AVP
is present, use this information to retrieve an access record.
4) If more than one session record include the same IP connectivity user ID matching the value of the User-Name
AVP and no Globally-Unique-Address AVP is included, return an Information Query response with Result-
Code set to DIAMETER_UNABLE_TO_COMPLY.
5) If no session record is stored for the Globally-Unique-Address AVP or the User-Name AVP, return an
Information Query with the Experimental-Result-Code AVP shall be set to
DIAMETER_ERROR_USER_UNKNOWN.
ETSI
12 ETSI ES 283 035 V3.2.1 (2018-01)
6) If the Globally-Unique-Address AVP, the User-Name AVP and the Global-Access-ID AVP are absent, return
an Information Query response with Result-Code set to DIAMETER_MISSING_AVP.
If a unique session record is retrieved, the CLF shall check which session data can be returned to the AF, based on the
contents of the Requested-Information AVP, local policy rules and, if applicable, per-IP connectivity user privacy
information.
NOTE 1: In case of an NGN architecture the CLF receives privacy information received from the UAAF/PDBF.
If an access record is retrieved, the CLF shall check which data can be returned to the AF, based on the contents of the
Requested-Information AVP and local policy rules.
NOTE 2: If the Requested-Information AVP is not received, the list of requested information is inferred from the
AF identity.
The CLF shall also check whether the session data to be retrieved is currently being updated by another entity. If there
is an update of the data in progress, the CLF may delay the response message until the update has been completed and
shall include in the response message the updated data requested. The CLF shall ensure that the data returned is not
corrupted by this conflict.
Under temporary overload conditions, the CLF shall stop processing the request and return an Information Query
response with the Result-Code set to DIAMETER_TOO_BUSY. The AF may retry retrieving the required information
at a later stage.
If the CLF cannot fulfil the received request for reasons not stated in the above steps, e.g. due to database error, it shall
stop processing the request and set the Result-Code to DIAMETER_UNABLE_TO_COMPLY or an
Experimental-Result-Code AVP set to DIAMETER_USER_DATA_NOT_AVAILABLE.
Otherwise, the requested operation shall take place and the CLF shall return the Result-Code AVP set to
DIAMETER_SUCCESS and the session data in the Information Query response.
NOTE 3: Due to the application of operator's policies and IP connectivity user privacy rules, the session data
returned in the message may be a subset of the explicitly or implicitly requested session data.
5.2.2 Event Registration/Deregistration
5.2.2.1 Overview
This procedure is used by an AF to subscribe with the CLF to a particular event.
This procedure is mapped to the commands Subscribe-Notifications-Request/Answer defined in the Diameter
application specified in ETSI TS 129 329 [7].
Tables 2a and 2b detail the involved information elements and their mapping to Diameter AVPs.
Table 2a: Event Registration/Deregistration Request
Information Mapping to Diameter Cat. Description
element name AVP
Subs-Req-Type M Indicates whether the AF is willing to subscribe or unsubscribe to the
notification of the event.
IP connectivity User-Name C The identity of the IP connectivity user on behalf of which the event
user ID is to be reported.
Globally unique Globally Unique C This information element contains the IP address of the IP
IP Address Address connectivity user on behalf of which the event is to be reported,
together with the addressing domain in which the IP address is
significant.
Subscription Expiry-Time O Moment of expiration of the subscription to the event.
Expiration
Event Event-Type M The type of event to be monitored.
AF Identity AF-Application-Identifier M Identifies the AF originating the request.

ETSI
13 ETSI ES 283 035 V3.2.1 (2018-01)
Table 2b: Event Registration/Deregistration Response
Information Mapping to Cat. Description
element name Diameter AVP
Result Result-Code/ M Result of the request.
Experimental_
Result Result-Code AVP shall be used for errors defined in the Diameter Base
Protocol.
Experimental-Result AVP shall be used for other errors. This is a
grouped AVP which contains the 3GPP Vendor ID in the Vendor-Id
AVP, and the error code in the Experimental-Result-Code AVP.
Expiry-Time O Acknowledges the absolute time at which the subscription expires.

The CLF monitors events related to access sessions. Monitoring of a particular event on a particular session is activated
when at least one Application Function has subscribed to be notified of the occurrence of the event.
Subscription to an event may be done implicitly (i.e. through management operations) or explicitly using the Event
Registration/Deregistration request. Subscription to an event ceases when one of the following conditions is met:
• Expiry of the subscription duration.
• Removal of the session record from the CLF.
• Receipt of an explicit request to unsubscribe.
5.2.2.2 Procedure at the AF side
The AF shall populate the Event Registration/Deregistration Request as follows:
Insert a Subs-Req-Type AVP indicating whether it is willing to subscribe or unsubscribe to the notification of events:
1) Insert either a Globally-Unique-Address or a User-Name AVP. The Globally-Unique-Address AVP shall
contain a Frame-IP-Address or Frame-IPv6-Prefix AVP value, and an Address-Realm AVP. The
Address-Realm AVP shall be included and set either using configuration data (in which case all IP
connectivity users served by the AF is assumed to belong to the same addressing domain) or from the physical
or logical interface over which was received a related service request.
2) The AF-Application-Identifier AVP shall be present.
3) At least one occurrence of the Event-Type AVP shall be present.
4) The Expiry-Time AVP may be present.
5.2.2.3 Procedure at the CLF side
Upon reception of an Event Registration/Deregistration Request, the CLF shall, in the following order:
1) Based on the contents of the AF-Application-Identifier AVP, check whether the AF is allowed to request
monitoring of events. If not, return an Event Registration Response with Result-Code set to
DIAMETER_ERROR_OPERATION_NOT_ALLOWED.
2) If the Globally-Unique-Address AVP is present, use this information as a key to identify the session for which
event monitoring is being requested.
3) If the Globally-Unique-Address AVP is absent but the User-Name AVP is present, use the latter information
as a key to the session(s) for which event monitoring is being requested.
4) If both the Globally-Unique-Address AVP and the User-Name AVP are absent, return an Event
Registration/Deregistration Response with the Result-Code AVP set to DIAMETER_MISSING_AVP.
5) If no stored session record matches the Globally-Unique-Address AVP or the User-Name AVP and the
requested Event differs from USER-LOGON, return an Event Registration Response with the
Experimental-Result-Code AVP set to DIAMETER_ERROR_USER_UNKNOWN.
ETSI
14 ETSI ES 283 035 V3.2.1 (2018-01)
If the Subs-Req-Type AVP indicates that this is a request to subscribe to the notification of events, the CLF shall check
whether the requested event can be reported to the AF, based on local policy rules and per-IP connectivity user privacy
information received from the UAAF. If the AF is not allowed to request monitoring of the event, return an Event
Registration/Deregistration Response with Result-Code set to
DIAMETER_ERROR_OPERATION_NOT_ALLOWED. If the AF is allowed to request monitoring of the event, the
CLF shall:
1) For all session records matching the request, associate the AF-Application-Identifier with the list of entities
that need to be notified when the event identified by the request occurs. The association lasts until the moment
indicated by the value of the Expiry-Time AVP as returned to the AF. If no Expiry-Time AVP is supplied, the
CLF should treat it as a request for an unlimited subscription.
2) Include in the Event Registration Response an Expiry Time AVP with the absolute time at which the
subscription expires in the case of a successful subscription. This time may be earlier than the requested expiry
time. If the CLF includes this AVP, then no notification shall be sent to the AF after the expiration time. If the
CLF does not include this AVP, that indicates an unlimited subscription.
3) Set the Result-Code to DIAMETER_SUCCESS and return an Event Registration/Deregistration Response.
If the Subs-Req-Type AVP indicates that this is a request to unsubscribe to the notification of events, the CLF shall
remove the association of the AF-Identifier with the same list. The Result-Code shall be set to DIAMETER_SUCCESS
if the operation is successful or if the AF-Identifier was not present in the list. If the Event-Type AVP is absent, the
CLF assumes that the AF is willing to unsubscribe to all events associated with the User-Name or
Globally-Unique-Address AVP.
If a subsequent request is received by the CLF where the Expiry Time AVP is present but different from what the CLF
has previously stored, the CLF should replace the stored expiration time with what was received in the request.
If the CLF cannot fulfil the received request for reasons not stated in the above steps, e.g. due to database error, it shall
stop processing the request and set the Result-Code to DIAMETER_UNABLE_TO_COMPLY.
5.2.3 Notification Events
5.2.3.1 Overview
This procedure is used by a CLF to notify the AF of the occurrence of a particular event.
This procedure is mapped to the commands Push-Notifications-Request/Answer in the Diameter application specified in
ETSI TS 129 329 [7].
Tables 2c and 2d detail the involved information elements and their mapping to Diameter AVPs.
Table 2c: Notification Event Request
Information Mapping to Diameter Cat. Description
element name AVP
IP connectivity User-Name C The identity of the IP connectivity user on behalf of which the event
user ID is to be reported.
Globally unique Globally Unique C This information element contains:
IP Address Address - The IP address of the IP connectivity user on behalf of which the
event is to be reported.
- The addressing domain in which the IP address is significant.
AF Identity AF-Application-Identifier M Identifies the AF having registered to the request.
Event Event-Type M The type of event to be monitored.
[AVP] O AVPs carrying CLF information associated to the reported event.

ETSI
15 ETSI ES 283 035 V3.2.1 (2018-01)
Table 2d: Notification Event Response
Information Mapping to Cat. Description
element name Diameter AVP
Result Result-Code/ M Result of the request.
Experimental_ Result-Code AVP shall be used for errors defined in the Diameter Base
Result Protocol.
Experimental-Result AVP shall be used for other errors. This is a
grouped AVP which contains the 3GPP Vendor ID in the Vendor-Id
AVP, and the error code in the Experimental-Result-Code AVP.

5.2.3.2 Procedure at the CLF side
When a monitored event is detected on a particular access session, the CLF issues a Notification Event Request to each
of the application functions having registered to this event.
The Notification Event Request is populated as follows:
1) A least a Globally-Unique-Address or a User-Name AVP shall be included. The Globally-Unique-Address
AVP shall contain a Frame-IP-Address or Frame-IPv6-Prefix AVP value, and an Address-Realm AVP. The
Address-Realm AVP shall be included and set either using configuration data (in which case all terminal
equipment served by th
...


SLOVENSKI STANDARD
01-maj-2018
2PUHåQHWHKQRORJLMH 17(&+ 2PUHåQHSULNOMXþLWYH9PHVQLNHQDSRGODJL
SURWRNROD',$0(7(5
Network Technologies (NTECH) - Network Attachment - e2 interface based on the
DIAMETER protocol
Ta slovenski standard je istoveten z: ETSI ES 283 035 V3.2.1 (2018-01)
ICS:
33.040.01 Telekomunikacijski sistemi Telecommunication systems
na splošno in general
35.200 Vmesniška in povezovalna Interface and interconnection
oprema equipment
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

ETSI STANDARD
Network Technologies (NTECH);
Network Attachment;
e2 interface based on the DIAMETER protocol

2 ETSI ES 283 035 V3.2.1 (2018-01)

Reference
RES/NTECH-00036
Keywords
interface, network, system
ETSI
650 Route des Lucioles
F-06921 Sophia Antipolis Cedex - FRANCE

Tel.: +33 4 92 94 42 00  Fax: +33 4 93 65 47 16

Siret N° 348 623 562 00017 - NAF 742 C
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88

Important notice
The present document can be downloaded from:
http://www.etsi.org/standards-search
The present document may be made available in electronic versions and/or in print. The content of any electronic and/or
print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any
existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the
print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat.
Users of the present document should be aware that the document may be subject to revision or change of status.
Information on the current status of this and other ETSI documents is available at
https://portal.etsi.org/TB/ETSIDeliverableStatus.aspx
If you find errors in the present document, please send your comment to one of the following services:
https://portal.etsi.org/People/CommiteeSupportStaff.aspx
Copyright Notification
No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying
and microfilm except as authorized by written permission of ETSI.
The content of the PDF version shall not be modified without the written authorization of ETSI.
The copyright and the foregoing restriction extend to reproduction in all media.

© ETSI 2018.
All rights reserved.
TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are trademarks of ETSI registered for the benefit of its Members.
TM
3GPP and LTE™ are trademarks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
oneM2M logo is protected for the benefit of its Members.
GSM® and the GSM logo are trademarks registered and owned by the GSM Association.
ETSI
3 ETSI ES 283 035 V3.2.1 (2018-01)
Contents
Intellectual Property Rights . 5
Foreword . 5
Modal verbs terminology . 5
1 Scope . 6
2 References . 6
2.1 Normative references . 6
2.2 Informative references . 7
3 Definitions and abbreviations . 7
3.1 Definitions . 7
3.2 Abbreviations . 8
4 Overview . 9
5 Procedure descriptions . 9
5.1 General . 9
5.2 Procedures on the CLF - AF interface . 10
5.2.1 Information query . 10
5.2.1.1 Overview . 10
5.2.1.2 Procedure at the AF side . 11
5.2.1.3 Procedure at the CLF side . 11
5.2.2 Event Registration/Deregistration . 12
5.2.2.1 Overview . 12
5.2.2.2 Procedure at the AF side . 13
5.2.2.3 Procedure at the CLF side . 13
5.2.3 Notification Events . 14
5.2.3.1 Overview . 14
5.2.3.2 Procedure at the CLF side . 15
5.2.3.3 Procedure at the AF side . 15
6 Use of the Diameter base protocol . 16
6.0 General . 16
6.1 Securing Diameter messages . 16
6.2 Accounting functionality . 16
6.3 Use of sessions . 16
6.4 Transport protocol . 16
6.5 Routing considerations . 16
6.6 Advertising application support . 17
7 DIAMETER application. 17
7.0 General . 17
7.1 Commands . 17
7.1.0 General . 17
7.1.1 User-Data-Request command . 18
7.1.2 User-Data-Answer command. 18
7.1.3 Subscribe-Notifications-Request (SNR) Command . 19
7.1.4 Subscribe-Notifications-Answer (SNA) Command . 19
7.1.5 Push-Notification-Request (PNR) Command . 19
7.1.6 Push-Notifications-Answer (PNA) Command . 20
7.2 Result-Code AVP values . 20
7.2.0 General . 20
7.2.1 Success . 20
7.2.2 Permanent failures . 20
7.2.3 Transient failures . 21
7.3 AVPs . 21
7.3.0 General . 21
7.3.1 Location-Information AVP . 22
ETSI
4 ETSI ES 283 035 V3.2.1 (2018-01)
7.3.1A Civic-Location AVP . 23
7.3.1B Geospatial-Location AVP . 23
7.3.2 Policy-Control-Contact-Point AVP . 23
7.3.3 Terminal-Type AVP . 23
7.3.4 Requested-Information AVP . 23
7.3.5 Line-Identifier AVP . 24
7.3.6 Event-Type AVP . 24
7.3.7 Global-Access-Id AVP . 25
7.3.8 Fixed-Access-ID AVP . 25
7.3.9 Relay-Agent AVP . 25
7.3.10 Operator-Specific-GI AVP . 25
7.3.11 Emergency-Call-Routing-Info . 25
7.3.12 Port-Number . 25
7.3.13 PIDF-Location-Object . 25
7.4 Use of namespaces . 25
7.4.0 General . 25
7.4.1 AVP codes . 26
7.4.2 Experimental-Result-Code AVP values . 26
7.4.3 Command Code values . 26
7.4.4 Application-ID value . 26
Annex A (informative): Application to NGN Architectures . 27
A.1 Overview . 27
A.2 Mapping of e2 operations and terminology to Diameter . 27
Annex B (informative): Change history . 29
History . 30

ETSI
5 ETSI ES 283 035 V3.2.1 (2018-01)
Intellectual Property Rights
Essential patents
IPRs essential or potentially essential to the present document may have been declared to ETSI. The information
pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found
in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in
respect of ETSI standards", which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web
server (https://ipr.etsi.org/).
Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee
can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web
server) which are, or may be, or may become, essential to the present document.
Trademarks
The present document may include trademarks and/or tradenames which are asserted and/or registered by their owners.
ETSI claims no ownership of these except for any which are indicated as being the property of ETSI, and conveys no
right to use or reproduce any trademark and/or tradename. Mention of those trademarks in the present document does
not constitute an endorsement by ETSI of products, services or organizations associated with those trademarks.
Foreword
This ETSI Standard (ES) has been produced by ETSI Technical Committee Network Technologies (NTECH).
Modal verbs terminology
In the present document "shall", "shall not", "should", "should not", "may", "need not", "will", "will not", "can" and
"cannot" are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of
provisions).
"must" and "must not" are NOT allowed in ETSI deliverables except when used in direct citation.
ETSI
6 ETSI ES 283 035 V3.2.1 (2018-01)
1 Scope
The present document specifies a Diameter application for use between a Connectivity session Location and repository
Function (CLF) and an Application Function (AF).
2 References
2.1 Normative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
Referenced documents which are not found to be publicly available in the expected location might be found at
https://docbox.etsi.org/Reference.
NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee
their long term validity.
The following referenced documents are necessary for the application of the present document.
[1] Void.
[2] Void.
[3] Void.
[4] Void.
[5] ETSI ES 283 034: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); Network Attachment Sub-System (NASS); e4 interface based
on the DIAMETER protocol".
[6] ETSI TS 129 229: "Digital cellular telecommunications system (Phase 2+) (GSM); Universal
Mobile Telecommunications System (UMTS); LTE; Cx and Dx interfaces based on the Diameter
protocol; Protocol details (3GPP TS 29.229)".
[7] ETSI TS 129 329: "Digital cellular telecommunications system (Phase 2+) (GSM); Universal
Mobile Telecommunications System (UMTS); LTE; Sh interface based on the Diameter protocol;
Protocol details (3GPP TS 29.329)".
[8] ETSI TS 129 209: "Universal Mobile Telecommunications System (UMTS); Policy control over
Gq interface (3GPP TS 29.209)".
[9] IETF RFC 2960: "Stream Control Transmission Protocol".
[10] IETF RFC 6733: "Diameter Base Protocol".
[11] IETF RFC 3309: "Stream Control Transmission Protocol (SCTP) Checksum Change".
[12] IETF RFC 3554: "On the use of Stream Control Transmission Protocol (SCTP) with IPSec".
[13] ETSI TS 182 008: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); Presence Service; Architecture and functional description
[Endorsement of 3GPP TS 23.141 and OMA-AD-Presence-SIMPLE-V1-0]".
[14] Void.
[15] IETF RFC 4776: "Dynamic Host Configuration Protocol (DHCPv4 and DHCPv6) Option for
Civic Addresses Configuration Information".
ETSI
7 ETSI ES 283 035 V3.2.1 (2018-01)
[16] IETF RFC 3825: "Dynamic Host Configuration Protocol Option for Coordinate-based Location
Configuration Information".
[17] IETF RFC 4234: "Augmented BNF for Syntax Specifications: ABNF".
[18] Recommendation ITU-T M.1400: "Designations for interconnections among operators' networks".
[19] ISO 3166-1: "Codes for the representation of names of countries and their subdivisions - Part 1:
Country codes".
[20] ETSI TS 129 061: "Digital cellular telecommunications system (Phase 2+) (GSM); Universal
Mobile Telecommunications System (UMTS); LTE; Interworking between the Public Land
Mobile Network (PLMN) supporting packet based services and Packet Data Networks (PDN)
(3GPP TS 29.061)".
[21] ETSI TS 124 229: "Digital cellular telecommunications system (Phase 2+) (GSM); Universal
Mobile Telecommunications System (UMTS); LTE; IP multimedia call control protocol based on
Session Initiation Protocol (SIP) and Session Description Protocol (SDP); Stage 3
(3GPP TS 24.229)".
[22] IETF RFC 3986: "Uniform Resource Identifier (URI): Generic Syntax".
[23] IETF RFC 4119: "A Presence-based GEOPRIV Location Object Format".
2.2 Informative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee
their long term validity.
The following referenced documents are not necessary for the application of the present document but they assist the
user with regard to a particular subject area.
[i.1] ETSI ES 282 001: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); NGN Functional Architecture".
[i.2] ETSI ES 282 004: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); NGN Functional Architecture; Network Attachment
Sub-System (NASS)".
[i.3] ETSI ES 282 003: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); Resource and Admission Control Sub-System (RACS):
Functional Architecture".
[i.4] ETSI ES 282 007: "Telecommunications and Internet converged Services and Protocols for
Advanced Networking (TISPAN); IP Multimedia Subsystem (IMS); Functional architecture".
3 Definitions and abbreviations
3.1 Definitions
For the purposes of the present document, the following terms and definitions apply:
access identifier: identifier of an access network termination point
NOTE: Examples of access identifiers include wireline terminations identifiers in fixed access networks and
mobile cell identifiers.
ETSI
8 ETSI ES 283 035 V3.2.1 (2018-01)
access network: collection of network entities and interfaces that provide the underlying IP transport connectivity
between end user devices and other networks
access record: set of information stored in the CLF in relation to an access identifier
Application Function (AF): element of the network architecture offering - or providing access to - applications that
require information about the characteristics of the IP-connectivity session used to access such applications
Attribute-Value Pair (AVP): Information Element in a Diameter message
NOTE: See IETF RFC 6733 [10].
IP connectivity user: entity requesting IP connectivity from an access network
must: shall
NOTE: The drafting rules of the IETF mandate the modal auxiliary verb "must" where 3GPP/ETSI rules mandate
"shall". Similarly, "must not" and "shall not". When the present document cites an IETF document or
when it provides text which, for comprehensibility, needs to be congruent with IETF terminology, the
terms "must" and "must not" are retained, and need to be interpreted as having the same meaning as
"shall" and "shall not" in regular 3GPP/ETSI drafting conventions.
session record: set of information stored in the CLF in relation to an IP address
3.2 Abbreviations
For the purposes of the present document, the following abbreviations apply:
ABNF Augmented Backus-Naur Form
AF Application Function
ASCII American Standard Code for Information Interchange
ASF Application Server Function
AVP Attribute-Value Pair
CLF Connectivity session Location and repository Function
CSCF Call Session Control Function
DHCP Dynamic Host Configuration Protocol
FQDN Fully Qualified Domain Name
GI Geographical Identifier
IANA Internet Assigned Numbers Authority
IBCF Interconnection Border Control Function
ICC ITU Carrier Code
IETF Internet Engineering Task Force
IMS IP Multimedia Subsystem
IP Internet Protocol
LAC Location-Area-Code
LCI Location Configuration Information
NASS Network Attachment Sub-System
NGN Next Generation Network
NOC Network-Operator-Code
P-CSCF Proxy Call Session Control Function
PDBF Profile Data Base Function
PIDF LO Presence Information Data Format Location Object
PNA Presence Network Agent
PNR Push-Notification-Request
RACF Resource and Admission Control Function
RACS Resource and Admission Control Subsystem
RFC Request For Comments
SCTP Stream Control Transport Protocol
SNA Subscribe-Notifications-Answer
SNR Subscribe-Notifications-Request
UAAF User Authentication and Authorization Function
UDA User-Data-Answer
UDR User-Data-Request
ETSI
9 ETSI ES 283 035 V3.2.1 (2018-01)
UE User Equipment
URI Uniform Resource Identifier
4 Overview
The present document specifies a Diameter application for use between a Connectivity session Location and repository
Function (CLF) and an Application Function (AF). The interface between the CLF and the AF is known as the e2
interface (figure 1).
A Connectivity session Location and repository Function (CLF) is a data base in an access network that maintains
information associated to an IP address and/or an access identifier in the form of dynamic session records or static
access records, respectively. How a CLF obtains this information is outside the scope of the present document.
In the context of the present document, an Application Function (AF) represents any network element offering - or
providing access to - applications that require information about the characteristics of the IP-connectivity session used
to access such applications. Annex A provides background information on the use of a CLF in NGN architectures
(ETSI ES 282 001 [i.1]).
AF
Scope of
this document
e2
CLF
UE Access Network Resources
Figure 1: e2 interface
5 Procedure descriptions
5.1 General
The following clauses describe the procedures for supporting interactions between an AF and a CLF.
In the tables that describe this mapping, each Information Element is marked as (M) Mandatory, (C) Conditional or (O)
Optional.
• A mandatory Information Element (marked as (M) in the table) shall always be present in the command. If this
Information Element is absent, an application error occurs at the receiver and an answer message shall be sent
back to the originator of the request with the Result-Code set to DIAMETER_MISSING_AVP. This message
shall also include a Failed-AVP AVP containing the missing Information Element i.e. the corresponding
Diameter AVP defined by the AVP Code and the other fields set as expected for this Information Element.
ETSI
10 ETSI ES 283 035 V3.2.1 (2018-01)
• A conditional Information Element (marked as (C) in tables 1 and 2) shall be present in the command if certain
conditions are fulfilled:
- If the receiver detects that those conditions are fulfilled and the Information Element is absent, an
application error occurs and an answer message shall be sent back to the originator of the request with
the Result-Code set to DIAMETER_MISSING_AVP. This message shall also include a Failed-AVP
AVP containing the missing Information Element i.e. the corresponding Diameter AVP defined by the
AVP Code and the other fields set as expected for this Information Element. If multiple Information
Elements are missing, all corresponding AVP codes shall be included in the Failed-AVP AVP.
- If those conditions are not fulfilled, the Information Element shall be absent. If however this Information
Element appears in the message, it shall not cause an application error and it may be ignored by the
receiver if this is not explicitly defined as an error case. Otherwise, an application error occurs at the
receiver and an answer message with the Result-Code set to DIAMETER_AVP_NOT_ALLOWED shall
be sent back to the originator of the request. A Failed-AVP AVP containing a copy of the corresponding
Diameter AVP shall be included in this message.
• An optional Information Element (marked as (O) in tables 1 and 2) may be present or absent in the command,
at the discretion of the application at the sending entity. Absence or presence of this Information Element shall
not cause an application error and may be ignored by the receiver.
5.2 Procedures on the CLF - AF interface
5.2.1 Information query
5.2.1.1 Overview
This procedure is used by an AF to retrieve from the CLF location information and other data related to an access
session.
This procedure is mapped to the commands User-Data-Request/Answer in the Diameter application specified in ETSI
TS 129 329 [7].
Tables 1 and 2 detail the involved information elements and their mapping to Diameter AVPs.
Table 1: Information query request
Information Mapping to diameter Cat. Description
element name AVP
Globally unique Globally-Unique- C This information element contains:
IP Address Address - The IP address of the UE for which profile information is being
pushed.
- The addressing domain in which the IP address is significant.
IP connectivity User-Name C The identity of the IP connectivity user that is attached to the
user ID network.
Access Identifier Global-Access-Id C Identifies an access point to IP connectivity services.
AF Identity AF-Application-Identifier M Identifies the AF originating the request.
Requested-Items Requested-Information O The list of items requested by the AF.
Port-Number Port-Number O The originating port number associated to the session for which the
AF is attempting to retrieve information.
NOTE: Either the Globally-Unique-IP-Address, the IP connectivity user ID or the Access Identifier shall be included.

ETSI
11 ETSI ES 283 035 V3.2.1 (2018-01)
Table 2: Information query response
Information Mapping to diameter Cat. Description
element name AVP
Result Result-Code/ M Result of the request.
Experimental_
Result Result-Code AVP shall be used for errors defined in the Diameter
Base Protocol.
Experimental-Result AVP shall be used for other errors. This is a
grouped AVP which contains the 3GPP Vendor ID in the Vendor-Id
AVP, and the error code in the Experimental-Result-Code AVP.
IP connectivity User-Name O The identity of the IP connectivity user that is attached to the
user ID network.
Location Location-Information O Location information (or a pointer to such information) in a form that
Information is suitable for the requesting application.
Policy Control Policy-Control- O The FQDN or IP address of a policy control entity where resource
contact point Contact- request shall be sent.
Point
Access Network Access-Network- O The type of access network over which IP connectivity is provided to
Type Type the user equipment.
Terminal Type Terminal-Type O The type of user equipment to which the IP address was allocated.
Logical Access ID Logical-Access-Id O The identity of the logical access where the user equipment is
connected.
Physical Access ID Physical-Access-Id O The identity of the physical access where the user equipment is
connected.
Emergency-Call- Emergency-Call- O A URI where to route emergency calls originated from the access
Routeing-Info Routeing-Info and/or session considered.

5.2.1.2 Procedure at the AF side
The AF shall populate the Information Query as follows:
1) Insert either a Globally-Unique-Address, a User-Name AVP or a Global-Access-Id AVP. The Globally-
Unique-Address AVP shall contain a Frame-IP-Address or Frame-IPv6-Prefix AVP value, and an Address-
Realm AVP. The Address-Realm AVP shall be included and set either using configuration data (in which case
all terminal equipment served by the AF belong to the same addressing domain) or from the physical or logical
interface over which was received the resource request that triggered the pull procedure.
2) The AF-Application-Identifier AVP shall be present.
3) The Requested-Information AVP shall be present if specific information is requested and shall be absent if all
available information is requested.
5.2.1.3 Procedure at the CLF side
Upon reception of the Information Query, the CLF shall, in the following order:
1) If the Globally-Unique-Address AVP is present, use this information as a key to retrieve a session record.
2) If the Globally-Unique-Address AVP is absent but the User-Name AVP is present, use the latter information
as a key to retrieve a session record.
3) If both the Globally-Unique-Address AVP and the User-Name AVP are absent, and a Global-Access-Id AVP
is present, use this information to retrieve an access record.
4) If more than one session record include the same IP connectivity user ID matching the value of the User-Name
AVP and no Globally-Unique-Address AVP is included, return an Information Query response with Result-
Code set to DIAMETER_UNABLE_TO_COMPLY.
5) If no session record is stored for the Globally-Unique-Address AVP or the User-Name AVP, return an
Information Query with the Experimental-Result-Code AVP shall be set to
DIAMETER_ERROR_USER_UNKNOWN.
ETSI
12 ETSI ES 283 035 V3.2.1 (2018-01)
6) If the Globally-Unique-Address AVP, the User-Name AVP and the Global-Access-ID AVP are absent, return
an Information Query response with Result-Code set to DIAMETER_MISSING_AVP.
If a unique session record is retrieved, the CLF shall check which session data can be returned to the AF, based on the
contents of the Requested-Information AVP, local policy rules and, if applicable, per-IP connectivity user privacy
information.
NOTE 1: In case of an NGN architecture the CLF receives privacy information received from the UAAF/PDBF.
If an access record is retrieved, the CLF shall check which data can be returned to the AF, based on the contents of the
Requested-Information AVP and local policy rules.
NOTE 2: If the Requested-Information AVP is not received, the list of requested information is inferred from the
AF identity.
The CLF shall also check whether the session data to be retrieved is currently being updated by another entity. If there
is an update of the data in progress, the CLF may delay the response message until the update has been completed and
shall include in the response message the updated data requested. The CLF shall ensure that the data returned is not
corrupted by this conflict.
Under temporary overload conditions, the CLF shall stop processing the request and return an Information Query
response with the Result-Code set to DIAMETER_TOO_BUSY. The AF may retry retrieving the required information
at a later stage.
If the CLF cannot fulfil the received request for reasons not stated in the above steps, e.g. due to database error, it shall
stop processing the request and set the Result-Code to DIAMETER_UNABLE_TO_COMPLY or an
Experimental-Result-Code AVP set to DIAMETER_USER_DATA_NOT_AVAILABLE.
Otherwise, the requested operation shall take place and the CLF shall return the Result-Code AVP set to
DIAMETER_SUCCESS and the session data in the Information Query response.
NOTE 3: Due to the application of operator's policies and IP connectivity user privacy rules, the session data
returned in the message may be a subset of the explicitly or implicitly requested session data.
5.2.2 Event Registration/Deregistration
5.2.2.1 Overview
This procedure is used by an AF to subscribe with the CLF to a particular event.
This procedure is mapped to the commands Subscribe-Notifications-Request/Answer defined in the Diameter
application specified in ETSI TS 129 329 [7].
Tables 2a and 2b detail the involved information elements and their mapping to Diameter AVPs.
Table 2a: Event Registration/Deregistration Request
Information Mapping to Diameter Cat. Description
element name AVP
Subs-Req-Type M Indicates whether the AF is willing to subscribe or unsubscribe to the
notification of the event.
IP connectivity User-Name C The identity of the IP connectivity user on behalf of which the event
user ID is to be reported.
Globally unique Globally Unique C This information element contains the IP address of the IP
IP Address Address connectivity user on behalf of which the event is to be reported,
together with the addressing domain in which the IP address is
significant.
Subscription Expiry-Time O Moment of expiration of the subscription to the event.
Expiration
Event Event-Type M The type of event to be monitored.
AF Identity AF-Application-Identifier M Identifies the AF originating the request.

ETSI
13 ETSI ES 283 035 V3.2.1 (2018-01)
Table 2b: Event Registration/Deregistration Response
Information Mapping to Cat. Description
element name Diameter AVP
Result Result-Code/ M Result of the request.
Experimental_
Result Result-Code AVP shall be used for errors defined in the Diameter Base
Protocol.
Experimental-Result AVP shall be used for other errors. This is a
grouped AVP which contains the 3GPP Vendor ID in the Vendor-Id
AVP, and the error code in the Experimental-Result-Code AVP.
Expiry-Time O Acknowledges the absolute time at which the subscription expires.

The CLF monitors events related to access sessions. Monitoring of a particular event on a particular session is activated
when at least one Application Function has subscribed to be notified of the occurrence of the event.
Subscription to an event may be done implicitly (i.e. through management operations) or explicitly using the Event
Registration/Deregistration request. Subscription to an event ceases when one of the following conditions is met:
• Expiry of the subscription duration.
• Removal of the session record from the CLF.
• Receipt of an explicit request to unsubscribe.
5.2.2.2 Procedure at the AF side
The AF shall populate the Event Registration/Deregistration Request as follows:
Insert a Subs-Req-Type AVP indicating whether it is willing to subscribe or unsubscribe to the notification of events:
1) Insert either a Globally-Unique-Address or a User-Name AVP. The Globally-Unique-Address AVP shall
contain a Frame-IP-Address or Frame-IPv6-Prefix AVP value, and an Address-Realm AVP. The
Address-Realm AVP shall be included and set either using configuration data (in which case all IP
connectivity users served by the AF is assumed to belong to the same addressing domain) or from the physical
or logical interface over which was received a related service request.
2) The AF-Application-Identifier AVP shall be present.
3) At least one occurrence of the Event-Type AVP shall be present.
4) The Expiry-Time AVP may be present.
5.2.2.3 Procedure at the CLF side
Upon reception of an Event Registration/Deregistration Request, the CLF shall, in the following order:
1) Based on the contents of the AF-Application-Identifier AVP, check whether the AF is allowed to request
monitoring of events. If not, return an Event Registration Response with Result-Code set to
DIAMETER_ERROR_OPERATION_NOT_ALLOWED.
2) If the Globally-Unique-Address AVP is present, use this information as a key to identify the session for which
event monitoring is being requested.
3) If the Globally-Unique-Address AVP is absent but the User-Name AVP is present, use the latter information
as a key to the session(s) for which event monitoring is being requested.
4) If both the Globally-Unique-Address AVP and the User-Name AVP are absent, return an Event
Registration/Deregistration Response with the Result-Code AVP set to DIAMETER_MISSING_AVP.
5) If no stored session record matches the Globally-Unique-Address AVP or the User-Name AVP and the
requested Event differs from USER-LOGON, return an Event Registration Response with the
Experimental-Result-Code AVP set to DIAMETER_ERROR_USER_UNKNOWN.
ETSI
14 ETSI ES 283 035 V3.2.1 (2018-01)
If the Subs-Req-Type AVP indicates that this is a request to subscribe to the notification of events, the CLF shall check
whether the requested event can be reported to the AF, based on local policy rules and per-IP connectivity user privacy
information received from the UAAF. If the AF is not allowed to request monitoring of the event, return an Event
Registration/Deregistration Response with Result-Code set to
DIAMETER_ERROR_OPERATION_NOT_ALLOWED. If the AF is allowed to request monitoring of the event, the
CLF shall:
1) For all session records matching the request, associate the AF-Application-Identifier with the list of entities
that need to be notified when the event identified by the request occurs. The association lasts until the moment
indicated by the value of the Expiry-Time AVP as returned to the AF. If no Expiry-Time AVP is supplied, the
CLF should treat it as a request for an unlimited subscription.
2) Include in the Event Registration Response an Expiry Time AVP with the absolute time at which the
subscription expires in the case of a successful subscription. This time may be earlier than the requested expiry
time. If the CLF includes this AVP, then no notification shall be sent to the AF after the expiration time. If the
CLF does not include this AVP, that indicates an unlimited subscription.
3) Set the Result-Code to DIAMETER_SUCCESS and return an Event Registration/Deregistration Response.
If the Subs-Req-Type AVP indicates that this is a request to unsubscribe to the notification of events, the CLF shall
remove the association of the AF-Identifier with the same list. The Result-Code shall be set to DIAMETER_SUCCESS
if the operation is successful or if the AF-Identifier was not present in the list. If the Event-Type AVP is absent, the
CLF assumes that the AF is willing to unsubscribe to all events associated with the User-Name or
Globally-Unique-Address AVP.
If a subsequent request is received by the CLF where the Expiry Time AVP is present but different from what the CLF
has previously stored, the CLF should replace the stored expiration time with what was received in the request.
If the CLF cannot fulfil the received request for reasons not stated in the above steps, e.g. due to database error, it shall
stop processing the request and set the Result-Code to DIAMETER_UNABLE_TO_COMPLY.
5.2.3 Notification Events
5.2.3.1 Overview
This procedure is used by a CLF to notify the AF of the occurrence of a particular event.
This procedure is mapped to the commands Push-Notifications-Request/Answer in the Diameter application specified in
ETSI TS 129 329 [7].
Tables 2c and 2d detail the involved information elements and their mapping to Diameter AVPs.
Table 2c: Notification Event Request
Information Mapping to Diameter Cat. Description
element name AVP
IP connectivity User-Name C The identity of the IP connectivity user on behalf of which the event
user ID is to be reported.
Globally unique Globally Unique C This information element contains:
IP Address Address - The IP address of the IP connectivity user on behalf of which the
event is to be reported.
- The addressing domain in which the IP address is significant.
AF Identity AF-Application-Identifier M Identifies the AF having registered to the request.
Event Event-Type M The type of event to be monitored.
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.

Loading comments...