Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

L2TP Termination Causes and Code Values

 

When an L2TP event terminates a subscriber session, causing a RADIUS Acct-Stop message to be issued, the RADIUS Acct-Terminate-Cause attribute (49) reports the cause or reason for the termination. This attribute is included only in RADIUS Acct-Stop messages. The termination cause is conveyed as a code value in the attribute. RFC 2866, RADIUS Accounting, defines the standard mapping between 18 code values and termination causes.

Junos OS defines a set of internal termination cause codes that are mapped to the RFC-defined code values. When a subscriber session is terminated, the router logs a message for the internal termination cause and logs another message for the RADIUS Acct-Terminate-Cause attribute. You can use the logged information to help monitor and troubleshoot terminated sessions.

Table 1 lists the default mapping between the internal identifier for L2TP termination causes and the code values that represent them in the RADIUS Acct-Terminate-Cause attribute (49).

Note

You can remap the internal identifiers to a custom code value in the range 1 through 4,294,967,295 by using the terminate-code statement at the [edit access] hierarchy level. You can view the current mapping by issuing the show network-access terminate-code l2tp detail command.

Table 1: Default Mapping Between L2TP Termination Causes and Code Values

Internal L2TP

Termination Cause

RADIUS Acct-Terminate-Cause Attribute

 

Code Value

RADIUS Termination Cause

issu in progress

9

NAS Error

session access interface down

8

Port Error

session admin close

6

Admin Reset

session admin drain

6

Admin Reset

session call down

10

NAS Request

session call failed

15

Service Unavailable

session create failed limit reached

9

NAS Error

session create failed no resources

9

NAS Error

session create failed single shot tunnel already fired

9

NAS Error

session create failed too busy

9

NAS Error

session failover protocol resync disconnect

6

Admin Reset

session hardware unavailable

8

Port Error

session no resources server port

9

NAS Error

session not ready

9

NAS Error

session rx cdn

10

NAS Request

session rx cdn avp bad hidden

10

NAS Request

session rx cdn avp bad value assigned session id

10

NAS Request

session rx cdn avp duplicate value assigned session id

10

NAS Request

session rx cdn avp malformed bad length

10

NAS Request

session rx cdn avp malformed truncated

10

NAS Request

session rx cdn avp missing mandatory assigned session id

10

NAS Request

session rx cdn avp missing mandatory result code

10

NAS Request

session rx cdn avp missing random vector

10

NAS Request

session rx cdn avp missing secret

10

NAS Request

session rx cdn avp unknown

10

NAS Request

session rx cdn no resources

10

NAS Request

session rx iccn avp bad hidden

10

NAS Request

session rx iccn avp bad value framing type

10

NAS Request

session rx iccn avp bad value proxy authen type

10

NAS Request

session rx iccn avp bad value unsupported proxy authen type

10

NAS Request

session rx iccn avp malformed bad length

10

NAS Request

session rx iccn avp malformed truncated

10

NAS Request

session rx iccn avp missing mandatory connect speed

10

NAS Request

session rx iccn avp missing mandatory framing type

10

NAS Request

session rx iccn avp missing mandatory proxy authen challenge

10

NAS Request

session rx iccn avp missing mandatory proxy authen id

10

NAS Request

session rx iccn avp missing mandatory proxy authen name

10

NAS Request

session rx iccn avp missing mandatory proxy authen response

10

NAS Request

session rx iccn avp missing random vector

10

NAS Request

session rx iccn avp missing secret

10

NAS Request

session rx iccn avp unknown

10

NAS Request

session rx iccn no resources

10

NAS Request

session rx iccn unexpected

10

NAS Request

session rx icrp avp bad hidden

10

NAS Request

session rx icrp avp bad value assigned session id

10

NAS Request

session rx icrp avp duplicate value assigned session id

10

NAS Request

session rx icrp avp malformed bad length

10

NAS Request

session rx icrp avp malformed truncated

10

NAS Request

session rx icrp avp missing mandatory assigned session id

10

NAS Request

session rx icrp avp missing random vector

10

NAS Request

session rx icrp avp missing secret

10

NAS Request

session rx icrp avp unknown

10

NAS Request

