Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

PPP Termination Causes and Code Values

When a PPP 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 termination causes and code values.

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 PPP 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 ppp detail command.

Table 1 lists the default PPP terminate mappings. The table indicates the supported PPP terminate reasons and the RADIUS Acct-Terminate-Cause attributes they are mapped to by default.

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

Internal PPPTermination Cause

RADIUS Acct-Terminate-Cause Attribute

 

Code Value

RADIUS Termination Cause

admin logout

10

NAS Request

authenticate authenticator timeout

17

User Error

authenticate challenge timeout

10

NAS Request

authenticate chap no resources

10

NAS Request

authenticate chap peer authenticator timeout

17

User Error

authenticate deny by peer

17

User Error

authenticate inactivity timeout

4

Idle Timeout

authenticate max requests

10

NAS Request

authenticate no authenticator

10

NAS Request

authenticate pap peer authenticator timeout

17

User Error

authenticate pap request timeout

10

NAS Request

authenticate Session Timeout

5

Session Timeout

authenticate too many requests

10

NAS Request

authenticate tunnel fail immediate

10

NAS Request

authenticate tunnel unsupported tunnel type

10

NAS Request

bundle fail create

10

NAS Request

bundle fail engine add

10

NAS Request

bundle fail fragment size mismatch

10

NAS Request

bundle fail fragmentation location

10

NAS Request

bundle fail fragmentation mismatch

10

NAS Request

bundle fail join

10

NAS Request

bundle fail link selection mismatch

10

NAS Request

bundle fail local mped not set yet

10

NAS Request

bundle fail local mrru mismatch

10

NAS Request

bundle fail local mru mismatch

10

NAS Request

bundle fail peer mrru mismatch

10

NAS Request

bundle fail reassembly location

10

NAS Request

bundle fail reassembly mismatch

10

NAS Request

bundle fail record network

10

NAS Request

bundle fail server location mismatch

10

NAS Request

bundle fail static link

10

NAS Request

failover during authentication

6

Admin Reset

interface admin disable

6

Admin Reset

interface down

2

Lost Carrier

interface no hardware

8

Port Error

ip admin disable

10

NAS Request

ip inhibited by authentication

10

NAS Request

ip link down

10

NAS Request

ip max configure exceeded

10

NAS Request

ip no local ip address

10

NAS Request

ip no local ip address mask

10

NAS Request

ip no local primary dns address

10

NAS Request

ip no local primary nbns address

10

NAS Request

ip no local secondary dns address

10

NAS Request

ip no local secondary nbns address

10

NAS Request

ip no peer ip address

10

NAS Request

ip no peer ip address mask

10

NAS Request

ip no peer primary dns address

10

NAS Request

ip no peer primary nbns address

10

NAS Request

ip no peer secondary dns address

10

NAS Request

ip no peer secondary nbns address

10

NAS Request

ip no service

10

NAS Request

ip peer renegotiate rx conf ack

10

NAS Request

ip peer renegotiate rx conf nak

10

NAS Request

ip peer renegotiate rx conf rej

10

NAS Request

ip peer renegotiate rx conf req

10

NAS Request

ip peer terminate term ack

10

NAS Request

ip peer terminate code rej

10

NAS Request

ip peer terminate term req

10

NAS Request

ip service disable

10

NAS Request

ip stale stacking

10

NAS Request

ipv6 admin disable

10

NAS Request

ipv6 inhibited by authentication

10

NAS Request

ipv6 link down

10

NAS Request

ipv6 local and peer interface ids identical

10

NAS Request

ipv6 max configure exceeded

10

NAS Request

ipv6 no local ipv6 interface id

10

NAS Request

ipv6 no peer ipv6 interface id

10

NAS Request

ipv6 no service

10

NAS Request

ipv6 peer renegotiate rx conf ack

10

NAS Request

ipv6 peer renegotiate rx conf nak

10

NAS Request

ipv6 peer renegotiate rx conf rej

10

NAS Request

ipv6 peer renegotiate rx conf req

10

NAS Request

ipv6 peer terminate code rej

10

NAS Request

ipv6 peer terminate term ack

10

