We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now! Here is Why:

  • Learn any CCNA, CCNP and CCIE R&S Topic. Explained As Simple As Possible.
  • Try for Just $1. The Best Dollar You've Ever Spent on Your Cisco Career!
  • Full Access to our 557 Lessons. More Lessons Added Every Week!
  • Content created by Rene Molenaar (CCIE #41726)

 

315 New Members signed up the last 30 days!

satisfaction-guaranteed

100% Satisfaction Guaranteed!
You may cancel your monthly membership at any time.
No Questions Asked!

Tags: , ,


Notable Replies

  1. Hello Laz,
    Would you please explain the functionalities of the below commands at your convenient time? Thank you so much in advance.

    aaa accounting exec default start-stop group tacacs+ 
    aaa accounting commands 1 default stop-only group tacacs+ 
    aaa accounting commands 15 default stop-only group tacacs+
    aaa accounting connection default start-stop group tacacs+ 
    aaa accounting system default start-stop group tacacs+

    Best Regards,
    Az

  2. Hello Azm

    Let's say I have a router on site and I want to keep track of all of the command line activity. Specifically, I want to monitor all of the commands that are entered in the executive mode command line and the processes they invoke. Since I have a TACACS+ server on site, I decide to use that as my accounting server. (I can use RADIUS as well). Lets say I have two TACACS+ servers at 10.10.10.31 and 10.10.10.32.

    The first thing I would do is create an AAA group called my_server_group using the following commands:

    aaa group server tacacs+ my_server_group 
      server 10.10.10.31
      server 10.10.10.32

    Next, I would issue the following command to initiate accounting:

    aaa accounting exec default start-stop group my_server_group

    So, every time someone logs in to the command line and types enable every additional command is sent to the accounting server and is recorded. For example, if I entered the command line and entered:

    show running-config

    the router would send the following information to the configured TACACS+ server:

    Time of command, issuer of command (user name), the command itself, time when the process has been completed.

    Note that the start-stop keyword will send two times to the accounting server, the time the process was initiated, that is, when the command was entered, and the time when the process completed. The stop-only keyword can be used to give only the time of the ending of the process. Most processes are almost instantaneous, however, some may take seconds or even tens of seconds depending on the command.

    So the TACACS+ server will accumulate a log of all of these events, their times and their details so that in the future, if the network goes down because of a mistake in command line commands, you can know who to blame :slight_smile:.

    The other commands are just permutations of this command and just changes what is recorded and how it is recorded.

    I hope this has been helpful!

    Laz

  3. Hello Laz,
    great explanation as usual. A few questions. If I use **aaa accounting exec default start-stop**command, **aaa accounting commands 1 default stop-only** and **aaa accounting commands 15 default stop-only** do not need to be used because the first one will cover everything. Correct? Would you also please explain the below commands:

    aaa accounting connection default start-stop group....
    aaa accounting system default start-stop group.....
    aaa authorization exec default group.......

    Thank you so much.

    Best regards,
    Azm Uddin

  4. Hello Laz,
    Excellent explanation once again. Would you please explain the below commands as well?

    aaa accounting connection default start-stop group....
    aaa accounting system default start-stop group.....
    aaa authorization exec default group.......

    Thanks a lot.

    Best Regards,
    Azm Uddin

  5. Great !!!! Thanks a lot again.

    Azm

Continue the discussion forum.networklessons.com

8 more replies

Participants