Related Documentation
- MX Series
- Understanding JSRC-SAE Interactions
- Understanding PTSP-SAE Interactions
- Understanding Gx-Plus–PCRF Interactions
- Diameter Base Protocol Overview
- Juniper Networks Session and Resource Control (SRC) and JSRC Overview
- Juniper Networks Session and Resource Control (SRC) and PTSP Overview
- Gx-Plus for Provisioning Subscribers Overview
Diameter AVPs and Diameter Applications
Diameter conveys information by including various attribute-value pairs (AVPs) in Diameter messages. Table 1 lists the standard Diameter AVPs used in interactions with the supported Diameter applications. Diameter reserves AVP code numbers 0 through 255 for RADIUS functions that are implemented in Diameter.
Table 1: Standard Diameter AVPs
Attribute Number | Diameter AVP | Application | Description | Type |
|---|---|---|---|---|
1 | User-Name | JSRC | 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 |
8 | Framed-IP-Address | Gx-Plus | Identifies the IPv4 address configured for the subscriber. This is the same value as for RADIUS Framed-IP-Address attribute [8]. | OctetString |
55 | Event-Timestamp | Gx-Plus | Specifies the time of the event that triggered the message in which this AVP is included. Time is indicated in seconds since January 1, 1900, 00:00 UTC. | Time |
85 | Acct-Interim-Interval | JSRC, PTSP | Number of seconds between each interim accounting update for this session. The router uses the following guidelines for interim accounting:
| Unsigned32 |
87 | NAS-Port-Id | Gx-Plus | Identifies the port of the NAS that authenticates the user. This is the same value as for RADIUS NAS-Port-Id attribute [87]. | UTF8String |
263 | Session-ID | Gx-Plus, PTSP | Specifies the subscriber session identifier. The application assigns the value to uniquely identify a subscriber session. | UTF8String |
268 | Result-Code | Gx-Plus, JSRC, PTSP | 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 and PTSP support the following values; all non-success values are treated as permanent failures:
Gx-Plus supports the following values for errors in a PCRF response; when these values are received or the response is malformed or unrecognizable, the request is retried.
| Unsigned32 |
277 | Auth-Session-State | JSRC, PTSP | Indicates whether AAA session state is maintained.
| Enumerated |
295 | Termination-Cause | JSRC, PTSP | Indicates the reason why a session was terminated on the access device.
| Enumerated |
415 | CC-Request-Number | Gx-Plus | Identifies a request within a session. The combination of Session-Id and CC-Request-Type is globally unique. The number is incremented for each request during the course of a session. The number is reset when a router high availability event takes place. | Unsigned32 |
416 | CC-Request-Type | Gx-Plus | Specifies the type of credit control request: INITIAL_REQUEST (1) or TERMINATION_REQUEST (3) . | Enumerated |
480 | Accounting-Record-Type | JSRC, PTSP | Specifies the type of account record for service accounting:
| 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 by the supported Diameter applications.
Table 2: Juniper Networks Diameter AVPs
Attribute Number | Diameter AVP | Application | Description | Type |
|---|---|---|---|---|
2004 | Juniper-Service-Bundle | JSRC | Specifies the name of the service bundle. | OctetString |
2010 | Juniper-DHCP-Options | JSRC | Specifies the client’s DHCP options. | OctetString |
2011 | Juniper-DHCP-GI-Address | JSRC | Specifies the DHCP relay agent’s IP address. | OctetString |
2020 | Juniper-Policy-Install | JSRC, PTSP | Specifies policies to be activated for the subscriber. Includes Juniper-Policy-Name and Juniper-Policy-Definition | Grouped |
2021 | Juniper-Policy-Name | JSRC, PTSP | Defines the name of a policy decision. | OctetString |
2022 | Juniper-Policy-Definition | JSRC, PTSP | Defines a policy decision. Includes Juniper-Policy-Name, Juniper-Template-Name, and Juniper-Substitution. | Grouped |
2023 | Juniper-Template-Name | JSRC, PTSP | Profile name defined by the router. PTSP supports only the __svc_rule__ policy template. | UTF8String |
2024 | Juniper-Substitution | JSRC, PTSP | Defines the substitution attributes. Includes Juniper-Substitution-Name and Juniper-Substitution-Value. | OctetString |
2025 | Juniper-Substitution-Name | JSRC, PTSP | Defines the name of the variable to be replaced. | OctetString |
2026 | Juniper-Substitution-Value | JSRC, PTSP | Defines the value of the variable to be replaced. | OctetString |
2027 | Juniper-Policy-Remove | JSRC, PTSP | Specifies policies to be deactivated for the subscriber. Includes Juniper-Policy-Name. | Grouped |
2035 | Juniper-Policy-Failed | JSRC, PTSP | Specifies the name of the policy activation or deactivation that failed. | OctetString |
2038 | Juniper-Policy-Success | JSRC, PTSP | Specifies the name of the policy activation or deactivation that succeeded. | OctetString |
2046 | Juniper-Logical-System | JSRC, PTSP | Specifies the logical system. | UTF8String |
2047 | Juniper-Routing-Instance | JSRC, PTSP | Specifies the routing instance. | UTF8String |
2048 | Juniper-Jsrc-Partition | JSRC, PTSP | 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 | JSRC, PTSP | Describes the type of request:
| Enumerated |
2051 | Juniper-Synchronization-Type | JSRC, PTSP | Describes the type of synchronization:
| Enumerated |
2052 | Juniper-Synchronization | JSRC, PTSP | Describes the state of synchronization:
| Enumerated |
2053 | Juniper-Acct-Record | JSRC, PTSP | Statistics data for each policy installed for this subscriber. Includes Juniper-Policy-Name. | Grouped |
2054 | Juniper-Acct-Collect | JSRC, PTSP | Specifies whether to collect accounting data for the installed policy (service) when included in the Juniper-Policy-Install AVP:
| Enumerated |
2100 | Juniper-Virtual-Router | Gx-Plus | Specifies the name of the virtual router associated with the session. | UTF8String |
2101 | Juniper-Provisioning-Source | Gx-Plus | Specifies the provisioning source for the session in CCR-N and JSDA messages:
| Enumerated |
2102 | Juniper-Provisioning-Descriptor | Gx-Plus | Defines the group used in JSDA messages that includes the session ID, and optionally Juniper-Provisioning-Source and subscriber data. | Grouped |
2103 | Juniper-Event-Type | Gx-Plus | Communicates the event type in JSER messages:
| Enumerated |
2104 | Juniper-Discovery-Descriptor | Gx-Plus | Defines the group used in JSDR and JSDA messages that includes parameters of a discovery request: discovery type, request string, verbosity, max results. | Grouped |
2105 | Juniper-Discovery-Type | Gx-Plus | Specifies the discovery subcommand for JSDR and JSDA messages:
| Enumerated |
2106 | Juniper-Verbosity-Level | Gx-Plus | Specifies the verbosity level for JSDR and JSDA messages:
| Enumerated |
2107 | Juniper-String-A | Gx-Plus | Specifies a generic string that is interpreted according to the context. | UTF8String |
2108 | Juniper-String-B | Gx-Plus | Specifies a generic string that is interpreted according to the context. | UTF8String |
2109 | Juniper-String-C | Gx-Plus | Specifies a generic string that is interpreted according to the context. | UTF8String |
2110 | Juniper-Unsigned32-A | Gx-Plus | Specifies a generic, unsigned 32-bit integer that is interpreted according to the context. | Unsigned32 |
2111 | Juniper-Unsigned32-B | Gx-Plus | Specifies a generic, unsigned 32-bit integer that is interpreted according to the context. | Unsigned32 |
2112 | Juniper-Unsigned32-C | Gx-Plus | Specifies a generic, unsigned 32-bit integer that is interpreted according to the context. | Unsigned32 |
Related Documentation
- MX Series
- Understanding JSRC-SAE Interactions
- Understanding PTSP-SAE Interactions
- Understanding Gx-Plus–PCRF Interactions
- Diameter Base Protocol Overview
- Juniper Networks Session and Resource Control (SRC) and JSRC Overview
- Juniper Networks Session and Resource Control (SRC) and PTSP Overview
- Gx-Plus for Provisioning Subscribers Overview