15-1  enable command logging 
Description 
This command is used to enable the command logging function. 
Note: When the Switch is under booting procedure, all configuration command should not be 
logged. When the user under AAA authentication, the user name should not changed if user 
uses “enable admin” command to replace its privilege. 
 
Format 
enable command logging 
 
Parameters 
None. 
 
Restrictions 
Only Administrator-level users can issue this command. 
 
Example 
To enable the command logging function: 
Command: enable command logging 
 
Success. 
 
DGS-3120-24TC:admin# 
 
15-2  disable command logging 
Description 
This command is used to disable the command logging function. 
 
Format 
disable command logging