![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/c1/1c14aeb1-5642-4b9d-bc1a-67ebda29dbba/1c14aeb1-5642-4b9d-bc1a-67ebda29dbba-bgf3.png)
2-199
Catalyst 6500 Series Switch Command Reference—Release 7.6
78-15328-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
set accounting suppress
set accounting suppress
To enable or disable suppression of accounting information for a user who has logged in without a
username, use the set accounting suppress command.
set accounting suppress null-username {enable | disable}
Syntax Description
Defaults The default is accounting is disabled.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines You must configure the TACACS+ servers before you enable accounting.
Examples This example shows how to suppress accounting information for users without a username:
Console> (enable) set accounting suppress null-username enable
Accounting will be suppressed for user with no username.
Console> (enable)
This example shows how to include users without the usernames’ accounting event information:
Console> (enable) set accounting suppress null-username disable
Accounting will be not be suppressed for user with no username.
Console> (enable)
Related Commands set accounting commands
set accounting connect
set accounting exec
set accounting system
set accounting update
set tacacs server
show accounting
null-username Specifies users must have a user ID.
enable Enables suppression for a specified user.
disable Disables suppression for a specified user.