Cisco WS-C6506 Software Manual page 990

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

Configuring Accounting on the Switch
Enabling Accounting
To enable accounting on the switch, perform this task in privileged mode:
Task
Step 1
Enable accounting for connection events.
Step 2
Enable accounting for EXEC mode.
Step 3
Enable accounting for system events.
Step 4
Enable accounting of configuration commands.
Step 5
Enable suppression of information for unknown
users.
Step 6
Configure accounting to be updated as new
information is available.
Step 7
Verify the accounting configuration.
This example shows how to enable the 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 update the server periodically:
Console> (enable) set accounting update periodic 120
Accounting updates will be periodic at 120 minute intervals.
Console> (enable)
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
39-56
Chapter 39
Configuring the Switch Access Using AAA
Command
set accounting connect enable {start-stop |
stop-only} {tacacs+ | radius}
set accounting exec enable {start-stop |
stop-only} {tacacs+ | radius}
set accounting system enable {start-stop |
stop-only} {tacacs+ | radius}
set accounting commands enable {config | all}
{stop-only} tacacs+
set accounting suppress null-username enable
set accounting update {new-info | {periodic
[interval]}}
show accounting
OL-8978-04

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents