[Contents] [Prev] [Next] [Index] [Report an Error]


Track Normal Operations

This chapter describes how to configure system logging to monitor system-wide, high-level operations. (See Table 48.)


Table 48: Checklist for Tracking Normal Operations
Track Normal Operations Tasks
Command or Action
  1. Log Messages to a Local Log File

[edit]
[edit system syslog]
set file
filename facility level
show
commit

  1. Log Information to a Remote Host

[edit]
[edit system syslog]
set host
hostname facility level
show
commit

  1. Log Information to a User Terminal

[edit]
[edit system syslog]
set user
username facility level
show
commit

  1. Log Information to a Router Console

[edit]
[edit system syslog]
set console
facility level
show
commit

  1. Configure the Number and Size of Log Files

[edit]
[edit system syslog]
set archive files
number size size
show
commit

or

[edit]
[edit system syslog file
filename]
set archive files number size size
show
commit

  1. Log BGP State Transition Events

[edit]
[edit protocol bgp]
set log-updown
show
commit

  1. Display a Log File

show log filename

  1. Monitor Messages in Near-Real Time

monitor start filename

  1.  Stop Monitoring Log Files

monitor stop filename
or
monitor stop



[Contents] [Prev] [Next] [Index] [Report an Error]