Professional Documents
Culture Documents
Diameter
3868 for Diameter Base Protocol
RADIUS
1812 - UDP 1813 - Accounting
Message Handling
Error Reporting
Security
Transport Methods
Agent Support
Authentication
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Diameter Base Protocol -- Pocket Guide
7
Datagram Transport Layer Security (DTLS)
Handshake
TCP
UDP
SCTP
Reliability
Reliable
Unreliable
Reliable
Securtiy
Yes
Yes
Better
Fault Tollerance
No
No
Yes
Congestion Control
Yes
No
Yes
Connection Management
Connection-Oriented
Connectionless
Connection-Oriented
Transmission
Byte-Oriented
Message-Oriented
Message-Oriented
Data Delivery
Strictly Ordered
Unordered
Flow Control
Yes
No
Yes
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
Device-Watchdog Request
Device-Watchdog Answer
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Failed-AVP AVP
Experimental-Result AVP
Diameter Time Based Accounting Call Flow
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
Accounting-Request (ACR)
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Accounting-Answer (ACA)
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
AVPs
Number
Message Type
Acct-Multi-Session Id
Session Id
ACR
225
131
Sub-Session-Id
EVENT
ACA
225
131
Acc-Interim-Interval
ACR
225
422
START
10 Seconds
ACA
225
422
START
10 Seconds
ACR
225
422
INTERIM
ACA
225
422
INTERIM
ACR
225
422
338
START
ACA
225
422
338
STOP
ACR
225
422
STOP
10
ACA
225
422
STOP
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Re-Auth-Request (RAR)
Re-Auth-Answer (RAA)
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
::=
[AVP]
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
::=
[AVP]
::=
[AVP]
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Termination Causes
AVP Value
0
1
Attribute Name
Reserved
DIAMETER_LOGOUT
Reference
[RFC3588][RFC6733]
3
4
DIAMETER_SERVICE_NOT_PRO
[RFC3588][RFC6733]
VIDED
DIAMETER_BAD_ANSWER
[RFC3588][RFC6733]
DIAMETER_ADMINISTRATIVE
[RFC3588][RFC6733]
5
6
DIAMETER_LINK_BROKEN
DIAMETER_AUTH_EXPIRED
[RFC3588][RFC6733]
[RFC3588][RFC6733]
7
8
DIAMETER_USER_MOVED
DIAMETER_SESSION_TIMEOUT
[RFC3588][RFC6733]
[RFC3588][RFC6733]
Unassigned
User Request
Lost Carrier
[RFC2866][RFC7155]
[RFC2866][RFC7155]
13
Lost Service
[RFC2866][RFC7155]
14
15
16
Idle Timeout
Session Timeout
Admin Reset
[RFC2866][RFC7155]
[RFC2866][RFC7155]
[RFC2866][RFC7155]
17
18
Admin Reboot
Port Error
[RFC2866][RFC7155]
[RFC2866][RFC7155]
19
20
NAS Error
NAS Request
[RFC2866][RFC7155]
[RFC2866][RFC7155]
21
22
NAS Reboot
Port Unneeded
[RFC2866][RFC7155]
[RFC2866][RFC7155]
23
24
25
Port Preempted
Port Suspended
Service Unavailable
[RFC2866][RFC7155]
[RFC2866][RFC7155]
[RFC2866][RFC7155]
26
27
Callback
User Error
[RFC2866][RFC7155]
[RFC2866][RFC7155]
28
29
Host Request
Supplicant Restart
[RFC2866][RFC7155]
[RFC3580][RFC7155]
30
31
Reauthentication Failure
Port Reinitialized
[RFC3580][RFC7155]
[RFC3580][RFC7155]
32
[RFC3580][RFC7155]
9-10
11
12
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Defination
::=
This symbol is typically used in the first line of a Command Code Format and
can be read as "Defined as"
<>
Are used inconjunction with AVPs or the Diameter Header and indicate the
enclosed element is required and that its position is fixed.
{}
[]
Enclosed Elements are optional and may be located anywhere within the
message or command.
[min]*[max]
REQ
Represents the "R" bit in the flag protion of the Diameter Header. This
indicates the the command is a Request as opposed to an Answer.
PXY
Represents the "P" bit in the Diameter Header. This indicates that the
message is proxyable.
ERR
Represents the "E" bit in the Diameter Header. This indicates that the
Answer message conatins an error indicaton.
avp-spec
avp-name
Any arbitary AVP not otherwise listed in the Command Code Defination. The
inclusion of the term is recommended for all Command Code Definations to
facilitate Diameter extensibility.
Acronym
ASR
ASA
CER
CEA
DWR
DWA
DPR
DPA
RAR
RAA
STR
STA
Code
274
274
257
257
280
280
282
282
258
258
275
275
Page
119
119
49
49
55
55
53
53
115
115
117
117
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
AVP Code
85
483
50
485
480
44
287
259
258
274
291
276
277
285
25
293
283
273
281
294
55
297
298
279
267
257
299
Data Type
Unsigned32
Enumerated
UTF8String
Unsigned32
Enumerated
OctetString
Unsigned64
Unsigned32
Unsigned32
Enumerated
Unsigned32
Unsigned32
Enumerated
Enumerated
OctetString
DiamIdent
DiamIdent
Enumerated
UTF8String
DiamIdent
Time
Grouped
Unsigned32
Grouped
Unsigned32
Address
Unsigned32
Page
94
95
95
96
96
97
97
97
72
120
122
122
122
123
127
70
71
54
88
88
128
89
89
88
51
51
72
AVP Code
272
264
296
Data Type
Unsigned32
DiamIdent
DiamIdent
Origin-State-Id
278
Unsigned32
Product-Name
269
UTF8String
Proxy-Host
280
DiamIdent
Proxy-Info
284
Proxy-State
Page
127
70
70
126
V, M
51
72
Grouped
71
33
OctetString
72
Redirect-Host
292
DiamURI
74
Redirect-Host-Usage
261
Enumerated
74
Redirect-Max-Cache-Time
262
Unsigned32
75
Result-Code
268
Unsigned32
79
Route-Record
282
DiamIdent
71
Session-Id
263
UTF8String
121
Session-Timeout
27
Unsigned32
123
Session-Binding
270
Unsigned32
126
Session-Server-Failover
271
Enumerated
126
Supported-Vendor-Id
265
Unsigned32
51
Termination-Cause
295
Enumerated
125
User-Name
UTF8String
124
Vendor-Id
266
Unsigned32
50
Vendor-Specific-Application-Id
260
Grouped
73
Command Code
0
0
0
0+
0+
0
0
0
0
0
0
0
0
0
0
0-1
1+
0
0
1
Auth-Request-Type
Auth-Session-State
Authorization-Lifetime
Class
Destination-Host
Destination-Realm
Disconnect-Cause
Error-Message
Error-Reporting-Host
Failed-AVP
Firmware-Revision
Host-IP-Address
Inband-Security-Id
Multi-Round-Time-Out
Origin-Host
0
0
0
0
0-1
0
0-1
0-1
1+
0
0
1
0
0
0
0
0
0
0+
0+
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0-1
0
0-1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0-1
0
0-1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0-1
0-1
0
1
0
0
0
0
0
0-1
0
0-1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0-1
0
0-1
0
0
0
0
1
0
0
0
0
0
0
0
0
CER CEA DPR DPA DWR DWA RAR RAA ASR ASA
Acct-Interim-Interval
Accounting-Realtime-Required
Acct-Application-Id
Auth-Application-Id
Auth-Grace-Period
Attribute Name
0
0-1
0
0
0
0
0
0
0
0
0
1
0
0
0+
0
0
0
1
0
STR
0
0
0
0
0-1
0
0-1
0
0
0
0
1
0
0
0+
0
0
0
0
0
STA
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Command Code
0
1
0+
Vendor-Specific-Application-Id
0
0
Session-Id
Session-Server-Failover
User-Name
Vendor-Id
Session Binding
Route-Record
Termination-Cause
Re-Auth-Request-Type
0
0
Redirect-Max-Cache-Time
Result-Code
0+
Redirect-Host-Usage
Supported-Vendor-Id
Redirect-Host
Session-Timeout
1
0-1
1
0
0+
0
1
0+
0
0
0
1
1
0-1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
1
0-1
0
0
0
0
0
0
0
1
1
0-1
0
0
0-1
0
1
0
0+
0
0
1
0-1
0
0+
0-1
0
1
0
0-1
1
0-1
0+
1
0-1
0
0+
0-1
0
1
0
0+
0
0
1
0-1
0
0+
0-1
0
1
0
0-1
1
0-1
0+
1
0-1
0
0+
CER CEA DPR DPA DWR DWA RAR RAA ASR ASA
Origin-Realm
Origin-State-Id
Product-Name
Proxy-Info
Attribute Name
0-1
0
1
0
0+
0
0
1
0-1
0
0+
STR
0-1
0
1
0
0-1
1
0-1
0+
1
0-1
0
0+
STA
ACR
ACA
Acct-Interim-Interval
0-1
0-1
Accounting-Multi-Session-Id
0-1
0-1
Accounting-Record-Number
Accounting-Record-Type
Acct-Session-Id
1
1
0-1
1
1
0-1
Accounting-Sub-Session-Id
0-1
0-1
Accounting-Realtime-Required
0-1
0-1
Acct-Application-Id
0-1
0-1
Auth-Application-Id
Class
Destination-Host
0
0+
0-1
0
0+
0
Destination-Realm
ACR
ACA
0+
0-1
0-1
Failed-AVP
0-1
Origin-Host
Origin-Realm
Proxy-Info
0+
0+
Route-Record
0+
Result-Code
0-1
1
0
0-1
0-1
0-1
1
0
0-1
0-1
Event-Timestamp
Origin-State-Id
Session-Id
Termination-Cause
User-Name
Vendor-Specific-Application-Id
Glossary of Terms
Abbreviation
Phrase
3GPP
a record
Address Record
AAA
AAAA Record
ABNF
ACA
Accounitng-Answer
ACK
Acknowledge Packet
ACR
Accounitng-Request
ARPANET
ASA
Abort-Session-Answer
ASR
Abort-Session-Request
AVP
CAMEL
CAP
CDR
CEA
Capabilities-Exchange-Answer
CER
Capabilities-Exchange-Request
CHAP
DDDS
DNS
DPA
Disconnect-Peer-Answer
DPR
Disconnect-Peer-Request
DTLS
DWA
Device-Watchdog-Answer
DWR
Device-Watchdog-Request
EAP
EPC
ERR
"E-Bit" sey
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
Phrase
FQDN
IANA
IETF
IMS
IP Multimedia Subsystems
INIT
Initialization
INIT-ACK
Initialization-Acknowledgement
IP
Internet Protocol
IPSec
IP Security
IPv4
IP version 4
IPv6
IP version 6
LAN
LTE
MAP
MB
Mega Byte
NAI
NAPTR
NAS
NASREQ
NBO
PAP
PXY
Proxy
QoS
Quality of Service
RAA
Re-Auth-Answer
RADIUS
RAR
Re-Auth-Request
Regexp
Regular Expression
Notes:
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
________________________________________________________
_______________________________________________________
Phrase
REQ
Request
RFC
S-NAPTR
Straightforward-NAPTR
SCTP
SIGTRAN
SS7
Signaling System 7
STA
Session-Termination-Answer
STR
Session-Termination-Request
SVR
Service Record
SYN
Synchronize Packet
SYN-ACK
Synchronize-Acknowledgement Packet
TACACS
TACAS+
TCAP
TCP
TLS
UDP
WAN
Copyright (C) The Internet Society (2002). All Rights Reserved. This document and
translations of it may be copied and furnished to others, and derivative works that comment on
or otherwise explain it or assist in its implementation may be prepared, copied, published and
distributed, in whole or in part, without restriction of any kind, provided that the above copyright
notice and this paragraph are included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing the copyright notice or
references to the Internet Society or other Internet organizations, except as needed for the
purpose of developing Internet standards in which case the procedures for copyrights defined
in the Internet Standards process must be followed, or as required to translate it into
languages other than English.
Although information contained in this document resembles specifications by national or
international standards bodies, nothing contained within this document is either warranted or
endorsed by said standards bodies. While every effort has been taken to ensure the accuracy
of this material, errors may exist and materials may become obsolete by more recent additions
of specifications. No development of actual product should be undertaken without referring to
the ANSI, ITU, ETSI, IETC or IETF specifications.