session rx icrp no resources

10

NAS Request

session rx icrp unexpected

10

NAS Request

session rx icrq admin close

6

Admin Reset

session rx icrq authenticate failed host

10

NAS Request

session rx icrq avp bad hidden

10

NAS Request

session rx icrq avp bad value assigned session id

10

NAS Request

session rx icrq avp bad value bearer type

10

NAS Request

session rx icrq avp bad value cisco nas port

10

NAS Request

session rx icrq avp duplicate value assigned session id

10

NAS Request

session rx icrq avp malformed bad length

10

NAS Request

session rx icrq avp malformed truncated

10

NAS Request

session rx icrq avp missing mandatory assigned session id

10

NAS Request

session rx icrq avp missing mandatory call serial number

10

NAS Request

session rx icrq avp missing random vector

10

NAS Request

session rx icrq avp missing secret

10

NAS Request

session rx icrq avp unknown

10

NAS Request

session rx icrq no resources

10

NAS Request

session rx icrq unexpected

10

NAS Request

session rx occn avp bad hidden

10

NAS Request

session rx occn avp bad value framing type

10

NAS Request

session rx occn avp malformed bad length

10

NAS Request

session rx occn avp malformed truncated

10

NAS Request

session rx occn avp missing mandatory connect speed

10

NAS Request

session rx occn avp missing mandatory framing type

10

NAS Request

session rx occn avp missing random vector

10

NAS Request

session rx occn avp missing secret

10

NAS Request

session rx occn avp unknown

10

NAS Request

session rx occn no resources

10

NAS Request

session rx occn unexpected

10

NAS Request

session rx ocrp avp bad hidden

10

NAS Request

session rx ocrp avp bad value assigned session id

10

NAS Request

session rx ocrp avp duplicate value assigned session id

10

NAS Request

session rx ocrp avp malformed bad length

10

NAS Request

session rx ocrp avp malformed truncated

10

NAS Request

session rx ocrp avp missing mandatory assigned session id

10

NAS Request

session rx ocrp avp missing random vector

10

NAS Request

session rx ocrp avp missing secret

10

NAS Request

session rx ocrp avp unknown

10

NAS Request

session rx ocrp no resources

10

NAS Request

session rx ocrp unexpected

10

NAS Request

session rx ocrq admin close

10

Admin Reset

session rx ocrq authenticate failed host

10

NAS Request

session rx ocrq avp bad hidden

10

NAS Request

session rx ocrq avp bad value assigned session id

10

NAS Request

session rx ocrq avp bad value bearer type

10

NAS Request

session rx ocrq avp bad value framing type

10

NAS Request

session rx ocrq avp duplicate value assigned session id

10

NAS Request

session rx ocrq avp malformed bad length

10

NAS Request

session rx ocrq avp malformed truncated

10

NAS Request

session rx ocrq avp missing mandatory assigned session id

10

NAS Request

session rx ocrq avp missing mandatory bearer type

10

NAS Request

session rx ocrq avp missing mandatory call serial number

10

NAS Request

session rx ocrq avp missing mandatory called number

10

NAS Request

session rx ocrq avp missing mandatory framing type

10

NAS Request

session rx ocrq avp missing mandatory maximum bps

10

NAS Request

session rx ocrq avp missing mandatory minimum bps

10

NAS Request

session rx ocrq avp missing random vector

10

NAS Request

session rx ocrq avp missing secret

10

NAS Request

session rx ocrq avp unknown

10

NAS Request

session rx ocrq no resources

10

NAS Request

session rx ocrq unexpected

10

NAS Request

session rx ocrq unsupported

9

NAS Error

session rx sli avp bad hidden

10

NAS Request

session rx sli avp bad value accm

10

NAS Request

session rx sli avp malformed bad length

10

NAS Request

session rx sli avp malformed truncated

10

NAS Request

session rx sli avp missing mandatory accm

10

NAS Request

session rx sli avp missing random vector

10

NAS Request

session rx sli avp missing secret

10

NAS Request

session rx sli avp unknown

10

NAS Request

session rx sli no resources

10

NAS Request

session rx unexpected packet lac incoming

10

NAS Request

