What is Syslog?
Syslog stands for system logging protocol and syslog is the standard protocol that is used to send event messages to a specific server called a syslog server it is mainly used to gather various device logs from numerous different machines in a central location for monitoring and review the protocol is enabled on most network equipment such as routers switches firewalls. So here below have the syslog configurations on cisco layer 3 switch.
Fig 1: Syslog |
Syslog
Networkeducative-Switch# configure terminal
Networkeducative-Switch(config)# logging buffered 64000 warnings
Networkeducative-Switch(config)# logging trap notification
Networkeducative-Switch(config)# logging host x.x.x.x
Networkeducative-Switch(config)# logging origin-id ip
Networkeducative-Switch(config)# logging count
Networkeducative-Switch(config)# service sequence-numbers
Networkeducative-Switch(config)# line con 0
Networkeducative-Switch(config)# logging s
Networkeducative-Switch(config)# logging on
Networkeducative-Switch(config)# archive
Networkeducative-Switch(config-archive)# log confi
Networkeducative-Switch(config-archive-log-cfg)# logging enable
Networkeducative-Switch(config-archive-log-cfg)# hidekey
Networkeducative-Switch(config-archive-log-cfg)# notify Sys
Networkeducative-Switch(config-archive-log-cfg)# exit
Networkeducative-Switch(config-archive)# exit
0 Comments