問題
Cisco routerへTelnetで接続している。routerで発生したlogging messageを現在のsessionへすぐ表示するcommandはどれか。
- A
logging host - B
terminal monitor - C
service timestamps log uptime - D
logging buffer
正解:B
理由
terminal monitorは現在のterminal sessionへlogを表示する。logging monitor等のseverityと全体のlogging設定も表示範囲へ関係する。remote serverへの送信、時刻表記とlocal bufferへの保存は別の役割である。
選択肢ごとの説明
- A.
logging host remote syslog hostを追加する設定である。
- B.
terminal monitor 現在のterminal sessionへのmessage表示を有効にする用途に対応する。
- C.
service timestamps log uptime messageへ付けるuptimeの時刻表記を変える設定である。
- D.
logging buffer local bufferへの保存を意図する指定で、現在のterminal sessionへmessageを出す設定とは異なる。