Documente Academic
Documente Profesional
Documente Cultură
Protocol
Overview
www.huawei.com
Foreword
Page2
References
RFC3558
3GPP TS 29.229
Page3
Objectives
Page4
Contents
1.
2.
Page5
Contents
1.
Page6
Whats Diameter?
Diameter protocol
Radius
AAA server
Diameter
AAA client
NAS
PPP
WLAN
DSL
3G
Traditional network
future network
Page7
Failover
Transmission-level security
Reliable transport
Agent support
Server-initiated messages
Capability negotiation
Roaming support
Page8
Characteristic
Capabilities negotiation
Error notification
Page9
Contents
1.
Page10
Diameter framework
Applications
SIP
application
SIP application
NASREQ
application
MIP
application
EAP
application
Page11
Client
Server
Agent
Page12
Redirect Agent
Translation Agent
Page13
Contents
1.
Page14
Diameter PDU
Diameter header
Diameter AVP
0
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
version
Message Length
command
Command-Code
flags
RPETrrrr
Application-ID
Hop-by-Hop Identifier
End-to-End Identifier
AVPs ...
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.
Page15
Diameter PDU
Command code
Command-Name
Abbrev
Code
Abort-Session-Request
ASR
274
Abort-Session-Answer
ASA
274
Accounting-Request
ACR
271
Accounting-Answer
ACA
271
Capabilities-Exchange-Request
CER
257
Capabilities-Exchange- Answer
CEA
257
Device-Watchdog-Request
DWR
280
Device-Watchdog-Answer
DWA
280
Session-Termination- Request
STR
275
Session-Termination- Answer
STA
275
Page16
Diameter PDU
AVP
Page17
Example
HSS
Diameter message: UAA
Diameter header
Command code
AVPs
AVP header
AVP data
UAA
AVP code
AVP length
603
10415
Page18
Contents
1.
2.
Page19
framework
Diameter
server
Diameter
UAR/UAA
LIR/LIA
SIP UA
SIP server1
Diameter
PPR/PPA
SAR/SAA
RTR/RTA
SIP sever2
Page20
SIP UA
Abbrev
UAR
Code
300
User-Authorization-Answer
UAA
300
Server-Assignment-Request
SAR
301
Server-Assignment-Answer
SAA
301
Location-Info-Request
LIR
302
Location-Info-Answer
LIA
302
Multimedia-Auth-Request
MAR
303
Multimedia-Auth-Answer
MAA
303
Registration-Termination-Request
RTR
304
Registration-Termination-Answer
RTA
304
Push-Profile-Request
PPR
305
Push-Profile-Answer
PPA
305
Page21
Code
601
Public-Identity
602
Server-Name
603
Server-Capabilities
604
Mandatory-Capability
605
Optional-Capability
606
User-Data
607
SIP-Number-Auth-Items
608
SIP-Authentication-Scheme
609
SIP-Authenticate
610
SIP-Authorization
611
SIP-Authentication-Context
612
Page22
Code
613
SIP-Item-Number
614
Server-Assignment-Type
615
Deregistration-Reason
616
Reason-Code
617
Reason-Info
618
Charging-Information
619
Primary-Event-Charging-Function-Name
620
Secondary-Event-Charging-Function-Name
621
Primary-Charging-Collection-Function-Name
622
Secondary-Charging-Collection-Function-Name
623
User-Authorization-Type
624
Page23
Command-Name
User-Data-Already-Available
Code
625
Confidentiality-Key
626
Integrity-Key
627
Supported-Features
628
Feature-List-ID
629
Feature-List
630
Supported-Applications
631
Page24
HSS
I-CSCF
1.SIP register
8.401 unauthorized
9.SIP register
16.200OK
S-CSCF
2.UAR
3.UAA
7.401 unauthorized
10.UAR
11.UAA
4.SIP register
5.MAR
6.MAA
12.SIP register
13.SAR
14.SAA
15.200 OK
Page25
UAR/UAA --User-Authorization
request/answer
User register/User deregister
HSS Action
HSS Return
S-CSCF Name or
S-CSCF Capabilities
Page26
MAR/MAA --MultimediaAuthentication
request/answer
S-CSCFHSS to retrieve authentication vectors
HSS Action
Check the register status of the user and judge if the SCSCF name equal to the server name stored in HSS
Page27
SAR/SAA --Server-Assignment
request/answer
S-CSCFHSS to notify to register or deregister the user
HSS Action
Page28
Summary
Page29
Thank you
www.huawei.com