Understanding Diameter AVPs
Diameter conveys information by including various attribute-value pairs (AVPs) in Diameter messages. Table 1 lists the standard Diameter AVPs used in JSRC interactions.
Table 1: Standard Diameter AVPs
Code Number | Diameter AVP | Description | Type |
|---|---|---|---|
1 | User-Name | Specifies the username. For a subscriber managed by AAA, the value is the subscriber’s login name. For a static interface, the value is the interface name, which is used as the subscriber’s login name. | UTF8String |
268 | Result-Code | Indicates whether a request completed successfully. Provides an error code if the request failed. The following classes are recognized by Diameter:
Unrecognized classes, which begin with numerals 6–9 or 0, are handled as permanent failures. JSRC supports the following values; all non-success values are treated as permanent failures: 1001—DIAMETER_MULTI_ROUND_AUTH
| Unsigned32 |
277 | Auth-Session-State | Indicates whether AAA session state is maintained.
| Enumerated |
295 | Termination-Cause | Indicates the reason why a session was terminated on the access device.
| Enumerated |
Juniper Networks AVPs are used in addition to the standard Diameter AVPs. These AVPs have an enterprise number of 2636. Table 2 lists the Juniper Networks AVPs used in JSRC interactions.
Table 2: Juniper Networks Diameter AVPs
Code Number | Diameter AVP | Description | Type |
|---|---|---|---|
2010 | Juniper-DHCP-Options | Specifies the client’s DHCP options. | OctetString |
2011 | Juniper-DHCP-GI-Address | Specifies the DHCP relay agent’s IP address. | OctetString |
2020 | Juniper-Policy-Install | Specifies policies to be activated for the subscriber. Includes Juniper-Policy-Name and Juniper-Policy-Definition | Grouped |
2021 | Juniper-Policy-Name | Defines the name of a policy decision. | OctetString |
2022 | Juniper-Policy-Definition | Defines a policy decision. Includes Juniper-Policy-Name, Juniper-Template-Name, and Juniper-Substitution. | Grouped |
2023 | Juniper-Template-Name | Profile name defined by the router. | UTF8String |
2024 | Juniper-Substitution | Defines the substitution attributes. Includes Juniper-Substitution-Name and Juniper-Substitution-Value. | OctetString |
2025 | Juniper-Substitution-Name | Defines the name of the variable to be replaced. | OctetString |
2026 | Juniper-Substitution-Value | Defines the value of the variable to be replaced. | OctetString |
2027 | Juniper-Policy-Remove | Specifies policies to be deactivated for the subscriber. Includes Juniper-Policy-Name. | Grouped |
2035 | Juniper-Policy-Failed | Specifies the name of the policy activation or deactivation that failed. | OctetString |
2038 | Juniper-Policy-Success | Specifies the name of the policy activation or deactivation that succeeded. | OctetString |
2046 | Juniper-Logical-System | Specifies the logical system. | UTF8String |
2047 | Juniper-Routing-Instance | Specifies the routing instance. | UTF8String |
2048 | Juniper-Jsrc-Partition | Specifies the logical system and routing instance for the subscriber or request. Includes Juniper-Logical-System and Juniper-Routing-Instance | Grouped |
2050 | Juniper-Request-Type | Describes the type of request:
| Enumerated |
2051 | Juniper-Synchronization-Type | Describes the type of synchronization:
| Enumerated |
2052 | Juniper-Synchronization | Describes the state of synchronization:
| Enumerated |
