cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
300
Views
0
Helpful
3
Replies
Highlighted
Beginner

APIC CLI to show all currently active sessions

Is there an equivalent CLI command in APIC to show currently active sessions like when you click on System->Active Sessions (snapshot below).

 

I was looking into netstat, but so far haven't found a solution yet.

 

Thanks.

 

Screen Shot 2020-10-14 at 6.21.30 PM.png

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Cisco Employee

moquery -c aaaActiveUserSession

Regards,

Robert

View solution in original post

Highlighted
Beginner

Hi, pdn2020.

Try the following:
apic1# show aaa sessions 
 Username    User Type   Host             Login Time
 ----------  ----------  ---------------  ------------------------------ 
 admin       local       192.168.1.1      2020-10-16T04:27:08.733+00:00  
 user1       local       192.168.1.2      2020-10-16T04:32:48.238+00:00
Regards,

View solution in original post

3 REPLIES 3
Highlighted
Cisco Employee

moquery -c aaaActiveUserSession

Regards,

Robert

View solution in original post

Highlighted
Beginner

Hi, pdn2020.

Try the following:
apic1# show aaa sessions 
 Username    User Type   Host             Login Time
 ----------  ----------  ---------------  ------------------------------ 
 admin       local       192.168.1.1      2020-10-16T04:27:08.733+00:00  
 user1       local       192.168.1.2      2020-10-16T04:32:48.238+00:00
Regards,

View solution in original post

Highlighted
Beginner

Thanks Robert and Sig.  They both work and are useful.  

Content for Community-Ad