Cisco WS-C4003 Software Guide - Page 414
Step 6, Con accounting to be updated as new
View all Cisco WS-C4003 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 414 highlights
Configuring Accounting Chapter 27 Configuring Switch Access Using AAA Step 6 Step 7 Task Configure accounting to be updated as new information is available. Verify the accounting configuration. Command set accounting update {new-info | {periodic [interval]}} show accounting This example shows how to enable stop-only TACACS+ accounting events: Console> (enable) set accounting connect enable stop-only tacacs+ Accounting set to enable for connect events in stop-only mode. Console> (enable) Console> (enable) set accounting exec enable stop-only tacacs+ Accounting set to enable for exec events in stop-only mode. Console> (enable) Console> (enable) set accounting system enable stop-only tacacs+ Accounting set to enable for system events in stop-only mode. Console> (enable) Console> (enable) set accounting commands enable all stop-only tacacs+ Accounting set to enable for commands-all events in stop-only mode. Console> (enable) This example shows how to suppress accounting of unknown users: Console> (enable) set accounting suppress null-username enable Accounting will be suppressed for user with no username. Console> (enable) This example shows how to periodically update the server: Console> (enable) set accounting update periodic 120 Accounting updates will be periodic at 120 minute intervals. Console> (enable) This example shows how to verify the configuration: Console> (enable) show accounting Event Method Mode ----- ------- ---- exec: tacacs+ stop-only connect: tacacs+ stop-only system: tacacs+ stop-only commands: config: - - all: tacacs+ stop-only TACACS+ Suppress for no username: enabled Update Frequency: periodic, Interval = 120 Accounting information: Active Accounted actions on tty0, User (null) Priv 0 Active Accounted actions on tty288091924, User (null) Priv 0 Overall Accounting Traffic: Starts Stops Active Exec 0 0 0 Connect 0 0 0 Command 0 0 0 System 1 0 0 Console> (enable) 27-60 Software Configuration Guide-Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4 78-12647-02