Introduction To Diameter Protocol
Introduction To Diameter Protocol
Diameter Protocol
Saro Velrajan
1st Aug 2009
1
http://thediameter.blogspot.com 1st Aug 2009
Pre-requisites
2
http://thediameter.blogspot.com 1st Aug 2009
Agenda
Protocol Basics
Functional Nodes
Key Features
Messages
Summary / References
3
http://thediameter.blogspot.com 1st Aug 2009
Protocol Basics
4
http://thediameter.blogspot.com 1st Aug 2009
Why Diameter?
5
http://thediameter.blogspot.com 1st Aug 2009
What is Diameter?
6
http://thediameter.blogspot.com 1st Aug 2009
Diameter Protocol Architecture
CMS
Diameter Base Protocol
Security
7
http://thediameter.blogspot.com 1st Aug 2009
Differences between RADIUS & Diameter
8
http://thediameter.blogspot.com 1st Aug 2009
Differences between RADIUS & Diameter
(Contd.)
9
http://thediameter.blogspot.com 1st Aug 2009
Functional Nodes
10
http://thediameter.blogspot.com 1st Aug 2009
Diameter Nodes
Diameter Client
Diameter Server
Diameter Proxy/Relay Agent
Diameter Redirect Agent
Diameter Translation Agent
11
http://thediameter.blogspot.com 1st Aug 2009
Proxy/Relay Agent
1. Request
Diameter
Diameter Proxy/Relay
4. Response
Client Agent
3. Response 2. Request
Diameter
Server
12
http://thediameter.blogspot.com 1st Aug 2009
Redirect Agent
1. Request 2. Request
5. Response 4. Request
Diameter
Server
13
http://thediameter.blogspot.com 1st Aug 2009
Translation Agent
• Translation Agent converts RADIUS messages to Diameter format and vice versa
• Provides an upgrade path & seamless migration for RADIUS based network
systems
14
http://thediameter.blogspot.com 1st Aug 2009
Key Features
15
http://thediameter.blogspot.com 1st Aug 2009
Diameter Features
Peer Detection
Capabilities Exchange
Failover/Fallback Procedures
Accounting
16
http://thediameter.blogspot.com 1st Aug 2009
Messages
17
http://thediameter.blogspot.com 1st Aug 2009
Diameter Message Format
Application Identifier
Data
18
http://thediameter.blogspot.com 1st Aug 2009
Diameter Messages – Supported by BASE
Protocol
19
http://thediameter.blogspot.com 1st Aug 2009
Connection Setup & Tear Down
20
http://thediameter.blogspot.com 1st Aug 2009
Subscriber Session – With Accounting
Session LOGIN
AA-Request
AA-Response
Accounting-Request
Accounting-Response Diameter
Diameter
Client Server
Session LOGOUT
Accounting-Request
Accounting-Response
21
http://thediameter.blogspot.com 1st Aug 2009
Subscriber Session – Without Accounting (Stateful)
Session LOGIN
AA-Request
AA-Response
Diameter Diameter
Client Server
Session LOGOUT
Session-Terminate-Request
Session-Terminate-Response
22
http://thediameter.blogspot.com 1st Aug 2009
Subscriber Session – Without Accounting (Stateless)
Session LOGIN
AA-Request
(No Session State Maintained)
Diameter Diameter
Client Server
AA-Response
23
http://thediameter.blogspot.com 1st Aug 2009
Subscriber Session Termination –
Client Initiated
Session-Terminate-Request
Diameter Diameter
Client Session-Terminate-Response Server
24
http://thediameter.blogspot.com 1st Aug 2009
Subscriber Session Termination –
Server Initiated
25
http://thediameter.blogspot.com 1st Aug 2009
Diameter - Summary
26
http://thediameter.blogspot.com 1st Aug 2009
References
http://ing.ctit.utwente.nl/WU5/D5.1/Technology/diameter/
Introduction to Diameter
http://docs.hp.com/en/T1428-90011/T1428-90011.pdf
http://www-128.ibm.com/developerworks/library/wi-diameter/index.html
27
http://thediameter.blogspot.com 1st Aug 2009
Thank You!
28
http://thediameter.blogspot.com 1st Aug 2009