ZyXEL Communications 3.1 User Manual

Page of 386
Chapter 26 User/Group
ZyWALL (ZLD) CLI Reference Guide
236
26.2.5.1  Additional User Command Examples
The following commands display the users that are currently logged in to the ZyWALL and forces 
the logout of all logins from a specific IP address.
The following commands display the users that are currently locked out and then unlocks the user 
who is displayed.
Router# configure terminal
Router(config)# show users all
No: 0
  Name: admin
  Type: admin
  From: console
  Service: console
  Session_Time: 25:46:00
  Idle_Time: unlimited
  Lease_Timeout: unlimited
  Re_Auth_Timeout: unlimited
  User_Info: admin
No: 1
  Name: admin
  Type: admin
  From: 192.168.1.34 
  Service: http/https
  Session_Time: 00:02:26
  Idle_Time: unlimited
  Lease_Timeout: unlimited
  Re_Auth_Timeout: unlimited
  User_Info: admin
Router(config)# users force-logout 192.168.1.34 
Logout user 'admin'(from 192.168.1.34 ): OK
Total 1 user has been forced logout
Router(config)# show users all
No: 0
  Name: admin
  Type: admin
  From: console
  Service: console
  Session_Time: 25:48:33
  Idle_Time: unlimited
  Lease_Timeout: unlimited
  Re_Auth_Timeout: unlimited
  User_Info: admin
Router# configure terminal
Router(config)# show lockout-users
No.  Username Tried                  From            Lockout Time Remaining
===========================================================================
No.  From            Failed Login Attempt    Record Expired Timer
===========================================================================1    
172.16.1.5             2                       46
Router(config)# unlock lockout-users 172.16.1.5
User from 172.16.1.5 is unlocked
Router(config)# show lockout-users
No.  Username Tried                  From            Lockout Time Remaining
===========================================================================
No.  From            Failed Login Attempt    Record Expired Timer
===========================================================================