Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

show network-access aaa terminate-code

date_range 09-Dec-23

Syntax

content_copy zoom_out_map
show network-access aaa terminate-code
<brief | detail | summary>
<reverse>
<(aaa | dhcp | l2tp | ppp)>

Description

Display the count for termination cause types and the current mapping between session termination cause types and code values.

Options

none

Display all mappings.

brief | detail | summary

(Optional) Display the specified level of output. The summary output is displayed by default and includes base count information about mappings. The brief output displays mappings with non-zero usage count and custom mappings. The detail output displays all mappings.

aaa

(Optional) Limit display to AAA mappings only.

dhcp

(Optional) Limit display to DHCP mappings only.

l2tp

(Optional) Limit display to L2TP mappings only.

ppp

(Optional) Limit display to PPP mappings only.

reverse

(Optional) Display mapping of the code value conveyed in the RADIUS Acct-Terminate-Cause attribute (49) to the termination cause type.

vlan

(Optional) Limit display to VLAN mappings only.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show network-access aaa terminate-code command. Output fields are listed in the approximate order in which they appear.

Table 1: show network-access aaa terminate-code Output Fields

Field Name

Field Description

Level of Output

RADIUS

RFC-defined code value conveyed in the RADIUS Acct-Terminate-Cause attribute (49) or a nonstandard, customized value that you configure with the terminate-code aaa statement at the [edit access] hierarchy level.

brief detail

None (with reverse option)

Custom

Whether or not the termination cause is a customized mapping or the default mapping.

All levels

Mapping-Count

Number of mappings that occurred for a specific terminate cause type or category (standard or summary output) or per termination cause (reverse output).

summary None

Usage-Count

Number of times the terminate code mapping was used.

All levels

Type

Termination cause type—null, aaa, dhcp, l2tp, ppp, or vlan.

Note:

The null termination cause type indicates that no termination reason was provided by the subscriber and the RADIUS Acct-Terminate-Cause attribute (49) was not included in the Acct-Stop request

All levels

Code

Specific termination cause.

brief detail

Sample Output

show network-access aaa terminate-code

content_copy zoom_out_map
user@host> show network-access aaa terminate-code
Terminate-code:
  Custom Mapping-Count Usage-Count Type
  no     1             0           null
  no     12            0           aaa 
  no     5             0           dhcp
  no     364           0           l2tp
  no     210           0           ppp 
  no     13            10          vlan

show network-access aaa terminate-code reverse

content_copy zoom_out_map
user@host> show network-access aaa terminate-code reverse
Terminate-code:
  RADIUS    Custom Mapping-Count Usage-Count Type
  0         no     1             0           null
  1         no     1             0           aaa 
  1         no     1             0           dhcp
  1         no     5             0           l2tp
  1         no     8             0           ppp 
  1         no     2             10          vlan
  2         no     1             0           dhcp
  2         no     3             0           ppp 
  2         no     2             0           vlan
  4         no     1             0           aaa 
  4         no     1             0           dhcp
  4         no     1             0           l2tp
  4         no     1             0           ppp 
  5         no     2             0           aaa 
  5         no     1             0           l2tp
  5         no     1             0           ppp 
  6         no     2             0           aaa 
  6         no     13            0           l2tp
  6         no     3             0           ppp 
  6         no     3             0           vlan
  8         no     3             0           l2tp
  8         no     5             0           ppp 
  9         no     13            0           l2tp
  9         no     12            0           ppp 
  9         no     4             0           vlan
  10        no     4             0           aaa 
  10        no     1             0           dhcp
  10        no     128           0           l2tp
  10        no     171           0           ppp 
  15        no     1             0           dhcp
  15        no     190           0           l2tp
  15        no     1             0           vlan
  16        no     1             0           vlan
  17        no     2             0           aaa 
  17        no     10            0           l2tp
  17        no     6             0           ppp 

show network-access aaa terminate-code dhcp

content_copy zoom_out_map
user@host> show network-access aaa terminate-code dhcp
Terminate-code:
  Custom Mapping-Count Usage-Count Type
  no     5             0           dhcp

show network-access aaa terminate-code detail

content_copy zoom_out_map
user@host> show network-access aaa terminate-code aaa detail

Terminate-code:
  RADIUS     Custom Usage-Count Type Code
  17         no     1           aaa  deny-authentication-denied
  10         no     1           aaa  deny-no-resources
  17         no     0           aaa  deny-server-request-timeout
  6          no     0           aaa  service-shutdown-network-logout
  10         no     0           aaa  service-shutdown-remote-reset
  1200       yes    5           aaa  service-shutdown-subscriber-logout
  5          no     0           aaa  service-shutdown-time-limit
  10         no     0           aaa  service-shutdown-volume-limit
  6          no     13          aaa  shutdown-administrative-reset
  4          no     0           aaa  shutdown-idle-timeout
  10         no     0           aaa  shutdown-remote-reset
  5          no     0           aaa  shutdown-session-timeout

show network-access aaa terminate-code brief

content_copy zoom_out_map
user@host> show network-access aaa terminate-code brief
Terminate-code:
  RADIUS     Custom Usage-Count Type Code
  17         no     1           aaa  deny-authentication-denied                
  10         no     1           aaa  deny-no-resources
  1200       yes    5           aaa  service-shutdown-subscriber-logout
  6          no     13          aaa  shutdown-administrative-reset
  15         no     7           dhcp nak                                       
  10         no     1           l2tp session-receive-cdn-avp-missing-secret    
  10         no     1           ppp  bundle-fail-create                        
  1          no     1           ppp  lcp-peer-terminate-term-req               
  10         no     1           ppp  lcp-tunnel-disconnected  
  1          no     10          vlan out-of-band-ancp-port-down

show network-access aaa terminate-code summary

content_copy zoom_out_map
user@host> show network-access aaa terminate-code summary

Terminate-code:
  Custom Mapping-Count Usage-Count Type
  no     1             0           null
  no     12            0           aaa 
  no     5             0           dhcp
  no     364           0           l2tp
  no     210           0           ppp 
  no     13            10          vlan

show network-access aaa terminate-code vlan

content_copy zoom_out_map
user@host> show network-access aaa terminate-code vlan
Terminate-code:
  Custom Mapping-Count Usage-Count Type
  no     13            0           vlan

show network-access aaa terminate-code vlan detail

content_copy zoom_out_map
user@host> show network-access aaa terminate-code vlan detail
Terminate-code:
  RADIUS     Custom Usage-Count Type Code
  6          no     0           vlan admin-logout                              
  16         no     0           vlan admin-reconnect                           
  9          no     0           vlan other                                     
  2          no     0           vlan out-of-band-access-interface-down         
  6          no     0           vlan out-of-band-admin-access-interface-down   
  6          no     0           vlan out-of-band-admin-core-interface-down     
  1          no     0           vlan out-of-band-ancp-port-down                
  1          no     0           vlan out-of-band-ancp-port-vlan-id-change      
  2          no     0           vlan out-of-band-core-interface-down           
  15         no     0           vlan out-of-band-l2-wholesale-no-free-vlans    
  9          no     0           vlan profile-request-error                     
  9          no     0           vlan sdb-error                                 
  9          no     0           vlan subscriber-activate-error                 

Release Information

Command introduced in Junos OS Release 11.4.

vlan option introduced in Junos OS Release 16.1.

footer-navigation