Go to primary content
User Data Repository Diameter User's Guide
Release 12.4
E92984-01
Go To Table Of Contents
Contents

Previous
Previous
Next
Next

User Configurable Message Priority

Note:

User Configurable Message Priority is not supported for RADIUS.
User Configurable Message Priority provides the following functions to set the Priority of messages that are handled and to use that Priority to as input into decisions for load shedding, message throttling, and egress Connection selection:
  • A method to assign Message Priorities to incoming Diameter Requests.

    The Priorities assigned are based on the combination of Application-ID and Command-Code, and the Connection upon which the Request arrives. A combination of Application-ID, Command-Code, and associated Priority is called a Message Priority Rule.

  • Association of a Message Priority Configuration Set with a Connection.
  • Association of a Message Priority Configuration Set with a Peer Node.
  • Definition of a Message Priority in a Peer Routing Rule.
  • A method for Request messages arriving that are to be marked with a Message Priority.
  • A method for the Message Priority determined by the first diameter signaling router to handle a Request to be communicated to any other diameter signaling router that also handles the Request.

    Message Priority is determined based in part on the Connection on which the Request arrives at the first diameter signaling router to handle the Request. A second diameter signaling router to handle the Request is not able to establish the Priority based on the original ingress Connection.

  • A method for exception routing and load shedding that allows the Remote BUSY Congestion feature to use the Message Priority when determining which messages are exception-routed or shed.
  • A method for exception routing and load shedding that allows the Egress Transport Congestion feature to use the Message Priority when determining which messages are exception-routed or shed.
  • A method for the message throttling that allows the Per Connection Egress Message Throttling feature to use the Message Priority when determining which message are exception routed or shed.

Request messages can be assigned a Message Priority value of 0, 1, or 2 (lowest to highest Priority).

Answer messages are always assigned a Message Priority value of 3 (the highest Priority).

Messages that are given a higher Priority have a lower probability of being dropped as part of shedding or throttling logic, but having a higher Priority does not imply that the message is routed before a message with a lower Priority. Having a higher Priority does not guarantee that a messages is never dropped as a result of shedding of messages due to congestion or resource exhaustion. The arrival pattern of the Requests has an impact on which messages are shed.

Message Priority can be assigned to ingress messages upon entrance based on the following:
  • The Connection on which a message arrives
  • The Peer Node from which a message is sent
  • A Peer Routing Rule

A configured Message Priority Configuration Set can be assigned to a Connection or to a Peer Node

A Message Priority Configuration Set is configured with one or more Message Priority Rules that specify Application IDs, Command Codes, and the Message Priority that is assigned to Request messages that enter on a Connection that has been assigned the Message Priority Configuration Set.

Message Priority is assigned to ingress Request messages based on message content using the strongest matching entry in the Configuration Set:

In a network where Diameter messages traverse multiple diameter routes, Request Message Priority might need to be assigned on one diameter signaling router and used by any and all diameter signaling routers in the routing path.

Diameter embeds Priority in all Requests that it handles. The method used for embedding Priority in egress Requests is transparent to non-Diameter nodes.

Egress Request routing and Answer forwarding use Message Priority and Connection Congestion Level in its Connection selection criteria to avoid sending Priority x messages to Connections currently at Congestion-Level x+1.

Diameter Configuration for User Configurable Message Priority

The User Configurable Message Priority feature provides the ability to define Message Priority Configuration Sets (MPCS). Each MPCS contains the following information:
  • MPCS Name - The Name is used when associating the Configuration Set with a Connection or Peer Node
  • Message Priority Rules - Sets of Application-ID, Command-Code, and Priority
    • Application-ID - The Diameter Application-ID. The Application-ID can be an asterisk (*) indicating that all Application-IDs match this Message Priority Rule
    • Command-Code - The Diameter Command-Code. The Command-Code can be an asterisk (*) indicating that all Command-Codes within the specified application match this Message Priority Rule

      If multiple Command-Codes with the same Application-ID are to get the same Message Priority, then there must be a separate Message Priority Rule combination for each Command-Code.

    • Priority - The Priority applied to all Request messages that match the Application-ID and Command-Code combination

The Application ID and Command Code must be configured in Diameter Configuration before they can be used to configure a Message Priority Rule.

A Default Message Priority Configuration Set is provided that contains one Message Priority Rule; the Message Priority Rule is set to accept all Application IDs and all Command Codes (values are *) and has Message Priority set to 0 . The Default Message Priority Configuration Set can be assigned and used if no other Message Priority Configuration Set is assigned to the Connection or the Peer Node (it can be edited if needed).

A total of 20 Message Priority Configuration Sets can be configured per NE. Each Message Priority Configuration Set supports up to 50 Message Priority Rules.

A Connection or Peer can be configured with either a MPCS or to get Message Priority from the ingress Request. If it is configured to get Message Priority from the ingress Request, then it is not possible to configure a MPCS for the Connection or Peer.

In Peer Routing Rules, Message Priority valid values are No Change, 0, 1 and 2. 0 is the lowest priority. The Message Priority value is applied to the message only when the Peer Routing Rule Action value is set to Route to Peer.

The following Message Priority treatment configuration options can be selected:
  • None (default)
  • Apply a MPCS (by selecting from a list of configured MPCSs)
  • Read from message - Used to indicate that the Priority should be taken from the ingress message. This is used for router-to- router Connections as a way of conveying Message Priority

    This option does not apply to Peer Routing Rules, which have the options None (default) and Apply an MPCS.

Table 14-4 indicates which method is used. If the Request does not match a rule in the selected Message Priority Configuration Set, then the Request is assigned a Priority value of zero (0).

Table 14-4 Message Priority Treatment Methods

Message Priority Configuration Set Connection Setting Message Priority Configuration Set Peer Node (for Connection) Setting How Priority is Set for Ingress Requests on Connection
Not Set Not Set Use NE
Not Set MPCS X Use MPCS X to assign Priority to Ingress Requests
Not Set Get Priority from Ingress Requests Extract Priority from Ingress Requests
MPCS Y (Don't Care) Use MPCS Y to assign Priority to Ingress Requests
Get Priority from Ingress Requests (Don't Care) Extract Priority from Ingress Requests