display radius statistics

Syntax

display radius statistics [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

2: System level

Parameters

slot slot-number: Specifies the RADIUS packet statistics for the switch by its device ID. The slot-number argument represents the device ID, which must be 1.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display radius statistics to display RADIUS packet statistics.

Related commands: radius scheme.

Examples

# Display statistics about RADIUS packets.

<Sysname> display radius statistics
Slot  1:state statistic(total=4096):
     DEAD = 4096      AuthProc = 0        AuthSucc = 0
AcctStart = 0         RLTSend = 0         RLTWait = 0
 AcctStop = 0          OnLine = 0            Stop = 0
Received and Sent packets statistic:
Sent PKT total   = 1547     Received PKT total = 23
Resend Times     Resend total
1                508
2                508
Total            1016
RADIUS received packets statistic:
Code =  2   Num = 15       Err = 0
Code =  3   Num = 4        Err = 0
Code =  5   Num = 4        Err = 0
Code = 11   Num = 0        Err = 0
Running statistic:
RADIUS received messages statistic:
Normal auth request      Num = 24       Err = 0        Succ = 24
EAP auth request         Num = 0        Err = 0        Succ = 0
Account request          Num = 4        Err = 0        Succ = 4
Account off request      Num = 503      Err = 0        Succ = 503
PKT auth timeout         Num = 15       Err = 5        Succ = 10
PKT acct_timeout         Num = 1509     Err = 503      Succ = 1006
Realtime Account timer   Num = 0        Err = 0        Succ = 0
PKT response             Num = 23       Err = 0        Succ = 23
Accounting on response   Num = 0        Err = 0        Succ = 0
Session ctrl pkt         Num = 0        Err = 0        Succ = 0
Normal author request    Num = 0        Err = 0        Succ = 0
Set policy result        Num = 0        Err = 0        Succ = 0
RADIUS sent messages statistic:
Auth accept              Num = 10
Auth reject              Num = 14
EAP auth replying        Num = 0
Account success          Num = 4
Account failure          Num = 3
Server ctrl req          Num = 0
RecError_MSG_sum = 0
SndMSG_Fail_sum  = 0
Timer_Err        = 0
Alloc_Mem_Err    = 0
State Mismatch   = 0
Other_Error      = 0
No-response-acct-stop packet = 1
Discarded No-response-acct-stop packet for buffer overflow = 0

Table 6: Command output

Field

Description

state statistic

User statistics, by state

DEAD

Number of idle users

AuthProc

Number of users waiting for authentication

AuthSucc

Number of users who have passed authentication

AcctStart

Number of users for whom accounting has been started

RLTSend

Number of users for whom the system sends real-time accounting packets

RLTWait

Number of users waiting for real-time accounting

AcctStop

Number of users in the state of accounting waiting stopped

OnLine

Number of online users

Stop

Number of users in the state of stop

Received and Sent packets statistic

Statistics for packets received and sent by the RADIUS module

Sent PKT total

Number of packets sent

Received PKT total

Number of packets received

Resend Times

Number of transmission attempts

Resend total

Number of packets retransmitted

Total

Total number of packets retransmitted

RADIUS received packets statistic

Statistics for packets received by the RADIUS module

Code

Packet type

Num

Total number of packets

Err

Number of packets that the switch failed to process

Succ

Number of messages that the switch successfully processed

Running statistic

Statistics for RADIUS messages received and sent by the RADIUS module

RADIUS received messages statistic

Statistics for received RADIUS messages

Normal auth request

Number of normal authentication requests

EAP auth request

Number of EAP authentication requests

Account request

Number of accounting requests

Account off request

Number of stop-accounting requests

PKT auth timeout

Number of authentication timeout messages

PKT acct_timeout

Number of accounting timeout messages

Realtime Account timer

Number of real-time accounting requests

PKT response

Number of responses from servers

Accounting on response

Number of accounting-on responses

Session ctrl pkt

Number of session control messages

Normal author request

Number of normal authorization requests

Set policy result

Number of responses to the Set policy packets

RADIUS sent messages statistic

Statistics for sent RADIUS messages

Auth accept

Number of accepted authentication packets

Auth reject

Number of rejected authentication packets

EAP auth replying

Number of replying packets of EAP authentication

Account success

Number of accounting succeeded packets

Account failure

Number of accounting failed packets

Server ctrl req

Number of server control requests

RecError_MSG_sum

Number of received packets in error

SndMSG_Fail_sum

Number of packets that failed to be sent out

Timer_Err

Number of packets for indicating timer startup failures

Alloc_Mem_Err

Number of packets for indication memory allocation failures

State Mismatch

Number of packets for indicating mismatching status

Other_Error

Number of packets for indicating other types of errors

No-response-acct-stop packet

Number of times that no response was received for stop-accounting packets

Discarded No-response-acct-stop packet for buffer overflow

Number of stop-accounting packets that were buffered but then discarded due to full memory