Qtech QSW-8200-52T-AC [5/25] Logging executed commands

Qtech QSW-8200-28F-AC [5/25] Logging executed commands
User Manual
Chapter 1. Commands for Show 5
www.qtech.ru
Parameter: <ipv4-addr> is the IPv4 address of the host, <ipv6-addr> is the IPv6
address of the host; <local-number> is the recording equipment of the host with a valid
range of local0local7, which is in accordance with the facility defined in the RFC3164;
<severity> is the severity threshold of the log information severity level. The rule of the
log information output is explained as follows: only those with a level equal to or higher
than the threshold will be outputted. For detailed description on the severity please
refer to the operation manual.
Command Mode: Global Mode
Default: No log information output to the log host by default. The default recorder of
the log host is the local0; the default severity level is warnings.
Usage Guide: Only when the log host is configured by the logging command, this
command will be available. We can configure many IPv4 and IPv6 log hosts.
Example 1: Send the log information with a severity level equal to or higher than
warning to the log server with an IPv4 address of 100.100.100.5, and save to the log
recording equipment local1.
Switch(config)# logging 100.100.100.5 facility local1 level warnings
Example 2: Send the log information with a severity level equal to or higher than
informational to the log server with an IPv6 address of 3ffe:506:1:2::3, and save to the
log recording equipment local5.
Switch(config)# logging 3ffe:506:1:2::3 facility local1 level informational
1.5 logging executed-commands
Command: logging executed-commands {enable | disable}
Function: Enable or disable the logging executed-commands.
Parameter: None.
Command Mode: Global mode.
Default: Disable state.
Usage Guide: After enable this command, the commands executed by user at the
console, telnet or ssh terminal will record the log, so it should be used with the logging
LOGHOST command.
Example: Enable the command and send the commands executed by user into log host
(10.1.1.1)
Switch(Config)#logging 10.1.1.1
Switch(Config)#logging executed-commands enable
1.6 logging loghost sequence-number
Command: logging loghost sequence-number
no logging loghost sequence-number

Похожие устройства