display radius offline-sub-reason

Function

The display radius offline-sub-reason command displays offline sub-causes.

This command is supported only on the NetEngine 8000 F1A.

Format

display radius offline-sub-reason [ subcode code-number ]

Parameters

Parameter Description Value
subcode code-number

Specifies the number of an offline sub-cause.

The value is an integer. The minimum value is 1. The maximum value increases with the number of offline sub-causes. For details about the parameter value range, see the command help information.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
radius read

Usage Guidelines

Usage Scenario

To query an offline sub-cause with a specified number, run the display radius offline-sub-reason command.

The device sends Accounting Stop packets carrying RADIUS attribute 49 to the RADIUS server. The RADIUS attribute 49 (Acct-Terminate-Cause) identifies offline cause. To help the device support offline sub-causes, a Huawei proprietary attribute named huawei-181 (HW-Acct-terminate-subcause) is used to identify the offline sub-cause numbers. The offline sub-causes include all user logout causes displayed in the display aaa offline-record and display aaa online-fail-record commands

Sub-causes are not reported by default. You can run the radius-attribute include HW-Acct-terminate-subcause command in the RADIUS server group view for sub-causes to be reported.

For the relationships between standard reasons and sub-reasons, see Description > Feature Description > User Access > Appendix: RADIUS Attributes > Reasons for User Offline.

Precautions

Specifying an offline sub-cause number is recommended. If no offline sub-cause number is specified, all offline sub-causes will be displayed, difficult for you to locate required information.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display an offline sub-cause numbered 1.
<HUAWEI> display radius offline-sub-reason subcode 1
  ------------------------------------------------------------------------------                                                    
  Subcode     description of offline sub reason                                                                                     
  ------------------------------------------------------------------------------                                                    
  1           User request to offline                                                                                               
  ------------------------------------------------------------------------------
Table 1 Description of the display radius offline-sub-reason command output
Item Description
Subcode

Number of an offline sub-cause.

description of offline sub reason

Description of an offline sub-cause.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >