Configuring Accounting Services
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
Configuring Accounting Services
Accounting refers to the log information that is kept for each management session in a switch. This
information may be used to generate reports for troubleshooting and auditing purposes. Accounting can
be implemented locally or remotely (using RADIUS). The default maximum size of the accounting log
is 250,000 bytes and cannot be changed.
The Cisco MDS 9000 Family switch uses interim-update RADIUS accounting-request packets to
Tip
communicate accounting log information to the RADIUS server. The RADIUS server must be
appropriately configured to log the information communicated in these packets. Several servers typically
have log update/watchdog packets flags in the AAA client configuration. Turn on this flag to ensure
proper RADIUS accounting.
Configuration operations are automatically recorded in the accounting log if they are performed in
Note
configuration mode. Additionally, important system events (for example, configuration save and system
switchover) are also recorded in the accounting log.
Displaying Accounting Configuration
To display configured accounting information use show accounting command. See Examples
34-17. To specify the size of the local accounting log to be displayed, use the show accounting log
command. By default about 250 KB of accounting log is displayed.
Example 34-15 Displays Two Samples of Configured Accounting Parameters
switch# show accounting config
show aaa accounting
switch# show aaa accounting
Example 34-16 Displays 60,000 Bytes of the Accounting Log
switch# show accounting log 60000
Fri Jan 16 15:28:21 1981:stop:snmp_348506901_64.104.131.208:admin:
Fri Jan 16 21:17:04 1981:start:/dev/pts/0_348527824:admin:
Fri Jan 16 21:35:45 1981:update:/dev/pts/0_348527824:admin:updated RADIUS parameters for
group:Group1
Fri Jan 16 21:35:51 1981:update:/dev/pts/0_348527824:admin:updated RADIUS parameters for
group:Group1
Fri Jan 16 21:35:51 1981:update:/dev/pts/0_348527824:admin:updated RADIUS parameters for
group:Group5
Fri Jan 16 21:35:55 1981:update:/dev/pts/0_348527824:admin:updated RADIUS parameters for
group:Group5
Cisco MDS 9000 Family CLI Configuration Guide
34-36
default: group TacServer local none
console: local none
iscsi: local
dhchap: local
default: local
default: group rad1
Chapter 34
Configuring RADIUS and TACACS+
OL-18084-01, Cisco MDS NX-OS Release 4.x
34-15
to