免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1362 | 回复: 0
打印 上一主题 下一主题

日志服务器如何记录所有7206信息? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-05-16 14:34 |只看该作者 |倒序浏览
作了日志服务器,使用
3cdaemon  Ip:172.16.0.16
7206:172.16.0.1
我想知道7206的详细信息,主要是 ip nat 信息
在7206上配置
#logging on
#logging 172.16.0.16
结果在3cdaemon的syslog上记录如下:

May 16 11:07:51 local Listening for Syslog messages on IP address: 172.16.0.16
May 16 11:13:07 172.16.0.1 45: *May 15 03:43:47: %SYS-5-CONFIG_I: Configured from console by vty0 (172.16.0.16)
May 16 11:14:37 172.16.0.1 46: *May 15 03:45:18: %SYS-5-CONFIG_I: Configured from console by vty0 (172.16.0.16)
May 16 11:18:20 172.16.0.1 47: *May 15 03:49:01: %SYS-5-CONFIG_I: Configured from console by vty0 (172.16.0.16)
May 16 11:18:39 172.16.0.1 48: *May 15 03:49:20: %SYS-5-CONFIG_I: Configured from console by vty0 (172.16.0.16)
May 16 11:19:33 172.16.0.1 49: *May 15 03:50:14: %SYS-5-CONFIG_I: Configured from console by vty0 (172.16.0.16)
May 16 11:40:47 local Listening for Syslog messages on IP address: 172.16.0.16


重新配置7206:

#conf t
#logging on
#logging 172.16.0.16
#logging facility local7
#logging trap 7
#logging source-interface f0/0 (0口为内网出口)
#service timestamps log datetime localtime

结果依然是
结果在3cdaemon的syslog上记录如下:

May 16 11:07:51 local Listening for Syslog messages on IP address: 172.16.0.16
May 16 11:13:07 172.16.0.1 45: *May 15 03:43:47: %SYS-5-CONFIG_I: Configured from console by vty0 (172.16.0.16)
May 16 11:14:37 172.16.0.1 46: *May 15 03:45:18: %SYS-5-CONFIG_I: Configured from console by vty0 (172.16.0.16)
May 16 11:18:20 172.16.0.1 47: *May 15 03:49:01: %SYS-5-CONFIG_I: Configured from console by vty0 (172.16.0.16)
May 16 11:18:39 172.16.0.1 48: *May 15 03:49:20: %SYS-5-CONFIG_I: Configured from console by vty0 (172.16.0.16)
May 16 11:19:33 172.16.0.1 49: *May 15 03:50:14: %SYS-5-CONFIG_I: Configured from console by vty0 (172.16.0.16)
May 16 11:40:47 local Listening for Syslog messages on IP address: 172.16.0.16


大家说怎么设呀>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;>;
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP