1-18
Through combined configuration of the device name (facility), information severity level threshold
(severity), module name (filter) and the file “syslog.conf”, you can sort information precisely for filtering.
Log Output to the Console
Network requirements
The switch sends the following information to the console: the log information of the two modules ARP
and IP, with severity higher than “informational”.
Network diagram
Figure 1-3
Network diagram for log output to the console
Configuration procedure
# Enable the information center.
<Switch> system-view
[Switch] info-center enable
# Disable the function of outputting information to the console channels.
[Switch] undo info-center source default channel console
# Enable log information output to the console. Permit ARP and IP modules to output log information
with severity level higher than informational to the console.
[Switch] info-center console channel console
[Switch] info-center source arp channel console log level informational debug state off trap
state off
[Switch] info-center source ip channel console log level informational debug state off trap
state off
# Enable terminal display.
<Switch> terminal monitor
<Switch> terminal logging
Configuration Example
Network requirements
z
The switch is in the time zone of GMT+ 08:00:00.
z
The time stamp format of output log information is date.
z
UTC time zone will be added to the output information of the information center.
Содержание Switch 4210 52-Port
Страница 253: ...ii Configuring Dropping Unknown Multicast Packets 3 2 Displaying Common Multicast Configuration 3 3 ...
Страница 434: ...3 13 Switch Ethernet1 0 2 ip source static binding ip address 1 1 1 1 mac address 0001 0001 0001 ...
Страница 675: ...ii Configuring a Scheduled Task 5 1 Scheduled Task Configuration Example 5 2 ...
Страница 695: ...2 2 ...
Страница 867: ...i Table of Contents Appendix A Acronyms A 1 ...