Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5488825
  • 博文数量: 890
  • 博客积分: 12876
  • 博客等级: 上将
  • 技术积分: 10760
  • 用 户 组: 普通用户
  • 注册时间: 2004-10-04 14:18
个人简介

猝然临之而不惊,无故加之而不怒。

文章分类

全部博文(890)

文章存档

2016年(1)

2014年(18)

2013年(41)

2012年(48)

2011年(65)

2010年(84)

2009年(121)

2008年(101)

2007年(129)

2006年(95)

2005年(118)

2004年(69)

分类: 网络与安全

2013-04-25 18:21:43

set syslog enable
set syslog config "172.16.86.102"
set syslog config "172.16.86.102" facilities local3 local3
set syslog src-interface bgroup0

注意:
tcp选项不能够选,因为syslog默认是使用udp协议进行传输的,如果选用了tcp,结果就是无法走tcp传送log到syslog服务器,搞了好久才发现这个问题,如下Juniper Log
system-notification-00019: Syslog has been enabled. (2013-04-25 18:11:41)
system-notification-00019: Syslog server 172.16.86.102 host port number has been changed to 514 (2013-04-25 18:11:41)
system-notification-00019: Syslog facility for 172.16.86.102 has been changed to local3 (2013-04-25 18:11:41)
system-notification-00019: Syslog security facility for 172.16.86.102 has been changed to local3 (2013-04-25 18:11:41)
system-notification-00019: Syslog has been disabled. (2013-04-25 18:11:41)
system-notification-00019: All syslog servers were removed. (2013-04-25 18:11:41)
system-notification-00019: Syslog server 172.16.86.102 was added. (2013-04-25 18:11:41)
system-notification-00019: Syslog has been enabled. (2013-04-25 18:11:40)
system-notification-00019: Transport protocol for syslog server 172.16.86.102 was changed to udp (2013-04-25 18:11:40)

阅读(6748) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~