Configuring Log Filters - Juniper JUNOSE SOFTWARE 11.2.X - SYSTEM EVENT LOGGING REFERENCE GUIDE 6-29-2010 Reference Manual

Software for e series broadband services routers system event logging reference guide
Table of Contents

Advertisement

service timestamps

Configuring Log Filters

host1(config)# log severity debug bgpevents ?
access-class
Select an access list for the filter
in
Select import/in direction for the filter
out
Select export/out direction for the filter
peer
Select a peer IP address for the filter
route-map
Select a route map for the filter
Copyright © 2010, Juniper Networks, Inc.
***********************************************************
NOTICE 05/14/2001 18:28:45 UTC EDT cliCommand: "configure terminal",
console
NOTICE 05/14/2001 18:28:42 UTC EDT cliCommand: "service timestamps log
datetime show-timezone", console
***********************************************************
Display no timestamp on the log messages.
host1#configure terminal
host1(config)#no service timestamps
host1#exit
host1#show log data category cliCommand severity info
***********************************************************
NOTICE 134 cliCommand: "configure terminal", console
NOTICE 133 cliCommand: "no service timestamps", console
***********************************************************
Use to format timestamps for log messages.
For information about setting local times and time zones, see JunosE System Basics
Configuration Guide.
The show log data command displays the log data with the current timestamp format.
The show log data nv-file command displays the log data with the timestamp format
in effect at the time the log record was written.
Use the no version to remove timestamps from log messages.
See service timestamps.
Many event categories contain filters so you can further refine the type of information
that the system logs. For example, when logging BGP connections, you can limit the
information logged to a specific access class, peer, route map, or virtual router.
You define filters when you set the log severity for an event category. The online Help
shows the options you can set for each filter.
NOTE: You can use the packet flow monitoring feature to create user-defined
classification parameters that specify the packet data that is logged. See Packet Tagging
Overview.
The following example creates a filter that logs BGP connection information at the debug
severity level on traffic that matches access list ListOne, and is incoming traffic to virtual
router default.
Chapter 1: System Logging Overview
15

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the JUNOSE SOFTWARE 11.2.X - SYSTEM EVENT LOGGING REFERENCE GUIDE 6-29-2010 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Junose 11.2

Table of Contents