Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

IOS XR command history and session history

Hi;

Is there a way to find out what commands were  issued by an administrator during a log in session on ASR 9000?

How could i get a complete hisory of the login session on ios xr.

regards

2 REPLIES
Cisco Employee

IOS XR command history and session history

Hi Jalal,

you can use the command

show cli history det

Example:

RP/0/RP1/CPU0:Router#sh cli history det

No.        Username            Line               Client                             Time Command

---- --------------- --------------- -------------------- -------------------------------- -------

   1             hfr            vty1               config Mon Feb  6 10:19:54.567 2012 CET class-map QOS_GROUP_1

   2             hfr            vty1               config Mon Feb  6 10:20:01.245 2012 CET match qos-group 1

   3             hfr            vty1               config Mon Feb  6 10:20:06.520 2012 CET exit

   4             hfr            vty1               config Mon Feb  6 10:20:22.027 2012 CET policy-map DATA_TO_VIPNET

   5             hfr            vty1               config Mon Feb  6 10:20:29.439 2012 CET class QOS_GROUP_1

   6             hfr            vty1               config Mon Feb  6 10:20:59.916 2012 CET police rate percent 50

   7             hfr            vty1               config Mon Feb  6 10:21:09.207 2012 CET conform-action transmit

   8             hfr            vty1               config Mon Feb  6 10:21:14.651 2012 CET exceed-action drop

   9             hfr            vty1               config Mon Feb  6 10:21:16.576 2012 CET exit

  10             hfr            vty1               config Mon Feb  6 10:21:18.382 2012 CET exit

  11             hfr            vty1               config Mon Feb  6 10:21:42.249 2012 CET policy-map fcavalie 

  12             hfr            vty1               config Mon Feb  6 10:21:47.098 2012 CET class class-default

.....

HTH

/vadim

New Member

thanks a lot, that was

thanks a lot, that was exactly what I was looking for

1989
Views
0
Helpful
2
Replies
CreatePlease login to create content