For Authorization method list we will use custom list (not default one)
Router(config)# aaa authorization command 1 TAC1 group tacacs+ local
Router(config)# aaa authorization command 2 TAC2 group tacacs+ local
For Accounting method list
Router(config)# aaa accounting command 1 TAC-ACT1 start-stop group tacacs+
Router(config)# aaa accounting command 2 TAC-ACT2 start-stop group tacacs+
Apply Authorization and Accounting to line vty
Router(config)# line vty 0 4
Router(config-line)# authorization commands 1 TAC1Router(config-line)# authorization commands 2 TAC2Router(config-line)# accounting commands 1 TAC-ACT1Router(config-line)# accounting commands 2 TAC-ACT2
No comments:
Post a Comment