session rx unexpected packet lac outgoing

10

NAS Request

session rx unexpected packet lns incoming

10

NAS Request

session rx unexpected packet lns outgoing

10

NAS Request

session rx unknown session id

10

NAS Request

session rx wen avp bad hidden

10

NAS Request

session rx wen avp malformed bad length

10

NAS Request

session rx wen avp malformed truncated

10

NAS Request

session rx wen avp missing mandatory call errors

10

NAS Request

session rx wen avp missing random vector

10

NAS Request

session rx wen avp missing secret

10

NAS Request

session rx wen avp unknown

10

NAS Request

session rx wen no resources

10

NAS Request

session timeout connection

10

NAS Request

session timeout inactivity

4

idle timeout

session timeout session

5

session timeout

session timeout upper create

9

NAS Error

session transmit speed unavailable

9

NAS error

session tunnel down

15

Service Unavailable

session tunnel failed

15

Service Unavailable

session tunnel switch profile deleted

6

Admin Reset

session tunneled interface down

8

Port Error

session unknown cause

9

NAS Error

session upper create failed

9

NAS Error

session upper removed

15

Service Unavailable

session warmstart not operational

15

Service Unavailable

session warmstart recovery error

15

Service Unavailable

session warmstart upper not restacked

10

NAS request

tunnel admin close

6

Admin Reset

tunnel admin drain

6

Admin Reset

tunnel control channel failed

15

Service Unavailable

tunnel created no sessions

1

User Request

tunnel destination address changed

6

Admin Reset

tunnel destination down

10

NAS Request

tunnel failover protocol no resources for recovery tunnel

15

Service Unavailable

tunnel failover protocol no resources for session resync

15

Service Unavailable

tunnel failover protocol not supported

15

Service Unavailable

tunnel failover protocol not supported by peer

15

Service Unavailable

tunnel failover protocol recovery control channel failed

15

Service Unavailable

tunnel failover protocol recovery tunnel failed

15

Service Unavailable

tunnel failover protocol recovery tunnel finished

1

User Request

tunnel failover protocol recovery tunnel primary down

1

User Request

tunnel failover protocol session resync failed

15

Service Unavailable

tunnel host profile changed

6

Admin Reset

tunnel host profile deleted

6

Admin Reset

tunnel rx scccn authenticate failed challenge

17

User Error

tunnel rx scccn avp bad hidden

15

Service Unavailable

tunnel rx scccn avp bad value challenge response

15

Service Unavailable

tunnel rx scccn avp malformed bad length

15

Service Unavailable

tunnel rx scccn avp malformed truncated

15

Service Unavailable

tunnel rx scccn avp missing challenge response

17

User Error

tunnel rx scccn avp missing random vector

15

Service Unavailable

tunnel rx scccn avp missing secret

15

Service Unavailable

tunnel rx scccn avp unexpected challenge response

15

Service Unavailable

tunnel rx scccn avp unknown

15

Service Unavailable

tunnel rx scccn no resources

15

Service Unavailable

tunnel rx scccn session id not null

15

Service Unavailable

tunnel rx scccn unexpected

15

Service Unavailable

tunnel rx sccrp authenticate failed challenge

17

User Error

tunnel rx sccrp authenticate failed host

17

User Error

tunnel rx sccrp avp bad hidden

15

Service Unavailable

tunnel rx sccrp avp bad value assigned tunnel id

15

Service Unavailable

tunnel rx sccrp avp bad value bearer capabilities

15

Service Unavailable

tunnel rx sccrp avp bad value challenge

15

Service Unavailable

tunnel rx sccrp avp bad value challenge response

15

Service Unavailable

tunnel rx sccrp avp bad value failover capability

15

Service Unavailable

tunnel rx sccrp avp bad value framing capabilities

15

Service Unavailable

tunnel rx sccrp avp bad value protocol version

15

Service Unavailable

tunnel rx sccrp avp bad value receive window size

15

Service Unavailable

tunnel rx sccrp avp duplicate value assigned tunnel id

15

Service Unavailable

tunnel rx sccrp avp malformed bad length

15

Service Unavailable

tunnel rx sccrp avp malformed truncated

15

