You are on page 1of 159

Nov 21, Fixed IMS, Diameter

Event Name: Nov 21, Fixed IMS, Diameter (KQL250912)


Subject Name:
Leader: Timea Takács (Timea Takács)
Presenters: Martin Franzén (Martin Franzén)
Start Time: 11/21/11 9:00 am
End Time: 11/21/11 1:00 pm
Table of Contents
Cover Page
Table of Contents
40_Diameter_Training Course_110318.pptx
Introduction to Diameter
Table Of Contents
What Are We Talking About Here?
The AAA Model
RADIUS (Remote Authentication Dial In User Service)
A Successor to RADIUS Is Needed!
Radius vs Diameter
What Diameter Can Do
Clients and Servers Exchange AVPs
Diameter Agents!
Diameter Agent: Relay
Diameter Agent: Proxy
Diameter Agent: Translation
Diameter Agent: Redirect
The Building Blocks of Diameter
Specification Structure
Base Specification
Diameter Transport Specification
Connections/Sessions
Diameter Peers
Diameter Sessions
Transaction State
Session State
The Lives of Diameter Sessions
Two Types of ”Services”
Starting a Diameter Session
Starting a Diameter Session
Authorization States, Stateful
Authorization States, ”Stateless”
Accounting States, Stateful
Accounting, ”Stateless”
Explicit Session Termination
Explicit Session Termination
The Protocol Format
Diameter Message Format
Diameter Message Format
Command-Codes
Diameter Message Format
Diameter Message Format
Application Identities #1
Application Identities #2
Application Identities #3
Diameter Message Format
Diameter Message Format
AVP Format
AVP Format
AVP Format
AVP Codes
AVP Format
Data Formats
How Do We Describe a Diameter Message?
An Example Diameter Command
Diameter Extensibility
Diameter Transport
Diameter Transport Specification
Diameter Transport Specification
SCTP – Stream Control Transmission Protocol
Association, Streams and Chunks
Diameter Base Protocol
Diameter Peers
Diameter Peer Discovery
Capability Exchange Request
CER in Wireshark
CEA in Wireshark
Capabilities-Exchange AVPs
Result Code Values
Application Watchdog
Device-Watchdog in Wireshark
Disconnect-Peer-Request and Answer
Disconnect-Peer in Wireshark
Remember This?
Re-Authorization-Request and Answer
Session-Termination-Request and Answer
Abort-Session-Request and Answer
Routing
Realms
Primary and Secondary Peers
Peer Tables
Security
Hop-by-Hop or End-to-end?
Hop-by-Hop or End-to-end?
A New Spec in Town – 3588bis
Diameter Applications
What is an Application?
The Accounting ”Application”
Built-in ”Application”: Accounting
Accounting Exchange Example
Accounting-Request and Answer
The NASREQ Application
Mandatory Applications: NASREQ
NASREQ Application
AA-Request
AA-Answer
The Mobile-IP Application
Mandatory Applications: DIAMMIP
AA-Mobile-Node-Request and Answer
Home-Agent-MIP-Request and Answer
Three Optional Applications
Diameter Credit Control Application
Credit-Control-Request
Credit-Control-Answer
Diameter Extensible Authentication Protocol (EAP)
Diameter SIP Application
Charging
Charging - Introduction
Off-line Charging example
Accounting-Request and Answer
Accounting in Wireshark
Accounting AVPs
Online Charging Example
Credit-Control-Request and Answer
Credit-Control Request in Wireshark
Credit-Control Answer in Wireshark
Credit-Control AVPs
Credit-Control AVPs
Policy and Charging Control
Policy and Charging Control
Rx Procedues
AA-Request and Answer
NAS AVPs
NAS AVPs
Re-Auth-Request and Answer
Session-Termination-Request and Answer
Abort-Session-Request and Answer
Gx Procedues
Gx: Credit-Control-Request and Answer
Gx: Re-Auth-Request and Answer R8
Rx – Gx Procedures
The SIP Application
3GPP Likes Diameter!
The Cx Interface – Registration
Cx procedures at Registration
User-Authorization-Request
Multimedia-Auth-Request and Answer
Server-Assignment-Request and Answer
The Cx Interface – Session Setup
Cx procedures at Session Setup
Location-Info-Request and Answer
Cx Administrative Procedures
Registration-Termination-Request and Answer
Push-Profile-Request and Answer
Subscriptions with Diameter
IMS – The Sh Interface
Sh Procedues
Subscribe-Notifications-Request
Diameter Subscribtion in Wireshark
Subscription AVPs
Push-Notification-Request
User-Data-Request
UDR in Wireshark
Profile-Update-Request
Profile Update AVPs
40_Diameter_Training Course_110318.pptx
Introduction to Diameter
Table Of Contents
What Are We Talking About Here?
The AAA Model
RADIUS (Remote Authentication Dial In User Service)
A Successor to RADIUS Is Needed!
Radius vs Diameter
What Diameter Can Do
Clients and Servers Exchange AVPs
Diameter Agents!
Diameter Agent: Relay
Diameter Agent: Proxy
Diameter Agent: Translation
Diameter Agent: Redirect
The Building Blocks of Diameter
Specification Structure
Base Specification
Diameter Transport Specification
Connections/Sessions
Diameter Peers
Diameter Sessions
Transaction State
Session State
The Lives of Diameter Sessions
Two Types of ”Services”
Starting a Diameter Session
Starting a Diameter Session
Authorization States, Stateful
Authorization States, ”Stateless”
Accounting States, Stateful
Accounting, ”Stateless”
Explicit Session Termination
Explicit Session Termination
The Protocol Format
Diameter Message Format
Diameter Message Format
Command-Codes
Diameter Message Format
Diameter Message Format
Application Identities #1
Application Identities #2
Application Identities #3
Diameter Message Format
Diameter Message Format
AVP Format
AVP Format
AVP Format
AVP Codes
AVP Format
Data Formats
How Do We Describe a Diameter Message?
An Example Diameter Command
Diameter Extensibility
Diameter Transport
Diameter Transport Specification
Diameter Transport Specification
SCTP – Stream Control Transmission Protocol
Association, Streams and Chunks
Diameter Base Protocol
Diameter Peers
Diameter Peer Discovery
Capability Exchange Request
CER in Wireshark
CEA in Wireshark
Capabilities-Exchange AVPs
Result Code Values
Application Watchdog
Device-Watchdog in Wireshark
Disconnect-Peer-Request and Answer
Disconnect-Peer in Wireshark
Remember This?
Re-Authorization-Request and Answer
Session-Termination-Request and Answer
Abort-Session-Request and Answer
Routing
Realms
Primary and Secondary Peers
Peer Tables
Security
Hop-by-Hop or End-to-end?
Hop-by-Hop or End-to-end?
A New Spec in Town – 3588bis
Diameter Applications
What is an Application?
The Accounting ”Application”
Built-in ”Application”: Accounting
Accounting Exchange Example
Accounting-Request and Answer
The NASREQ Application
Mandatory Applications: NASREQ
NASREQ Application
AA-Request
AA-Answer
The Mobile-IP Application
Mandatory Applications: DIAMMIP
AA-Mobile-Node-Request and Answer
Home-Agent-MIP-Request and Answer
Three Optional Applications
Diameter Credit Control Application
Credit-Control-Request
Credit-Control-Answer
Diameter Extensible Authentication Protocol (EAP)
Diameter SIP Application
Charging
Charging - Introduction
Off-line Charging example
Accounting-Request and Answer
Accounting in Wireshark
Accounting AVPs
Online Charging Example
Credit-Control-Request and Answer
Credit-Control Request in Wireshark
Credit-Control Answer in Wireshark
Credit-Control AVPs
Credit-Control AVPs
Policy and Charging Control
Policy and Charging Control
Rx Procedues
AA-Request and Answer
NAS AVPs
NAS AVPs
Re-Auth-Request and Answer
Session-Termination-Request and Answer
Abort-Session-Request and Answer
Gx Procedues
Gx: Credit-Control-Request and Answer
Gx: Re-Auth-Request and Answer R8
Rx – Gx Procedures
The SIP Application
3GPP Likes Diameter!
The Cx Interface – Registration
Cx procedures at Registration
User-Authorization-Request
Multimedia-Auth-Request and Answer
Server-Assignment-Request and Answer
The Cx Interface – Session Setup
Cx procedures at Session Setup
Location-Info-Request and Answer
Cx Administrative Procedures
Registration-Termination-Request and Answer
Push-Profile-Request and Answer
Subscriptions with Diameter
IMS – The Sh Interface
Sh Procedues
Subscribe-Notifications-Request
Diameter Subscribtion in Wireshark
Subscription AVPs
Push-Notification-Request
User-Data-Request
UDR in Wireshark
Profile-Update-Request
Profile Update AVPs

You might also like