Name

Acct-Terminate-Cause

Synopsis

Attribute Number

49

Length

6

Value

ENUM

Allowed in

Accounting-Request

Prohibited in

Accounting-Response

Presence in Packet

Not required

Maximum Iterations

1

The Acct-Terminate-Cause attribute indicates the reason, if possible and applicable, that a user’s session was ended. Like a good number of the other accounting attributes, the request packet must contain the Acct-Status-Type attribute set to Stop (code 2).

Listed in Table 4-3 are the 18 possible values for this attribute.

Table 4-3. Values for the Acct-Terminate-Cause attribute

Value

Termination cause

1

User Request

2

Lost Carrier

3

Lost Service

4

Idle Timeout

5

Session Timeout

6

Admin Reset

7

Admin Reboot

8

Port Error

9

NAS Error

10

NAS Request

11

NAS Reboot

12

Port Unneeded

13

Port Preempted

14

Port Suspended

15

Service Unavailable

16

Callback

17

User Error

18

Host Request

Let’s take a closer look at each of these termination causes:

User Request

The user initiated the termination by logging off.

Lost Carrier

The port could no longer hold DCD.

Lost Service

For some reason, the service is unavailable for continued provision. Connection interruptions are the most likely cause.

Idle Timeout

The configured limit for an idle connection was reached.

Session Timeout

The configured limit for the length of a single session was reached.

Admin Reset

The system administrator reset hardware necessary to continue the connection.

Admin Reboot

The system ...

Get RADIUS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.