37.2.4.1 Additional User Command Examples
The following commands display the users that are currently logged in to the UAG and forces the
logout of all logins from a specific IP address.
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_Type: re-auth-time
Re_Auth_Timeout: unlimited
Due_time: N/A
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_Type: re-auth-time
Re_Auth_Timeout: unlimited
Due_time: N/A
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_Type: re-auth-time
Re_Auth_Timeout: unlimited
Due_time: N/A
User_Info: admin
UAG CLI Reference Guide
Chapter 37 User/Group
205