安装GCC引发的一系列问题
2012-04-30 19:40
1211 查看
使用syslog记录Cisco设备日志
以下配置描述了如何将Cisco设备的日志发往syslog服务器
device#conf t
device(config)#logging on
device(config)#logging a.b.c.d //日志服务器的IP地址
device(config)#logging facility local1
//facility标识, RFC3164 规定的本地设备标识为 local0 - local7
device(config)#logging trap errors //日志记录级别,可用"?"查看详细内容
device(config)#logging source-interface e0 //日志发出用的源IP地址
device(config)#service timestamps log datetime localtime
//日志记录的时间戳设置,可根据需要具体配置
检验
device#sh logging
以下配置描述了如何将Cisco设备的日志发往syslog服务器
device#conf t
device(config)#logging on
device(config)#logging a.b.c.d //日志服务器的IP地址
device(config)#logging facility local1
//facility标识, RFC3164 规定的本地设备标识为 local0 - local7
device(config)#logging trap errors //日志记录级别,可用"?"查看详细内容
device(config)#logging source-interface e0 //日志发出用的源IP地址
device(config)#service timestamps log datetime localtime
//日志记录的时间戳设置,可根据需要具体配置
检验
device#sh logging
相关文章推荐
- mac安装numpy引发的一系列问题
- 【Gapps】安装GooglePlay引发一系列问题
- 【Gapps】安装GooglePlay引发一系列问题
- Win7安装msu文件失败引发的一系列问题
- 安装不慎造成系统目录非WINDOWS引发的一系列问题
- Linux安装GCC的一系列问题的解决
- 我的天 安装secutecrt 出现一系列问题
- redhad安装gcc问题---解决依赖问题
- centos7 安装VMware Tools 遇到的一系列问题的解决方案
- 新装ubuntu时出现的一系列安装问题
- 解决安装Xcode后无法在终端执行gcc的问题
- 一个detect问题引发的一系列思考
- Centos6.3使用rpm安装gcc时遇到的问题
- : 尝试加载 Oracle 客户端库时引发 BadImageFormatException。如果在安装 32 位 Oracle 客户端组件的情况下以 64 位模式运行,将出现此问题。 ---> System.BadImageFormatException: 试图加载格式不正确的程序。
- 尝试加载 Oracle 客户端库时引发 BadImageFormatException。如果在安装 32 位 Oracle 客户端组件的情况下以 64 位模式运行,将出现此问题。
- 安装SQL Server2K可能引发一个严重问题
- ScrollView和ListView混用时引发的一系列问题的解决方案
- 机群上安装GCC时出现的包依赖问题
- 安装SQL Server2K可能引发一个严重问题
- GCC版本问题引发的floating point exception