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
32-36
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 32 Configuring RADIUS and
Configuring Accounting Services
default: group TacServer local none
console: local none
iscsi: local
dhchap: local
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.
Tip
The Cisco MDS 9000 Family switch uses
interim-update RADIUS accounting-request packets to
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.
Note
Configuration operations are automatically recorded in the accounting log if they are performed in
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
32-15
to
32-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 32-15 Displays Two Samples of Configured Accounting Parameters
switch#
show accounting config
show aaa accounting
default: local
switch#
show aaa accounting
default: group rad1
Example 32-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