کد:
To enable TACACS+ accounting for:
- If you get the switch prompt, issue the set accounting exec enable start-stop tacacs+ command.
- Users that Telnet out of the switch issue the set accounting connect enable start-stop tacacs+ command.
- If you reboot the switch, issue the set accounting system enable start-stop tacacs+ command.
- Users that perform commands, issue the set accounting commands enable all start-stop tacacs+ command.
- Reminders to the server, for example, to update records once a minute to show that the user is still logged in, issue the set accounting update periodic 1 command.
To enable RADIUS accounting for:
- Users that get the switch prompt, issue the set accounting exec enable start-stop radius command.
- Users that Telnet out of the switch, issue the set accounting connect enable start-stop radius command.
- Rebooting the switch, issue the set accounting system enable start-stop radius command.
- Reminders to the server, for example, to update records once a minute to show that the user is still logged in, issue the set accounting update periodic 1 command.