NAS Request

ipv6 peer terminate term req

10

NAS Request

ipv6 service disable

10

NAS Request

ipv6 stale stacking

10

NAS Request

lcp authenticate terminate hold

10

NAS Request

lcp configured mrru too small

10

NAS Request

lcp configured mru invalid

10

NAS Request

lcp configured mru too small

10

NAS Request

lcp dynamic interface hold

10

NAS Request

lcp keepalive failure

10

NAS Request

lcp loopback rx conf req

10

NAS Request

lcp loopback rx echo reply

10

NAS Request

lcp loopback rx echo req

10

NAS Request

lcp max configure exceeded

10

NAS Request

lcp mru changed

10

NAS Request

lcp negotiation timeout

10

NAS Request

lcp no localaccm

10

NAS Request

lcp no localacfc

10

NAS Request

lcp no local authentication

10

NAS Request

lcp no local endpoint discriminator

10

NAS Request

lcp no local magic number

10

NAS Request

lcp no local mrru

10

NAS Request

lcp no local mru

10

NAS Request

lcp no localpfc

10

NAS Request

lcp no peer accm

10

NAS Request

lcp no peer authentication

10

NAS Request

lcp no peer endpoint discriminator

10

NAS Request

lcp no peer magicnumber

10

NAS Request

lcp no peer mrru

10

NAS Request

lcp no peer mru

10

NAS Request

lcp no peer pfc

10

NAS Request

lcp peer terminate code rej

1

User Request

lcp peer terminate term ack

1

User Request

lcp peer terminate term req

1

User Request

lcp peer terminate protocol reject

1

User Request

lcp peer renegotiate rx conf ack

1

User Request

lcp peer renegotiate rx conf nak

1

User Request

lcp peer renegotiate rx conf rej

1

User Request

lcp peer renegotiate rx conf req

1

User Request

lcp tunnel disconnected

10

NAS Request

lcp tunnel failed

10

NAS Request

link interface no hardware

8

Port Error

lower interface attach failed

2

Lost Carrier

lower interface teardown

2

Lost Carrier

mpls admin disable

10

NAS Request

mpls link down

10

NAS Request

mpls max configure exceeded

10

NAS Request

mpls no service

10

NAS Request

mpls peer renegotiate rx conf ack

10

NAS Request

mpls peer renegotiate rx conf nak

10

NAS Request

mpls peer renegotiate rx conf rej

10

NAS Request

mpls peer renegotiate rx conf req

10

NAS Request

mpls peer terminate code rej

10

NAS Request

mpls peer terminate term ack

10

NAS Request

mpls peer terminate term req

10

NAS Request

mpls service disable

10

NAS Request

mpls stale stacking

10

NAS Request

network interface admin disable

6

Admin Reset

no bundle

10

NAS Request

no interface

8

Port Error

no link interface

8

Port Error

no ncps available

10

NAS Request

no network interface

10

NAS Request

no upper interface

9

NAS Error

osi admin disable

10

NAS Request

osi link down

10

NAS Request

osi max configure exceeded

10

NAS Request

osi no local align npdu

10

NAS Request

osi no peer align npdu

10

NAS Request

osi no service

10

NAS Request

osi peer renegotiate rx conf ack

10

NAS Request

osi peer renegotiate rx conf nak

10

NAS Request

osi peer renegotiate rx conf rej

10

NAS Request

osi peer renegotiate rx conf req

10

NAS Request

osi peer terminate code rej

10

NAS Request

osi peer terminate term ack

10

NAS Request

osi peer terminate term req

10

NAS Request

osi service disable

10

NAS Request

osi stale stacking

10

NAS Request

recovery active state cleanup

9

NAS Error

recovery configured state cleanup

9

NAS Error

recovery init state cleanup

9

NAS Error

recovery terminated state cleanup

9

NAS Error

recovery terminating state cleanup

9

NAS Error

session init failed

9

NAS Error

subscriber mgr activation failed

9

NAS Error

subscriber mgr get credentials failed

9

NAS Error

subscriber mgr link interface not found

9

NAS Error

subscriber mgr set state active failed

9

NAS Error