ほぼ全ての機能を新サイトへ移行しました

clear logging anchor.png

機種
Router(K) Switch(K)
モード
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検索
タグ
ログ

トップ   凍結 差分 バックアップ 複製 名前変更 リロード   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom
Counter: 18128, today: 1, yesterday: 1
最終更新: 2009-08-04 (火) 16:02:32 (JST) (5385d) by staff_mita
Copyright (c) 2020 Ping-t All rights reserved.
ログイン
ユーザ名 or E-Mailアドレス:

パスワード:







プレミアムコンテンツ

受験チケット(割引)

Contact

LPI-Japan Logo

LPI Logo