Juniper JUNOSE SOFTWARE FOR E SERIES 11.3.X - SYSTEM EVENT LOGGING REFERENCE GUIDE 2010-10-04 Reference Manual page 31

Software for e series broadband services routers system event logging reference guide
Hide thumbs Also See for JUNOSE SOFTWARE FOR E SERIES 11.3.X - SYSTEM EVENT LOGGING REFERENCE GUIDE 2010-10-04:
Table of Contents

Advertisement

log destination syslog
source
Copyright © 2010, Juniper Networks, Inc.
Example 1—The first command causes only the osfpGeneral, mplsGeneral, and os
event categories to be logged to system log at 10.10.9.5. The second command reverses
this inclusion and restores the logging of all event categories.
host1(config)#log destination syslog 10.10.9.5 include ospfGeneral
mplsGeneral os
host1(config)#no log destination syslog 10.10.9.5
Example 2—The first command again causes only the osfpGeneral, mplsGeneral, and
os event categories to be logged to system log at 10.10.9.5. The second command
reverses the inclusion of ospfGeneral and os. The mplsGeneral category is still included
and is thus the only category logged.
host1(config)#log destination syslog 10.10.9.5 include ospfGeneral mplsGeneral os
host1(config)#no log destination syslog 10.10.9.5 include ospfGeneral os
Example 3—The first command causes the isisGeneral, ipRoutePolicy, and ipTraffic
event categories to be excluded from logging to system log at 10.1.2.3. The second
command reverses this exclusion and restores the logging of all event categories.
host1(config)#log destination syslog 10.1.2.3 exclude isisGeneral ipRoutePolicy ipTraffic
host1(config)#no log destination syslog 10.1.2.3 exclude
Example 4—The first command again causes the isisGeneral, ipRoutePolicy, and
ipTraffic event categories to be excluded from logging to system log at 10.1.2.3. The
second command reverses the exclusion of ipRoutePolicy and ipTraffic. The isisGeneral
category is still excluded; all other events are logged.
host1(config)#log destination syslog 10.1.2.3 exclude isisGeneral
ipRoutePolicy ipTraffic
host1(config)#no log destination syslog 10.1.2.3 exclude isisGeneral
Example 5—The first command causes the isisGeneral event category to be excluded
from logging to system log at 10.1.2.3. The second command causes ospfGeneral to
also be excluded from logging.
host1(config)#log destination syslog 10.1.2.3 exclude isisGeneral
host1(config)#log destination syslog 10.1.2.3 exclude ospfGeneral
Example 6—The first command causes the isisGeneral event category to be excluded
from logging to system log at 10.1.2.3; all other events are logged. The second command
overrides the first and causes the exclusion of all events except ospfGeneral.
host1(config)#log destination syslog 10.1.2.3 exclude isisGeneral
host1(config)#log destination syslog 10.1.2.3 include ospfGeneral
Use the no version to reverse the effects of previous commands or restore the default,
which is to log all event categories.
See log destination.
Use to specify a source interface type and location for events logged to system log at
the specified IP address.
Overrides the actual source interface type and location. The IP address associated
with the specified source interface is used as the source address for subsequent system
log messages.
Chapter 1: System Logging Overview
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.3

Table of Contents