2-199
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 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 h as l ogged i n witho ut 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 comma nds
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.