Skip to main content

3.1. Command Codes

3.1. Command Codes

Each command Request/Answer pair is assigned a Command Code, and the sub-type (i.e., request or answer) is identified via the 'R' bit in the Command Flags field of the Diameter header.

Every Diameter message MUST contain a Command Code in its header's Command Code field, which is used to determine the action that is to be taken for a particular message. The following Command Codes are defined in the Diameter base protocol:

Command NameAbbrev.CodeSection Reference
Abort-Session-RequestASR2748.5.1
Abort-Session-AnswerASA2748.5.2
Accounting-RequestACR2719.7.1
Accounting-AnswerACA2719.7.2
Capabilities-Exchange-RequestCER2575.3.1
Capabilities-Exchange-AnswerCEA2575.3.2
Device-Watchdog-RequestDWR2805.5.1
Device-Watchdog-AnswerDWA2805.5.2
Disconnect-Peer-RequestDPR2825.4.1
Disconnect-Peer-AnswerDPA2825.4.2
Re-Auth-RequestRAR2588.3.1
Re-Auth-AnswerRAA2588.3.2
Session-Termination-RequestSTR2758.4.1
Session-Termination-AnswerSTA2758.4.2