The following procedure enables command accounting on a device where login accounting is enabled and command accounting is disabled.
device# configure terminal Entering configuration mode terminal
device(config)# aaa accounting command default start-stop tacacs+
device(config)# exit
device# show running-config aaa accounting aaa accounting exec default start-stop none aaa accounting commands default start-stop tacacs+