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 Name | Abbrev. | Code | Section Reference |
|---|---|---|---|
| Abort-Session-Request | ASR | 274 | 8.5.1 |
| Abort-Session-Answer | ASA | 274 | 8.5.2 |
| Accounting-Request | ACR | 271 | 9.7.1 |
| Accounting-Answer | ACA | 271 | 9.7.2 |
| Capabilities-Exchange-Request | CER | 257 | 5.3.1 |
| Capabilities-Exchange-Answer | CEA | 257 | 5.3.2 |
| Device-Watchdog-Request | DWR | 280 | 5.5.1 |
| Device-Watchdog-Answer | DWA | 280 | 5.5.2 |
| Disconnect-Peer-Request | DPR | 282 | 5.4.1 |
| Disconnect-Peer-Answer | DPA | 282 | 5.4.2 |
| Re-Auth-Request | RAR | 258 | 8.3.1 |
| Re-Auth-Answer | RAA | 258 | 8.3.2 |
| Session-Termination-Request | STR | 275 | 8.4.1 |
| Session-Termination-Answer | STA | 275 | 8.4.2 |