EasyManua.ls Logo

Juniper JUNOS OS 10.3 - SYSTEM LOG MESSAGES REFERENCE 7-12-2010

Juniper JUNOS OS 10.3 - SYSTEM LOG MESSAGES REFERENCE 7-12-2010
748 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Table of Contents
About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . lvii
Junos Documentation and Release Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . lvii
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . lviii
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . lviii
Supported Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . lviii
Using the Examples in This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . lix
Merging a Full Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . lix
Merging a Snippet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . lx
Documentation Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . lx
Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . lxii
Requesting Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . lxii
Self-Help Online Tools and Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . lxii
Opening a Case with JTAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . lxiii
Part 1 Overview
Chapter 1 Configuring System Log Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
System Logging Configuration Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Minimum and Default System Logging Configuration . . . . . . . . . . . . . . . . . . . . . . . 4
Minimum System Logging Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Default System Log Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Configuring System Logging for a Single-Chassis System . . . . . . . . . . . . . . . . . . . . 7
Specifying the Facility and Severity of Messages to Include in the Log . . . . . . 8
Directing Messages to a Log File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Logging Messages in Structured-Data Format . . . . . . . . . . . . . . . . . . . . . . 11
Directing Messages to a User Terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Directing Messages to the Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Directing Messages to a Remote Machine or the Other Routing Engine . . . . . 12
Specifying an Alternative Source Address for System Log Messages . . . 13
Changing the Alternative Facility Name for Remote Messages . . . . . . . . 13
Examples: Assigning an Alternative Facility . . . . . . . . . . . . . . . . . . . . . . . 15
Adding a Text String to System Log Messages . . . . . . . . . . . . . . . . . . . . . 16
Adding a String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Configuring the Size and Number of Log Files . . . . . . . . . . . . . . . . . . . . . . . . . 17
Including Priority Information in System Log Messages . . . . . . . . . . . . . . . . . . 18
Including the Year or Millisecond in Timestamps . . . . . . . . . . . . . . . . . . . . . . . 21
Using Regular Expressions to Refine the Set of Logged Messages . . . . . . . . . 22
Disabling Logging of a Facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Examples: Configuring System Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
xiCopyright © 2010, Juniper Networks, Inc.

Table of Contents

Related product manuals