Syslog-ng working for ASA5510
原创
©著作权归作者所有:来自51CTO博客作者itseeker的原创作品,请联系作者获取转载授权,否则将追究法律责任
To setup a syslog server for archiving syslog of ASA5510, i think it will let us easy to check some incidents. On datacenter, there is a suse linux 10 for MRTGing whole network infrastructure . i plant to run a syslog service on the linux server. After checking the server. i found syslog-ng was running . so just modify the syslog-ng.conf.
syslog-ng.conf loactes in /etc/syslog-ng , i just added below content in the file:
#define the destination which will be syslogged.
source ASA5510 (
udp ();
} ;
#define a filter . for log level
filter f_asa ( facility (local7););
#define log options
destination asa5510 { file ("/var/log/ASA5510.log");};
log {source (ASA5510); filter (f_asa); destination (asa5510); };
Then , i need to enable syslog logging on ASA5510:
logging enable
logging trap informational
logging host inside 192.168.0.100 format emblem
Last, SYSLOG-NG service should be started :
/sbin/syslog-ng start
To confirm the configration works:
cat /var/log/ASA5510.log
If you will get content about firewall , congratulate, syslog-ng works.

提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
cisco asa5510配置
ASA5510实战
cisco asa 5510 -
SUSE syslog-ng 设置
suse syslog-ng设置
设置 syslog-ng