User Manual

Table Of Contents
IPv4 address of the SYSLOG server
: X:X::X:X
IPv6 address of the SYSLOG server
If you specify an IPv6 link local address, you must also specify the output interface (fe80::X%vlanN
format)
[Initial value]
no logging host
[Input mode]
global configuration mode
[Description]
Specifies the IP address of the SYSLOG server to which log notifications are sent.
Up to 2 entries can be specified.
If this command is executed with the "no" syntax, the setting returns to its default value, and notifications are not sent.
[Example]
Set the SYSLOG server IPv4 address to 192.168.100.1.
SWR2311P(config)#logging host 192.168.100.1
Set the SYSLOG server IPv6 address to fe80::2a0:deff:fe11:2233.
SWR2311P(config)#logging host fe80::2a0:deff:fe11:2233%vlan1
4.9.2 Set log output level (debug)
[Syntax]
logging trap debug
no logging trap debug
[Initial value]
no logging trap debug
[Input mode]
global configuration mode
[Description]
Output the debug level log to SYSLOG. If this command is executed with the "no" syntax, the log is not output.
Since enabling debug level will output a large volume of log data, you should enable this only if necessary.
If you use the logging host command to send notifications to the SYSYLOG server, you should ensure that there is sufficient
disk space on the host. With the default setting, this is not output.
[Example]
Output the debug level log to SYSLOG.
SWR2311P(config)#logging trap debug
4.9.3 Set log output level (informational)
[Syntax]
logging trap informational
no logging trap informational
[Initial value]
logging trap informational
[Input mode]
global configuration mode
[Description]
Outputs the informational level log to SYSLOG.
If this command is executed with the "no" syntax, the log is not output.
50 | Command Reference | Maintenance and operation functions