免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5843 | 回复: 5

请问在Cisco路由器里如何查看系统最后一次被修改是什么时候? [复制链接]

论坛徽章:
0
发表于 2003-01-14 22:33 |显示全部楼层
请问在Cisco路由器里如何查看系统最后一次被修改是什么时候?是哪台计算机修改的(IP地址或MAC)?

论坛徽章:
0
发表于 2003-01-14 23:12 |显示全部楼层

请问在Cisco路由器里如何查看系统最后一次被修改是什么时候?

你可以使使sh log如果没有被覆盖的话,里面会有的

论坛徽章:
0
发表于 2003-01-15 11:13 |显示全部楼层

请问在Cisco路由器里如何查看系统最后一次被修改是什么时候?

对于关键设备最好还是做syslog server
这样可以比较好的监控

论坛徽章:
0
发表于 2003-01-15 12:36 |显示全部楼层

请问在Cisco路由器里如何查看系统最后一次被修改是什么时候?

那请问如何做:syslog server
我是cisco菜鸟,请各位详细讲解,谢谢

论坛徽章:
0
发表于 2003-01-15 12:47 |显示全部楼层

请问在Cisco路由器里如何查看系统最后一次被修改是什么时候?

Syslog is a method to collect messages from devices to a server running a syslog daemon. Logging to a central syslog server helps in aggregation of logs and alerts. Cisco devices can send their log messages to a Unix-style SYSLOG service. A SYSLOG service simply accepts messages, and stores them in files or prints them according to a simple configuration file. This form of logging is the best available for Cisco devices because it can provide protected long-term storage for logs. This is useful both in routine troubleshooting and in incident handling.

论坛徽章:
0
发表于 2003-01-15 12:50 |显示全部楼层

请问在Cisco路由器里如何查看系统最后一次被修改是什么时候?

Logging Messages to a UNIX Syslog Server
To log messages to the syslog server host, use the logging router configuration command. The full syntax of this command follows:

logging ip-address
no logging ip-address
The logging command identifies a syslog server host to receive logging messages. The ip-address argument is the IP address of the host. By issuing this command more than once, you build a list of syslog servers that receive logging messages.

The no logging command deletes the syslog server with the specified address from the list of syslogs.

Limiting Messages to a Syslog Server
To limit how many messages are sent to the syslog servers, use the logging trap router configuration command. The full syntax of this command follows:

logging trap level
no logging trap
The logging trap command limits the logging messages sent to syslog servers to messages with a level up to and including the specified level argument. The level argument is one of the keywords listed in Table 1-1.

To send logging messages to a syslog server, specify its host address with the logging command.

The default trap level is informational.

The no logging trap command disables logging to syslog servers.

The current software generates four categories of syslog messages:

Error messages about software or hardware malfunctions, displayed at the errors level.


Interface up/down transitions and system restart messages, displayed at the notification level.


Reload requests and low-process stack messages, displayed at the informational level.


Output from the debug commands, displayed at the debugging level.


The privileged EXEC command show logging displays the addresses and levels associated with the current logging setup. The command output also includes ancillary statistics.

Example of Setting Up a UNIX Syslog Daemon
To set up the syslog daemon on a 4.3 BSD UNIX system, include a line such as the following in the file /etc/syslog.conf:

local7.debugging /usr/adm/logs/tiplog

The local7 keyword specifies the logging facility to be used.

The debugging keyword specifies the syslog level. See Table 1-1 for other keywords that can be listed.

The UNIX system sends messages at or above this level to the specified file, in this case /usr/adm/logs/tiplog. The file must already exist, and the syslog daemon must have permission to write to it.

For the System V UNIX systems, the line should read as follows:

local7.debug /usr/admin/logs/cisco.log
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP