[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Understanding Diameter AVPs

Diameter conveys information by including various attribute-value pairs (AVPs) in Diameter messages. Table 25 lists the standard Diameter AVPs used in JSRC interactions.

Table 25: 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:

  • 1xxx—Informational
  • 2xxx—Success
  • 3xxx—Protocol errors
  • 4xxx—Transient errors
  • 5xxx—Permanent failures

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

  • 2001—DIAMETER_SUCCESS
  • 5002—DIAMETER_UNKNOWN_SESSION_ID
  • 5012—DIAMETER_UNABLE_TO_COMPLY

Unsigned32

277

Auth-Session-State

Indicates whether AAA session state is maintained.

  • 0—STATE_MAINTAINED
  • 1—NO_STATE_MAINTAINED

Enumerated

295

Termination-Cause

Indicates the reason why a session was terminated on the access device.

  • 1—DIAMETER_LOGOUT
  • 2—DIAMETER_SERVICE_NOT_PROVIDED
  • 3—DIAMETER_BAD_ANSWER
  • 4—DIAMETER_ADMINISTRATIVE
  • 5—DIAMETER_LINK_BROKEN
  • 6—DIAMETER_AUTH_EXPIRED
  • 7— DIAMETER_USER_MOVED
  • 8—DIAMETER_SESSION_TIMEOUT

Enumerated

Juniper Networks AVPs are used in addition to the standard Diameter AVPs. These AVPs have an enterprise number of 2636. Table 26 lists the Juniper Networks AVPs used in JSRC interactions.

Table 26: 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:

  • 1—ADDRESS_AUTHORIZATION
  • 2—PROVISIONING_REQUEST
  • 3—SYNCHRONIZATION

Enumerated

2051

Juniper-Synchronization-Type

Describes the type of synchronization:

  • 1—FULL-SYNC
  • 2—FAST-SYNC
  • 3—NO-STATE-TO-SYNC

Enumerated

2052

Juniper-Synchronization

Describes the state of synchronization:

  • 1—NO-SYNC; this is the default state
  • 2—SYNC-IN-PROGRESS
  • 3—SYNC-COMPLETE

Enumerated

Related Topics


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]