Service Unavailable

tunnel rx sccrp avp missing challenge response

17

User Error

tunnel rx sccrp avp missing mandatory assigned tunnel id

15

Service Unavailable

tunnel rx sccrp avp missing mandatory framing capabilities

15

Service Unavailable

tunnel rx sccrp avp missing mandatory host name

15

Service Unavailable

tunnel rx sccrp avp missing mandatory protocol version

15

Service Unavailable

tunnel rx sccrp avp missing random vector

15

Service Unavailable

tunnel rx sccrp avp missing secret

15

Service Unavailable

tunnel rx sccrp avp unexpected challenge response

15

Service Unavailable

tunnel rx sccrp avp unexpected challenge without secret

15

Service Unavailable

tunnel rx sccrp avp unknown

15

Service Unavailable

tunnel rx sccrp no resources

15

Service Unavailable

tunnel rx sccrp session id not null

15

Service Unavailable

tunnel rx sccrp unexpected

15

Service Unavailable

tunnel rx sccrq admin close

6

Admin Reset

tunnel rx sccrq authenticate failed host

17

User Error

tunnel rx sccrq avp bad hidden

15

Service Unavailable

tunnel rx sccrq avp bad value assigned tunnel id

15

Service Unavailable

tunnel rx sccrq avp bad value bearer capabilities

15

Service Unavailable

tunnel rx sccrq avp bad value challenge

15

Service Unavailable

tunnel rx sccrq avp bad value failover capability

15

Service Unavailable

tunnel rx sccrq avp bad value framing capabilities

15

Service Unavailable

tunnel rx sccrq avp bad value protocol version

15

Service Unavailable

tunnel rx sccrq avp bad value receive window size

15

Service Unavailable

tunnel rx sccrq avp duplicate value assigned tunnel id

15

Service Unavailable

tunnel rx sccrq avp malformed bad length

15

Service Unavailable

tunnel rx sccrq avp malformed truncated

15

Service Unavailable

tunnel rx sccrq avp missing mandatory assigned tunnel id

15

Service Unavailable

tunnel rx sccrq avp missing mandatory framing capabilities

15

Service Unavailable

tunnel rx sccrq avp missing mandatory host name

15

Service Unavailable

tunnel rx sccrq avp missing mandatory protocol version

15

Service Unavailable

tunnel rx sccrq avp missing random vector

15

Service Unavailable

tunnel rx sccrq avp missing secret

15

Service Unavailable

tunnel rx sccrq avp unexpected challenge without secret

15

Service Unavailable

tunnel rx sccrq avp unknown

15

Service Unavailable

tunnel rx sccrq bad address

15

Service Unavailable

tunnel rx sccrq no resources

15

Service Unavailable

tunnel rx sccrq no resources max tunnels

15

Service Unavailable

tunnel rx sccrq session id not null

15

Service Unavailable

tunnel rx sccrq unexpected

15

Service Unavailable

tunnel rx stopccn

1

User Request

tunnel rx stopccn avp bad hidden

15

Service Unavailable

tunnel rx stopccn avp bad value assigned tunnel id

15

Service Unavailable

tunnel rx stopccn avp duplicate value assigned tunnel id

15

Service Unavailable

tunnel rx stopccn avp malformed bad length

15

Service Unavailable

tunnel rx stopccn avp malformed truncated

15

Service Unavailable

tunnel rx stopccn avp missing mandatory assigned tunnel id

15

Service Unavailable

tunnel rx stopccn avp missing mandatory result code

15

Service Unavailable

tunnel rx stopccn avp missing random vector

15

Service Unavailable

tunnel rx stopccn avp missing secret

15

Service Unavailable

tunnel rx stopccn avp unknown

15

Service Unavailable

tunnel rx stopccn no resources

15

Service Unavailable

tunnel rx stopccn session id not null

15

Service Unavailable

tunnel rx frs avp malformed truncated

15

Service Unavailable

tunnel rx frs avp missing mandatory failover session state

15

Service Unavailable

tunnel rx frs avp missing random vector

15

Service Unavailable

tunnel rx frs avp missing secret

15

Service Unavailable

tunnel rx frs avp unknown

15

