Monitoring Application Terminate Reason Mappings

Purpose

Display information about the mappings for application terminate reasons.

Action

To display the current terminate reasons that are mapped to a specific Acct-Terminate-Cause-Code:

This example uses the radius keyword to display all current terminate reasons mapped to RADIUS Acct-Terminate-Cause codes. The output lists all PPP mappings, followed by L2TP mappings, and then AAA mappings.

host1(config)#run show terminate-code radius
                                                                      Radius
  Apps           Terminate Reason               Description            Code
---------   --------------------------   --------------------------   ------
ppp         authenticate-authenticator   authenticate authenticator     17
            -timeout                      timeout
ppp         authenticate-challenge-tim   authenticate challenge tim     10
            eout                         eout
ppp         authenticate-chap-no-resou   authenticate chap no resou     10
            rces                         rces
ppp         authenticate-chap-peer-aut   authenticate chap peer aut     17
            henticator-timeout           henticator timeout
ppp         authenticate-deny-by-peer    authenticate deny by peer      17
ppp         authenticate-inactivity-ti   authenticate inactivity ti     4
            meout                        meout
ppp         authenticate-max-requests    authenticate max requests      10 
 --More-- 

To display all terminate reasons that are mapped to a specific terminate code:

This example uses the radius keyword and a RADIUS Acct-Terminate-Cause code (radius 4) to display all terminate reasons mapped to the specified terminate code.

host1(config)#run show terminate-code radius 4
                                                                      Radius
  Apps           Terminate Reason               Description            Code
---------   --------------------------   --------------------------   ------
ppp         authenticate-inactivity-ti   authenticate inactivity ti     4
            meout                        meout
l2tp        session-timeout-inactivity   session timeout inactivity     4

To display all current mappings for a particular application’s terminate reasons:

This example uses aaa as the application.

host1(config)#run show terminate-code aaa
                                                                      Radius
  Apps           Terminate Reason               Description            Code
---------   --------------------------   --------------------------   ------
aaa         deny-server-not-available    deny server not available      17
aaa         deny-server-request-timeou   deny server request timed      17
            t                            out
aaa         deny-authentication-failur   deny authentication failur     17
            e                            e from server
aaa         deny-address-assignment-fa   deny address assignment fa     17
            ilure                        ilure
aaa         deny-address-allocation-fa   deny address allocation fa     17
            ilure                        ilure
aaa         deny-no-address-allocation   deny insufficient resource     17
            -resources                   s for address allocation
aaa         deny-unknown-subscriber      deny no such server entry      17
aaa         deny-no-resources            deny no resources availabl     10
                                         e
 --More--                                                                      

To display the mapping for a specific terminate reason for an application:

This example uses l2tp as the application and session-access-interface-down as the terminate reason.

host1#show terminate-code l2tp session-access-interface-down
                                                               Radius
                Terminate Reason Description                    Code
------------------------------------------------------------   ------
session access interface down                                    8

Meaning

Table 36 lists the show terminate-code command output fields.

Table 36: show terminate-code Output Fields

Field Name

Field Description

Apps

The application generating the terminate reason; AAA, L2TP, PPP, or RADIUS client

Terminate Reason

The application’s terminate reason

Description

The terminate reason

Radius Code

The RADIUS Acct-Terminate-Cause code to which the application’s terminate reason is mapped

Related Documentation