466
C
HAPTER
40: I
NFORMATION
C
ENTER
After all the above operations, the switch can record information in the
corresponding log file.
n
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 155
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 debu
g 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
■
The switch is in the time zone of GMT+ 08:00:00.
■
The time stamp format of output log information is date.
■
UTC time zone will be added to the output information of the information
center.
Network diagram
Figure 156
Network diagram
PC
Console
Switch
Summary of Contents for Switch 4210 9-Port
Page 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Page 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Page 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Page 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Page 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Page 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Page 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Page 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Page 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Page 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Page 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Page 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Page 340: ...338 CHAPTER 30 CLUSTER ...
Page 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Page 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Page 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Page 451: ......
Page 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Page 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Page 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...