Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Mobile AAA Server A.01.00 Administrator's Guide: HP-UX 11.00 and 11i version 1 > Chapter 10 Attribute-Value Pairs

Attributes in Accounting Records

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The following attributes may appear in an accounting record. This section does not cover all Diameter attributes that may appear in a record. It does include all the accounting attributes, as well other attributes most likely to appear in an accounting record. The time the accounting message was received and the End-to-End Identifier precede the A-V pairs in the record.

Session Information

These attributes provide information about the session corresponding to the record.

Session-ID

Identifies a specific session. The value begins with the sender’s identity encoded in the  DiameterIdentity type: "aaa://fqdn:Port;transport={tcp|sctp|udp};protocol={diameter|radius|tacacs+}; transport-security={none|tls}. The DiameterIdentity type will be followed by decimal representations of the high and low 32-bits of a unique 64-bit number. The agent may append additional vendor-specific information to Session-Id.

For example, a Session-ID with no optional values:

aaa://hey.you.com:1979;1876543210;523 

The Diameter device initiating the session creates the Session-Id.

User-Name

The user’s name in a format consistent with the NAI.

Origin-Host

Identifies the mobility agent that originated the Diameter accounting message. Origin-Host May resolve to more than one address, since the Diameter client may support more than one address.

Origin-Realm

Identifies the realm of the originator of the Diameter message.

Destination-Host

Identifies the accounting server that the message should be routed to.

Destination-Realm

Identifies the realm that the message should be routed to.

MIP-Feature-Vector

A collection of flags, generated by the foreign agent and foreign AAA server, that are included in the AA-Mobile-Node-Request and used by the Diameter server to process the message. Flag values currently defined include the following:

  • 1 Mobile-Node-Home-Address-Requested

  • 2   Home-Address-Allocatable-Only-in-Home-Realm

  • 4   Home-Agent-Requested

  • 8   Foreign-Home-Agent-Available

  • 16  MN-HA-Key-Request

  • 32  MN-FA-Key-Request

  • 64  FA-HA-Key-Request

  • 128 Home-Agent-In-Foreign-Network

  • 256 Co-Located-Mobile-Node

MIP-Mobile-Node-Address

IP address of the mobile node accessing the delivered service.

MIP-Home-Agent-Address

IP address of the home agent that started this session.

Acct-Application-Id

Advertises support of the accounting portion of an application. Diameter applications include:

  • NASREQ (1)

  • CMS Security (2)

  • Mobile-IP (4)

  • Relay

Mobile AAA accounting records will always be Mobile-IP (4).

Termination-Cause

How the session was terminated. The termination causes are listed in the following table:

Table 10-1 Session Termination Causes

Cause

Description

DIAMETER_LOGOUT

The user initiated a disconnect.

DIAMETER_BAD_ANSWER

This value indicates that the authorization answer received by the access device was not processed successfully.

DIAMETER_LINK_BROKEN

The communication to the user was abruptly disconnected.

DIAMETER_AUTH_EXPIRED

The user's access was terminated since its authorization time has expired.

DIAMETER_USER_MOVED

The user is receiving services from another access device.

DIAMETER_SESSION_TIMEOUT

The user's session has timed out, and service has been terminated.

 

Route-Record

The Diameter Identity of the peer that sent the message to the server.

Proxy-Info

This attribute is a grouped A-V pair. At a minimum it will contain the Proxy-Host and Proxy-State attributes but may contain other attributes.

Proxy-Host

Identifies the host that added the Proxy-Info.

Proxy-State

Local state information.

Accounting Attributes

These attributes describe the accounting record.

Accounting-Record-Type

Type of accounting record being sent. The following values are valid:

Table 10-2 Values for Accounting-Record Type

Value

Description

1

EVENT_RECORD indicates that a one-time event has occurred (meaning that the start and end of the event are simultaneous). This record contains all information relevant to the service, and is the only record of the service.

2

START_RECORD initiates an accounting session, and contains accounting information that is relevant to the initiation of the session.

3

INTERIM_RECORD contains cumulative accounting information for an existing accounting session.

4

STOP_RECORD terminates an accounting session and contains cumulative accounting information relevant to the existing session.

 

Accounting-Record-Number

Identifies this record from the session. Since Session-Id unique, the combination of Session-Id and Accounting-Record-Number can be used in matching accounting records with confirmations.

Acct-Multi-Session-Id

Identifies a group of related accounting sessions, where each session would have a unique Session-Id but the same Acct-Multi-Session-Id.

Accounting-Sub-Session-Id

Identifies a group of related accounting sessions, where each session in the subsession would have the same combination of Session-Id and Accounting-Sub-Session-Id.

Accounting-Input-Extended-Octets

Number of octets in IP packets received from the user.

Accounting-Output-Extended-Octets

Number of octets in IP packets sent to the user.

Accounting-Session-Time

Indicates the length of the current session in seconds.

Accounting-Input-Extended-Packets

Number of IP packets received from the user.

Accounting-Output-Extended-Packets

Number of IP packets sent to the user.

Table 10-3 Session Termination Causes

Cause

Description

User Request

User requested termination of service, for example with LCP Terminate or by logging out.

Lost Service

Service can no longer be provided; for example, user’s connection to a host was interrupted.

Session Timeout

Maximum session length timer expired.

Admin Reset

Administrator reset the port session.

Admin Reboot

Administrator is ending service on the client, for example prior to rebooting the client.

Port Error

Client detected an error on the port that required ending the session.

Port Unneeded

Client ended session because resource usage fell below low-water mark (for example, if a bandwidth-on-demand algorithm decided that the port was no longer needed.

Port Preempted

Client ended session in order to allocate the port to a higher priority use.

Port Suspended

Client ended session to suspend a virtual session.

Service Unavailable

Client was unable to provide requested service.

User Error

Input from user is in error, causing termination of session.

 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2001-2004 Hewlett-Packard Development Company, L.P.