如何查看 Cicso 交换机日志?
2018-01-09 by dongnan
目标
查看 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>