FAQ-如何查看L2TP拨号接入的用户

发布时间:  2014-09-18 浏览次数:  441 下载次数:  0
问题描述
如何查看L2TP拨号接入的用户?
解决方案
display access-user命令可以查看在线用户,如下:
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
  -----------------------------------------------------------------------------

如果要查看具体用户信息,可以使用命令display access-user [ domain domain-name | ip-address ip-address | mac-address mac-address | user-id user-id | user-name user-name]:
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