1、设置Cisco路由器
=====================================
#test(config)logging on
#test(config)logging trap debugging
#test(config)logging host 192.168.0.1
#test(config)logging facility local4
2、配置Linux服务器
vi /etc/sysconfig/syslog
SYSLOGD_OPTIONS="-r -m 0"
vi /etc/syslog.conf
local4.* /var/log/router.log
touch /var/log/router.log
service syslog restart