6FOYAz,华三MSR56-60路由器配置日志留存时间
问题描述:
华三MSR56-60路由器如何配置日志留存半年.
[R-1]info-center ?
diagnostic-logfile Diagnostic log file configuration
enable Enable the information center
format Format of syslog message
logbuffer Log buffer configuration
logfile Log file configuration
logging Specify log configuration
loghost Log host configuration
security-logfile Security log file configuration source Informational source settings
synchronous Enable synchronous information output
timestamp Set the time stamp format of the log
trace-logfile Trace log file configuration
[R-1]
组网及组网描述:
需要配合日志服务器使用,本地存留不了半年
13小时前回答暂无
配置日志服务器,把日志转发到日志服务器上
13小时前回答暂无
结合日志服务器
日志主机
#开启信息中心
[SW1]info-center enable
#配置发送日志信息到IP地址为10.88.14.160的日志主机
[SW1]info-center loghost 10.88.14.160
#配置输出规则:允许DEFAULT所有应用模块、等级高于等于debug的日志信息输出到日志主机。
[SW1]info-center source default loghost level debug
暂无
1、找台服务器
2、路由器设置一下日志主机
#开启信息中心
[SW1]info-center enable //开启信息中心
#配置发送日志信息到IP地址为10.88.14.160的日志主机
[SW1]info-center loghost 10.88.14.160 //配置发送日志信息到IP地址为10.88.14.160的日志主机
#配置输出规则:允许DEFAULT所有应用模块、等级高于等于debug的日志信息输出到日志主机。
[SW1]info-center source default loghost level debug //允许DEFAULT所有应用模块、等级高于等于debug的日志信息输出到日志主机
3、服务器上下载一个3cd类似的软件,就可以存在服务器上了,本地保存不了半年。
暂无
你正在,华三MSR56-60路由器配置日志留存时间