Juniper JUNOS OS 10.3 - SYSTEM LOG MESSAGES REFERENCE 7-12-2010 Reference Manual page 77

System log messages reference
Table of Contents

Advertisement

Copyright © 2010, Juniper Networks, Inc.
To direct system log messages to the other Routing Engine on a routing platform with
two Routing Engines installed and operational, include the
statement. The statement is not automatically reciprocal, so you must include it in each
Routing Engine's configuration if you want them to direct messages to each other. In
each message directed to the other Routing Engine, the string
the timestamp to indicate the source for the message.
For the list of facilities and severity levels to configure under the host statement, see
"Specifying the Facility and Severity of Messages to Include in the Log" on page 8.
To record facility and severity level information in each message, include the
explicit-priority
statement. For more information, see "Including Priority Information in
System Log Messages" on page 18.
For information about the
the Set of Logged Messages" on page 22.
When directing messages to remote machines, you can include the
statement to specify the IP address of the routing platform that is reported in the
messages as their source. In each host statement, you can also include the
statement to assign an alternative facility and the
to each message. For more information, see the following sections:
Specifying an Alternative Source Address for System Log Messages on page 13
Changing the Alternative Facility Name for Remote Messages on page 13
Examples: Assigning an Alternative Facility on page 15
Adding a Text String to System Log Messages on page 16
Adding a String on page 16
Specifying an Alternative Source Address for System Log Messages
To specify the routing platform that is reported in system log messages as their source
when they are directed to a remote machine, include the
the [
] hierarchy level:
edit system syslog
[edit system syslog]
source-address source-address;
source-address
is a valid IPv4 or IPv6 address configured on one of the routing platform
interfaces. The address is reported in the messages directed to all remote machines
specified in
host hostname
in messages directed to the other Routing Engine.
Changing the Alternative Facility Name for Remote Messages
Some facilities assigned to messages logged on the local routing platform have
Junos-specific names (see Table
and Severity of Messages to Include in the Log" on page 8. In the recommended
configuration, a remote machine designated at the [
hierarchy level is not a Juniper Networks routing platform, so its
interpret the Junos-specific names. To enable the standard
Chapter 1: Configuring System Log Messages
statement, see "Using Regular Expressions to Refine
match
log-prefix
statements at the [
edit system syslog
Junos System Logging Facilities
edit system syslog host hostname
host other-routing-engine
re0
or
re1
appears after
source-address
facility-override
statement to add a string
source-address
statement at
] hierarchy level, but not
in "Specifying the Facility
syslogd
utility cannot
utility to handle
syslogd
]
13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.3 - software

Table of Contents