Diameter Address Format

DiameterIdentity

Every diameter address (Diameter Node Address) should follow the DiameterIdentity format. DiameterIdentity is used to uniquely identify a Diameter Node.DiameteIdentity has following format

DiameterIdentity=FQDN (DiameterURI)

DiameterURI MUST follow the URI syntax given below

aaa://FQDN [Port][Transport][Protocol]  //No Transport security
              or
aaas://FQDN [Port][Transport][Protocol]  //Transport security used

FQDN
= Fully Qualified Host Name
Port = :<1*digit>
Port Number of the port use for listen the incoming connection if Absent the default Diameter port 3868 is assumed.
Transport= ;transport=
Name of the transport used to listen. if Absent then default SCTP is assumed. we shall not mention the UDP when Protocol field is set to diameter.
Protocol = ;protocol=
If absent then by default diameter is assumed.

Example of Valid diameter host identities

1) aaa://host.example.com
 
on default port (3868), default transport(SCTP) and default protocol(diameter)

2)aaa://host.example.com:6666;transport=tcp;protocol=diameter
 Port=6666, Transport=tcp , Protocol=diameter

3)aaa://host.example.com:1813;transport=udp;protocol=radius



Your Comments/Suggestions and Questions are always welcome. We would try to clarify doubts with best of our knowledge. So feel free to put Questions.

4 comments:

  1. Thanks for this Blog.It is very useful.
    Could you please explain the peer state machine, especially what is this I (initiator connection ) and R (responder connection) means.Thanks in advance.

    ReplyDelete
    Replies
    1. Please visit following link

      Diameter Sessions and Session States
      http://diameter-protocol.blogspot.in/2011/06/diameter-sessions-and-session-states.html

      This will might help you


      Thanks for your query.
      Happy to help you again.
      Team-Diameter

      Delete
  2. what is the difference between DiameterIdentity and DiameterURI ?

    ReplyDelete
    Replies
    1. Hi Naseem Rahman

      Difference is in the context where both are used.

      Diameter URI -- is used to uniquely identify a node as an abstract or physical resource

      Diameter Identity -- is used to identify a node in a realm, to protect loop detection during routing of a message to next peer.

      We hope above explanation shall help you.

      Thanks for your query.
      Happy to help you again.
      Team-Diameter

      Delete