Service Unavailable

tunnel rx frs no resources

15

Service Unavailable

tunnel rx frs session id not null

15

Service Unavailable

tunnel rx fsq avp bad hidden

15

Service Unavailable

tunnel rx fsq avp malformed bad length

15

Service Unavailable

tunnel rx fsq avp malformed truncated

15

Service Unavailable

tunnel rx fsq avp missing mandatory failover session state

15

Service Unavailable

tunnel rx fsq avp missing random vector

15

Service Unavailable

tunnel rx fsq avp missing secret

15

Service Unavailable

tunnel rx fsq avp unknown

15

Service Unavailable

tunnel rx fsq no resources

15

Service Unavailable

tunnel rx fsq session id not null

15

Service Unavailable

tunnel rx fsr avp bad hidden

15

Service Unavailable

tunnel rx fsr avp malformed bad length

15

Service Unavailable

tunnel rx unexpected packet

15

Service Unavailable

tunnel rx unexpected packet for session

15

Service Unavailable

tunnel rx unknown packet message type indecipherable

15

Service Unavailable

tunnel rx unknown packet message type unrecognized

15

Service Unavailable

tunnel rx recovery scccn authenticate failed challenge

17

User Error

tunnel rx recovery scccn avp bad hidden

15

Service Unavailable

tunnel rx recovery scccn avp bad value challenge response

15

Service Unavailable

tunnel rx recovery scccn avp malformed bad length

15

Service Unavailable

tunnel rx recovery scccn avp malformed truncated

15

Service Unavailable

tunnel rx recovery scccn avp missing challenge response

17

User Error

tunnel rx recovery scccn avp missing random vector

15

Service Unavailable

tunnel rx recovery scccn avp missing secret

15

Service Unavailable

tunnel rx recovery scccn avp unexpected challenge response

15

Service Unavailable

tunnel rx recovery scccn avp unknown

15

Service Unavailable

tunnel rx recovery scccn no resources

15

Service Unavailable

tunnel rx recovery scccn session id not null

15

Service Unavailable

tunnel rx recovery sccrp authenticate failed challenge

17

User Error

tunnel rx recovery sccrp avp bad hidden

15

Service Unavailable

tunnel rx recovery sccrp avp bad value assigned tunnel id

15

Service Unavailable

tunnel rx recovery sccrp avp bad value bearer capabilities

15

Service Unavailable

tunnel rx recovery sccrp avp bad value challenge

15

Service Unavailable

tunnel rx recovery sccrp avp bad value challenge response

15

Service Unavailable

tunnel rx recovery sccrp avp bad value framing capabilities

15

Service Unavailable

tunnel rx recovery sccrp avp bad value protocol version

15

Service Unavailable

tunnel rx recovery sccrp avp bad value receive window size

15

Service Unavailable

tunnel rx recovery sccrp avp bad value suggested control sequence

15

Service Unavailable

tunnel rx recovery sccrp avp duplicate value assigned

tunnel id

15

Service Unavailable

tunnel rx recovery sccrp avp malformed bad length

15

Service Unavailable

tunnel rx recovery sccrp avp malformed truncated

15

Service Unavailable

tunnel rx recovery sccrp avp mismatched host name

15

Service Unavailable

tunnel rx recovery sccrp avp mismatched vendor name

15

Service Unavailable

tunnel rx recovery sccrp avp missing challenge response

17

User Error

tunnel rx recovery sccrp avp missing mandatory assigned tunnel id

15

Service Unavailable

tunnel rx recovery sccrp avp missing mandatory framing capabilities

15

Service Unavailable

tunnel rx recovery sccrp avp missing mandatory host name

15

Service Unavailable

tunnel rx recovery sccrp avp missing mandatory protocol version

15

Service Unavailable

tunnel rx recovery sccrp avp missing random vector

15

Service Unavailable

tunnel rx recovery sccrp avp missing secret

15

Service Unavailable

tunnel rx recovery sccrp avp unexpected challenge response

15

Service Unavailable

tunnel rx recovery sccrp avp unexpected challenge without secret

15

Service Unavailable

tunnel rx recovery sccrp avp unknown

15

Service Unavailable

