Chapter 24 User/Group

24.2.5.1 Additional User Command Examples

The following commands display the users that are currently logged in to the NXC and forces the logout of all logins from a specific IP address.

Router# configure terminal

 

 

Router(config)# show users all

Role

Type

No. Name

 

MAC

Idle Time

Service

From

Session Time

Lease Timeout

Re-Auth. Timeout

Acct. Status

Profile Name

 

 

===============================================================================

1

admin

 

admin

admin

 

00:35:36

unlimited

console

console

 

00:30:00

unlimited

2

-

N/A

admin

admin

admin

 

 

00:04:06

unlimited

http/https

192.168.1.5

 

00:25:57

unlimited

3

-

N/A

admin

admin

admin

 

 

00:03:39

unlimited

http/https

192.168.1.5

 

00:26:25

unlimited

 

-

N/A

 

 

Router(config)# users force-logout 192.168.1.5

 

Logout user 'admin'(from 192.168.1.5): OK

 

Logout user 'admin'(from 192.168.1.5): OK

 

Total 2 users have been forced logout

 

 

Router(config)# show users all

Role

Type

No.

Name

 

 

MAC

Idle Time

Service

From

 

Session Time

Lease Timeout

Re-Auth. Timeout

 

Acct. Status

Profile Name

 

 

===============================================================================

1

admin

 

admin

admin

 

00:37:22

unlimited

console

console

 

00:30:00

unlimited

 

-

N/A

 

 

 

175

NXC CLI Reference Guide