dongnan
总版主
总版主
  • 粉丝52
  • 发帖数2160
  • 铜币13127枚
  • 威望5808点
  • 银元150个
  • 社区居民
  • 最爱沙发
  • 忠实会员
  • 原创写手
阅读:550回复:0

如何查看 Cicso 交换机日志?

楼主#
更多 发布于:2018-01-09 14:01
目标
查看 cisco 交换机日志

环境
cisco WS-C3560X-24

操作
switch1#show log
Syslog logging: enabled (0 messages dropped, 0 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)
...省略
    Console logging: level debugging, 5005 messages logged, xml disabled,
                     filtering disabled
    Monitor logging: level debugging, 0 messages logged, xml disabled,
                     filtering disabled
    Buffer logging:  level debugging, 5005 messages logged, xml disabled,
                     filtering disabled
    Exception Logging: size (4096 bytes)
    Count and timestamp logging messages: disabled
    File logging: disabled
    Persistent logging: disabled

No active filter modules.

    Trap logging: level informational, 5007 message lines logged
          
Log Buffer (4096 bytes):
%LINK-3-UPDOWN: Interface GigabitEthernet0/19, changed state to down
*Jul 24 03:18:49.604: %LINK-3-UPDOWN: Interface GigabitEthernet0/19, changed state to up
...省略
*Jul 24 10:22:05.669: %SYS-5-CONFIG_I: Configured from console by vty0 (192.168.100.100)

帮助
switch1#show logging ?
  count    Show counts of each logging message
  history  Show the contents of syslog history table
  onboard  Onboard logging information
  xml      Show the contents of XML logging buffer
  |        Output modifiers
  <cr>



扩展:如何为 Cisco 交换机 更改时间?

#
游客

返回顶部