配置如下archive命令,可以记录登录到设备,具体配置了哪些命令:

R3(config)#archive
R3(config-archive)#log config
R3(config-archive-log-cfg)#
R3(config-archive-log-cfg)#logging enable
R3(config-archive-log-cfg)#notify syslog

R3#sho logging
Syslog logging: enabled (11 messages dropped, 0 messages rate-limited,
                0 flushes, 0 overruns, xml disabled, filtering disabled)
    Console logging: level debugging, 35 messages logged, xml disabled,
                     filtering disabled
    Monitor logging: level debugging, 0 messages logged, xml disabled,
                     filtering disabled
    Buffer logging: level debugging, 16 messages logged, xml disabled,
                    filtering disabled
    Logging Exception size (4096 bytes)
    Count and timestamp logging messages: disabled

No active filter modules.

Trap logging: level informational, 38 message lines logged

Log Buffer (4096 bytes):

*Mar  1 00:19:35.555: %SYS-5-CONFIG_I: Configured from console by console
*Mar  1 00:19:52.779: %SYS-5-CONFIG_I: Configured from console by console
*Mar  1 00:20:44.227: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:logging enable
*Mar  1 00:20:47.935: %SYS-5-CONFIG_I: Configured from console by console
*Mar  1 00:20:56.847: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:interface Ethernet0/0
*Mar  1 00:21:00.967: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:ip address 23.1.1.3 255.255.255.0
*Mar  1 00:21:01.731: %SYS-5-CONFIG_I: Configured from console by console
*Mar  1 00:22:12.543: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:username cisco password cisco
*Mar  1 00:22:12.543: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:!config: USER TABLE MODIFIED
*Mar  1 00:22:13.327: %SYS-5-CONFIG_I: Configured from console by console
*Mar  1 00:22:45.299: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:archive
*Mar  1 00:22:50.751: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:log config
*Mar  1 00:23:00.003: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:notify syslog
*Mar  1 00:23:12.295: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:logging enable
*Mar  1 00:33:32.739: %PARSER-5-CFGLOG_LOGGEDCMD: User:console  logged command:notify syslog
*Mar  1 00:33:38.299: %SYS-5-CONFIG_I: Configured from console by console

关于archive(feature)的更多相关文章

  1. Flashback Data Archive ( Oracle Total Recall ) introduced in 11g

    Flashback Data Archive feature is part of Oracle Total Recall technology. Flashback Data Archive fea ...

  2. Apple Reject

    2016年11月10日 上午1:15 发件人 Apple 2. 1 PERFORMANCE: APP COMPLETENESS Thank you for your resubmission. Per ...

  3. [转载] HDFS and Erasure Codes (HDFS-RAID)

    The Hadoop Distributed File System has been great in providing a cloud-type file system. It is robus ...

  4. Linux获取当前目录名,shell获取当前目录名

    想把当前目录名保存到一个变量中,然后用在别的地方 ${PWD##*/} 测试: cd /var/log/squid echo ${PWD##*/} 还有很多种方法,请参考这个老外写的: http:// ...

  5. 学习笔记之 初试Caffe,Matlab接口提取feature

    Caffe 提供了matlab接口,可以用于提取图像的feature.

  6. Software: MPEG-7 Feature Extraction Library

    Software MPEG-7 Feature Extraction Library : This library is adapted from MPEG-7 XM Reference Softwa ...

  7. WordPress 主题开发 - (十三) Archive模板 待翻译

    What archive.php does (and all its related templates) is show posts based on a select criteria. A da ...

  8. 【UVA】658 - It's not a Bug, it's a Feature!(隐式图 + 位运算)

    这题直接隐式图 + 位运算暴力搜出来的,2.5s险过,不是正法,做完这题做的最大收获就是学会了一些位运算的处理方式. 1.将s中二进制第k位变成0的处理方式: s = s & (~(1 < ...

  9. Feature Selection Can Reduce Overfitting And RF Show Feature Importance

    一.特征选择可以减少过拟合代码实例 该实例来自机器学习实战第四章 #coding=utf-8 ''' We use KNN to show that feature selection maybe r ...

随机推荐

  1. Lose it!

    You are given an array aa consisting of nn integers. Each aiai is one of the six following numbers:  ...

  2. 转:unittest的几种运行方式

    #unittest-test.py import unittestfrom demo import RunMainimport HtmlTestRunner class TestMethod(unit ...

  3. schroeder reverb matlab实现

    原理参考:Natural sounding artificial reverberation combFilter.m: function output = combFilter(delay, gai ...

  4. 华为:向充电宝说再见!有它,手机24h不断电

    编辑 | 于斌 出品 | 于见(mpyujian) 虽然,美国与中国的谈判还在协商中,不知道最后的消息是好是坏. 但最近华为公司的成绩,却值得让我们为其喝彩和感到骄傲. 据悉,30日,华为在上半年业绩 ...

  5. codeforces Make The Fence Great Again(dp)

    题目链接:http://codeforces.com/contest/1221/problem/D 题目要求ai ! = ai-1,草纸上推理一下可以发现每一个栅栏可以升高的高度无非就是 +0,+1, ...

  6. git 多人开发解决步骤

    1.pull -- 开发 -- pull -- 解决冲突(如果有) -- commit -- push   (PS 老子今天很烦躁)    

  7. HTML连载60-水平居中与设计一个团购界面

    一.水平居中 1.margin:0 auto在绝对定位中就失效了 2.如何让绝对定位的元素水平居中? 只需要设置绝对定位元素的left:50%:然后再设置绝对定位元素的margin-left:-元素宽 ...

  8. 抽象工厂模式(JAVA反射)

    实例代码(JAVA):模式动机     在工厂方法模式中具体工厂负责生产具体的产品,每一个具体工厂对应一种具体产品,工厂方法也具有唯一性,一般情况下,一个具体工厂中只有一个工厂方法或者一组重载的工厂方 ...

  9. 关于进程,I/O模型的文章

    PHP类 http://rango.swoole.com/archives/508 Node https://github.com/DoubleSpout/threadAndPackage

  10. docker-compose介绍及部署LNMP

    一.简介 Compose是用于定义和运行多容器Docker应用程序的工具,是docker的服务编排工具,主要应用于构建基于Docker的复杂应用,compose通过一个配置文件来管理多个docker容 ...