clear logging
- モード
- Enable(M)
- デフォルト
- -
- IOS
- 試験レベル
- 構文
- Switch# clear logging
- 使用例
Router#show logging Syslog logging: enabled (0 messages dropped, 2 messages rate-limited, 0 flushes, 0 overruns, xml disabled) Console logging: level debugging, 43 messages logged, xml disabled Monitor logging: level debugging, 0 messages logged, xml disabled Buffer logging: level debugging, 8 messages logged, xml disabled Logging Exception size (4096 bytes) Count and timestamp logging messages: disabled Trap logging: level informational, 47 message lines logged Log Buffer (400000 bytes): *Mar 1 00:19:20.307: %SYS-5-CONFIG_I: Configured from console by console *Mar 1 00:19:36.415: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up *Mar 1 00:19:43.475: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to down *Mar 1 00:20:06.799: %SYS-5-CONFIG_I: Configured from console by console Router#clear logging Clear logging buffer [confirm] Router# Router#show logging Syslog logging: enabled (0 messages dropped, 2 messages rate-limited, 0 flushes, 0 overruns, xml disabled) Console logging: level debugging, 43 messages logged, xml disabled Monitor logging: level debugging, 0 messages logged, xml disabled Buffer logging: level debugging, 8 messages logged, xml disabled Logging Exception size (4096 bytes) Count and timestamp logging messages: disabled Trap logging: level informational, 47 message lines logged Log Buffer (400000 bytes): Router#
- 解説
- 内部バッファに記録されているログを削除する場合、clear loggingコマンドを使用する。
- Tips
- 参考リンク
- Google検索
- タグ
- ログ
Counter: 18128,
today: 1,
yesterday: 1
最終更新: 2009-08-04 (火) 16:02:32 (JST) (5385d) by staff_mita