10-22-2009 06:34 AM - edited 03-06-2019 08:15 AM
Hello All,
I want to configure my switch to show me logs of all the activities performed by a any specific user which is created on that switch.
I donot have tacacs server .
I have used the below command to achive so but cudnt succeed.
aaa new-model
aaa authentication login default group tacacs+ local
username test privilege 15 password 0 test
But when i see sh log command it is only shows as below-
%SYS-5-CONFIG_I: Configured from console by test1 on conso
le
But i want to see some thing as test1 user has shutdown vlan 10 for example and if any other user also do some global changes on the switch it should show exactly in the switch lile what that user has done.
Can this be possible, please help me .
Appreciate your help.
Thanks,
Mirza.
10-22-2009 06:43 AM
At this moment, you can only do that in routers, not switches - with the 'archive logging enable' command
http://www.cisco.com/en/US/docs/ios/fundamentals/command/reference/cf_a1.html#wp1018716
Without this command, you need a TACACS+ server and have AAA accounting configured in the switch.
Regards
Edison.
10-22-2009 09:31 PM
Hello Edison,
Thanks for your post!
I am not able to achieve my desired result
with the above post.
Can you suggest me how this command will help me to show per user log of their changes what i type in the global mode.. when we want to see in Sh log command.
Thanks,
Mirza.
10-23-2009 04:11 AM
hi try this,
logging history notifications
logging trap notifications
logging source-interface Vlan1
logging 192.168.X.X
192.168.x.x is your logging server.
Thaks.
Thinakaraj.M
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: