Raj,
Below are URLs which will walk you through example of configuring local AAA router authorization and accounting.
Note that you can not do accounting for command(s) on a local router, you need a AAA server for that, although you can use accounting for exec sessions locally.
Implementing Local Router Authorization
-------------------------------------------------------
http://www.cisco.com/univercd/cc/td/doc/cisintwk/intsolns/secsols/aaasols/c262c2.htm#xtocid160214
Implementing Local Router Accounting
-------------------------------------------------------
http://www.cisco.com/univercd/cc/td/doc/cisintwk/intsolns/secsols/aaasols/c262c2.htm#xtocid160215
Hope that helps.
R/Yusuf