Diameter Signaling Analysis ISSUE1.00

download Diameter Signaling Analysis ISSUE1.00

of 63

Transcript of Diameter Signaling Analysis ISSUE1.00

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    1/63

    www.huawei.com

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    USN9810 Diameter

    Signaling Analysis

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    2/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. age2

    Contents

    1. Basic Concepts

    2. Message Procedre Description

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    3/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    !iameter "ignaling #verview

    $$%$$%

    H""H""

    "&a"&a

    "'"("'"("&d"&d

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    4/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. age)

    *ormat o+ the !iameter $essage Header -

    !ersion/ t indicates the !iameter protocol version. The 1ersion +ield must e set to - to indicate

    !iameter version -.

    Message "engt#/ t indicates the length o+ the !iameter message including the !iameter

    message header.

    Command $lags/ The Command *lags +ield is eight its. The +ollowing its are used and the

    other its are reserved/

    3/ The 3 it is 4nown as the 3e5uest it. + this it is set to -, the message is a re5uest.

    / The it is 4nown as the ro6iale it. + this it is set to -, the message may e pro6ied,relayed, or redirected. + this it is set to 0, the message must e locally processed.

    %/ The % it is 4nown as the %rror it. + this it is set to -, the message contains a protocol

    error. This it cannot e set to - in re5uest messages.

    T/ The T it is 4nown as the otentially retransmitted message it. + this it is set to -, the

    message is a retransmitted message.

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    5/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    *ormat o+ the !iameter "ignaling Header 2 Command%Code/ t indicates the command code o+ the !iameter message to speci+y the

    message type. Command7Code values 06*****% and 06****** are reserved +or e6perimental

    use.

    Application%&D/ t indicates the application !. This +ield is used to identi+y the application to which

    the message is applicale. Currently, the 8"(9-0 supports "&a:"&d inter+ace applications, and

    the application ! is -&;;;2

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    6/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    *ormat o+ the !iameter "ignaling Header =

    age&

    !iameter protocol version. Currently, the

    version must e -.

    !iameter signalingcommand code Application type o+ the

    !iameter messageHop7y7hop identi+ier

    %nd7to7end identi+ier o+ the

    message

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    7/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    A1 Header *ormat

    A!P Code/ t indicates the A1 type. 1alues 0 to 2

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    8/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    ntroduction to >asic A1s

    +rigin%'ost A!P/ The #rigin7Host A1 is o+ the !iameterdentity

    type and identi+ies the !iameter endpoint that originates a

    !iameter message. This A1 must e present in all !iameter

    messages. !iameter relay agents cannot modi+y this A1 during

    !iameter message +orwarding.

    +rigin%,ealm A!P/ The #rigin73ealm A1 is o+ the

    !iameterdentity type and contains the realm o+ the originator o+

    a !iameter message. This A1 must e present in all !iametermessages.

    age

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    9/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    !iameter "ignaling Classi+ication

    $essage Type !escription!iameter ?atchdog 3e5uest:3esponse They are !iameter lin4 detection messages used to proactively detect lin4

    status.

    Capailities %6change 3e5uest :3esponse They are used to e6change the in+ormation aout applications and

    identities o+ !iameter entities etween !iameter nodes.

    8pdate Location 3e5uest:3esponse They are location update messages. !uring the attach and handover

    procedures o+ a user e5uipment 8%, the $$%:"'"( instructs the H""

    to update the current location in+ormation aout the 8% and otains

    suscription data +rom the H"".

    Cancel Location 3e5uest:3esponse They are location cancellation messages. !uring a handover, the H""

    instructs the original $$%:"'"( to delete the stored 8% suscription

    data.

    nsert "uscrier !ata 3e5uest:3esponse The H"" delivers or updates suscription data to the $$%:"'"(.

    !elete "uscrier !ata 3e5uest:3esponse The H"" instructs the $$%:"'"( to delete suscription data.

    urge 8% The $$%:"'"( in+orms the H"" that the suscription data o+ the 8% is

    deleted +rom the $$%:"'"(.

    Authentication n+ormation 3etrieval The $$%:"'"( re5uests the suscription data o+ the 8% +rom the H"".

    3eset A+ter a reset, the H"" in+orms the $$%:"'"( o+ the reset.

    (oti+ication The $$%:"'"( in+orms the H"" o+ related in+ormation.

    !iameter messages are typically used +or the communication etween the

    $$%:"'"( and the H"". The message types are as +ollows/

    age 9

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    10/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    !iameter (ode (etwor4ing !iameter nodes are as +ollows/

    !iameter client/ proactively originates connection estalishment re5uests.

    !iameter server/ handles authentication, authori@ation, and accounting

    re5uests +or a particular realm.

    !iameter agent/ provides relay, pro6y, redirection and translation services

    o+ !iameter signaling on the !iameter networ4. The +our types o+ !iameter

    agents are as +ollows/

    3elay Agent

    ro6y Agent

    3edirect Agent

    Transaction Agent

    age-0

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    11/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    !iameter 3outing rocedure

    age--

    H""

    $$%

    !3A- !3A2 !3A=

    H""

    $$%

    #perator- #perator2

    (ote/ n the +igure, !3As are !iameter agents. 'enerally, !3A- and

    !3A= are pro6y agents or redirect agents.

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    12/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. age-2

    Contents

    1. Basic Concepts

    2. Message Procedre Description

    B "in- Detection

    B Capa(ility Negotiation

    B "ocation Update

    B "ocation Cancellation

    B At#entication Set AcisitionB S(scription Data &nsertion

    B S(scription Data Deletion

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    13/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    !iameter Lin4 !etection -

    !evice ?atchdog 3e5uest:Answer

    !iameter lin4 detection etween devices is implemented y means o+ e6changing !evice

    ?atchdog 3e5uest and !evice ?atchdog Answer messages. !iameter lin4 detection is

    originated y the !iameter client.

    The lin4 detection interval is controlled y the !iameter component. Currently, the interval

    is -0 seconds. The 4ey A1s in the !evice ?atchdog 3e5uest !?3 messages are as +ollows/

    #rigin7Host/ t indicates the host name o+ the originator.

    #rigin73ealm/ t indicates the realm name o+ the originator.

    age-=

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    14/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. age-)

    Analysis o+ the !evice ?atchdog 3e5uest $essage

    !iameter host name o+

    the originator

    !iameter realm name

    o+ the originator

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    15/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    !iameter Lin4 !etection 2

    The 4ey A1s in the !evice ?atchdog Answer message are as +ollows/

    3esult7Code/ t is carried in an answer message and indicates whether a particular

    re5uest is completed success+ully or an error occurs. + the value is 200- diameter7

    success, it indicates that the re5uest is completed success+ully.

    #rigin7Host/ t indicates the host name o+ the originator.

    #rigin73ealm/ t indicates the realm name o+ the originator.

    age-3 in+ormation,

    including the suscried ma6imum

    re5uested andwidth in the uplin4

    and ma6imum re5uested

    andwidth in the downlin4

    age

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    55/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    "uscription !ata nsertion =

    The 4ey A1s in the nsert "uscrier !ata Answer !A message are as

    +ollows/ 3esult7Code/ t is carried in an answer message and indicates whether a particular re5uest is

    completed success+ully or an error occurs. + the value is 200- diameter7success, the re5uest is

    completed success+ully.

    3AT7Type/ t is conditional and indicates the 3AT type that the 8% uses in the last access.

    !A7*lags/ t is conditional and indicates the +lag in+ormation aout the !A message.

    %"78ser7"tate/ t is conditional and is contained only in the !3 message. t indicates the userstate.

    %"7Location7n+ormation/ t is conditional and is contained only in the !3 message. t indicates

    the user location in+ormation.

    Common values o+ the 3esult7Code A1 are as +ollows/

    !A$%T%3E%33#3E8"%3E8(K(#?(/ This result code indicates that the user identi+ied y

    the $" is un4nown, that is, the identi+ied 8% does not attach to the $$%:"'"(.

    !A$%T%3E8(A>L%ET#EC#$L/ This result code indicates that the $$%:"'"( cannot

    respond to the re5uest +rom the H"" due to +ailures in the $$%:"'"(, such as dataase

    +ailures.

    age

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    56/63

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    57/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. age

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    58/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    "uscription !ata !eletion -

    !elete "uscrier !ata 3e5uest:Answer/

    The H"" uses this procedure to delete partial 8% suscription data stored on the $$%:"'"(.

    The location cancellation procedure is used to delete all suscription data o+ a 8% stored on the

    $$%:"'"(, whereas this procedure is used to delete partial suscription data o+ a 8% stored onthe $$%:"'"(.

    rocedure triggering/

    This procedure is triggered when some suscription data o+ a user is deleted +rom the H"".

    age

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    59/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    "uscription !ata !eletion 2

    The 4ey A1s in the !elete "uscrier !ata 3e5uest !"3 message are as

    +ollows/

    8ser7(ame/ t is mandatory and indicates the $" o+ the user.

    !"A7*lags/ t is mandatory and indicates the +lag in+ormation aout the !"3 message.

    Conte6t7denti+ier/ t is conditional and indicates ! o+ the !( suscription conte6t or'3"7! conte6t that is to e deleted.

    age

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    60/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    8ser $"

    Analysis o+ the !elete "uscrier !ata 3e5uest $essage

    *lag in+ormation aout the !"3 message. Here,

    the A1 indicates that all %A A( con+iguration

    data is deleted +rom the suscription data.

    " i ti ! t ! l ti =

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    61/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    "uscription !ata !eletion =

    The 4ey A1s in the !elete "uscrier !ata Answer !"A message are as

    +ollows/ 3esult7Code/ t is carried in an answer message and indicates whether a particular

    re5uest is completed success+ully or an error occurs. + the value is 200- diameter7

    success, the re5uest is completed success+ully.

    !A7*lags/ t indicates the +lag in+ormation aout the !A message.

    Common values o+ the 3esult7Code A1 are as +ollows/

    !A$%T%3E%33#3E8"%3E8(K(#?(/ This result code indicates that the user

    identi+ied y the $" is un4nown, that is, the identi+ied 8% does not attach to the

    $$%:"'"(.

    !A$%T%3E8(A>L%ET#EC#$L/ This result code indicates that the $$%:"'"(cannot respond to the re5uest +rom the H"" due to +ailures in the $$%:"'"(.

    age&-

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    62/63

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    3esult code. Here, the

    result code indicates that

    an error occurs.

    Analysis o+ the !elete "uscrier !ata Answer $essage

  • 7/25/2019 Diameter Signaling Analysis ISSUE1.00

    63/63

    www.huawei.com

    5#an- yo