Command Reference Guide

Error! Use the Home tab to apply 見出し 1 to the text that you want to appear here. 86
System host log configuration
The following table describes the Syslog Configuration commands.
Table 78 Syslog Configuration commands
Command
Description
[no] logging host <1-2> address <IP
address> {data-port|mgt-port}
Sets the IP address of the first or second syslog host.
For example, 100.10.1.1
Command mode: Global configuration
logging host <1-2> severity <1-7>
Sets the severity level of the first or second syslog host
displayed. The default is 7, which means log all the
severity levels.
Command mode: Global configuration
logging host <1-2> facility <1-7>
This option sets the facility level of the first or seconds
syslog host displayed. The default is 0.
Command mode: Global configuration
[no] logging console
Enables or disables delivering syslog messages to the
console. When necessary, disabling console ensures
the switch is not affected by syslog messages. It is
enabled by default.
Command mode: Global configuration
[no] logging log {<feature>}
Displays a list of features for which syslog messages
can be generated. You can choose to
enable/disable specific features or enable/disable
syslog on all available features.
Features include:
console
system
mgmt
cli
stg
vlan
ssh
vrrp
ntp
ip
web
ospf
rmon
ufd
802.1x
cfg
Command mode: Global configuration
show logging
Displays the current syslog settings.
Command mode: All