tunnel rx recovery sccrp no resources

15

Service Unavailable

tunnel rx recovery sccrp session id not null

15

Service Unavailable

tunnel rx recovery sccrq admin close

6

Admin Reset

tunnel rx recovery sccrq avp bad hidden

15

Service Unavailable

tunnel rx recovery sccrq avp bad value assigned tunnel id

15

Service Unavailable

tunnel rx recovery sccrq avp bad value bearer capabilities

15

Service Unavailable

tunnel rx recovery sccrq avp bad value challenge

15

Service Unavailable

tunnel rx recovery sccrq avp bad value framing capabilities

15

Service Unavailable

tunnel rx recovery sccrq avp bad value protocol version

15

Service Unavailable

tunnel rx recovery sccrq avp bad value receive window size

15

Service Unavailable

tunnel rx recovery sccrq avp bad value tunnel recovery

15

Service Unavailable

tunnel rx recovery sccrq avp duplicate value assigned tunnel id

15

Service Unavailable

tunnel rx recovery sccrq avp duplicate value tie breaker

15

Service Unavailable

tunnel rx recovery sccrq avp malformed bad length

15

Service Unavailable

tunnel rx recovery sccrq avp malformed truncated

15

Service Unavailable

tunnel rx recovery sccrq avp mismatched host name

15

Service Unavailable

tunnel rx recovery sccrq avp mismatched vendor name

15

Service Unavailable

tunnel rx recovery sccrq avp missing mandatory assigned tunnel id

15

Service Unavailable

tunnel rx recovery sccrq avp missing mandatory framing capabilities

15

Service Unavailable

tunnel rx recovery sccrq avp missing mandatory host name

15

Service Unavailable

tunnel rx recovery sccrq avp missing mandatory protocol version

15

Service Unavailable

tunnel rx recovery sccrq avp missing mandatory tunnel recovery

15

Service Unavailable

tunnel rx recovery sccrq avp missing random vector

15

Service Unavailable

tunnel rx recovery sccrq avp missing secret

15

Service Unavailable

tunnel rx recovery sccrq avp missing tie breaker

15

Service Unavailable

tunnel rx recovery sccrq avp unexpected challenge without secret

15

Service Unavailable

tunnel rx recovery sccrq avp unknown

15

Service Unavailable

tunnel rx recovery sccrq no resources

15

Service Unavailable

tunnel rx recovery sccrq session id not null

15

Service Unavailable

tunnel rx recovery sccrq tunnel id not null

15

Service Unavailable

tunnel rx recovery stopccn avp bad hidden

15

Service Unavailable

tunnel rx recovery stopccn avp bad value assigned tunnel id

15

Service Unavailable

tunnel rx recovery stopccn avp duplicate value assigned tunnel id

15

Service Unavailable

tunnel rx recovery stopccn avp malformed bad length

15

Service Unavailable

tunnel rx recovery stopccn avp malformed truncated

15

Service Unavailable

tunnel rx recovery stopccn avp missing mandatory assigned tunnel id

15

Service Unavailable

tunnel rx recovery stopccn avp missing mandatory result code

15

Service Unavailable

tunnel rx recovery stopccn avp missing random vector

15

Service Unavailable

tunnel rx recovery stopccn avp missing secret

15

Service Unavailable

tunnel rx recovery stopccn avp unknown

15

Service Unavailable

tunnel rx recovery stopccn no resources

15

Service Unavailable

tunnel rx recovery stopccn session id not null

15

Service Unavailable

tunnel rx recovery unexpected packet

15

Service Unavailable

tunnel rx recovery unknown packet message type indecipherable

15

Service Unavailable

tunnel rx recovery unknown packet message type unrecognized

15

Service Unavailable

tunnel rx session packet null sid invalid

15

Service Unavailable

tunnel rx session packet null sid without assigned session id

15

Service Unavailable

tunnel timeout connection

15

Service Unavailable

tunnel timeout connection recovery tunnel

15

Service Unavailable

tunnel timeout idle

1

User Request

tunnel unknown cause

9

NAS Error

tunnel warmstart not operational

15

Service Unavailable

tunnel warmstart recovery error

15

Service Unavailable