D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
165
18
COMMAND LOGGING COMMANDS
The command logging function is used to log the commands that have successfully been configured to the switch via the
command line interface. The requirement is to log the command itself, along with information about the user account that
entered the command into the system log and the informational severity level. Commands that do not cause a change in
the switch configuration or operation (such as show) will not be logged. A save command will change the configuration
file hence it will be logged.
The Command Logging commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameters
enable command logging
disable command logging
show command logging
Each command is listed, in detail, in the following sections.
enable command logging
Purpose Used to enable command logging.
Syntax
enable command logging
Description The enable command logging command is used to enable the command logging function.
Note: When the switch is under the booting procedure, all configuration commands will not be
logged. When the user has logged in using AAA authentication, the user name should not
changed if the user has used the “enable admin” command to replace its privilege.
Parameters None.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the command logging function:
DGS-3627:admin# enable command logging
Command: enable command logging
Success.
DGS-3627:admin#
disable command logging
Purpose Used to disable the command logging function.
Syntax
disable command logging
Description The disable command logging command is used to disable the command logging function.