FAQ-How Can I Query L2TP Online Users Through Dial-Up

Publication Date:  2015-07-02 Views:  169 Downloads:  0
Issue Description
How Can I Query L2TP Online Users Through Dial-Up?
Solution
Run the display access-user command to query online users:

HRP_M[Slave-aaa] display access-user
  -----------------------------------------------------------------------------
  Total users                        : 1
  Wait authen-ack                    : 0
  Authentication success               : 1
  Accounting ready                   : 1
  Accounting state                    : 0
  Wait leaving-flow-query              : 0
  Wait accounting-start                 : 0
  Wait accounting-stop                 : 0
  Wait authorization-client              : 0
  Wait authorization-server             : 0
  -------------------------------------------------------------------
  Domain-name                        Online-user
  -------------------------------------------------------------------
  default                            : 1
  -------------------------------------------------------------------
  The used CID table are             :
      0
  -----------------------------------------------------------------------------


To query detailed user information, run the display access-user [ domain domain-name | ip-addressip-address | mac-addressmac-address | user-iduser-id | user-nameuser-name] command.

HRP_M[Slave-aaa] display access-user user-id 0
  -------------------------------------------------------------------
  User access index             : 0
  State                        : Used
  User name                   : jtq
  User access VLAN/PVC        : 0
  User MAC                   : ffff-ffff-ffff
  User IP address               : 1.1.1.2
  User access type               : PPP
  User authentication type        : PPP authentication
  Current authen method         : Local authentication
  Authen result                 : Success
  Current author method         : Local authorization
  Author result                 : Success
  Action flag                   : Idle
  Authen state                  : Authed
  Author state                  : Idle
  Accounting method            : No accounting
  Accounting start time           : 2008-03-15 06:09:39
  Accounting state              : Ready
  ACL-number                 : 255
  Priority                      : -
  Up CAR enable               : NO
  Up average rate               : 0(bps)
  Up peak rate                  : 0(bps)
  Down CAR enable             : NO
  Down average rate             : 0(bps)
  Down peak rate                : 0(bps)
  Up packets number(high,low)     : (0,771)
  Up bytes number(high,low)       : (0,42360)
  Down packets number(high,low)   : (0,761)
  Down bytes number(high,low)     : (0,42616)
  -------------------------------------------------------------------

END