Evil_TTL> show | s

Juniper Syslog

Category:Juniper -> Routing and Switching
Category:Juniper -> Security

Juniper syslog severity levels:

Value Severity   Description
N
/A   none       Disables logging of the associated facility to a destination
0     emergency  System panic 
or other condition that causes the router to stop functioning
1     alert      Conditions that 
require immediate correctionsuch as a corrupted system database
2     critical   Critical conditions
such as hard errors
3     error      Error conditions that generally have less serious consequences than errors at the emergency
alert, and critical levels
4     warning    Conditions that warrant monitoring
5     notice     Conditions that are not errors but might warrant special handling
6     info       Events 
or nonerror conditions of interest
7     any        Includes all severity levels 

This is how to verify an event and which severity level alarm it will create. It will be helpful when configuring the level of event logging. Let’s find the severity level for BGP neighbor state change for example:

help syslog match bgp                        
BGP_CFG_PATH_ATTRIBUTE_WARNING   An attribute is configured to be both dropped 
and ignored
BGP_PREFIX_ACPT_THRESH_EXCEEDED  Number of accepted prefixes exceeds specified percentage of the maximum limit
BGP_PREFIX_THRESH_EXCEEDED       Number of prefixes exceeds specified percentage of the maximum limit
RPD_BGP_CFG_ADDR_INVALID         An invalid address detected in configuration
RPD_BGP_CFG_LOCAL_ASNUM_WARN     Local 
as-number cannot be set to confederation as-number
RPD_BGP_NEIGHBOR_STATE_CHANGED   BGP neighbor changed state during negotiation
RPD_PLCY_CFG_COMMUNITY_FAIL      Conflict 
while parsing bgp community in policy-options

help syslog RPD_BGP_NEIGHBOR_STATE_CHANGED     
Name
:          RPD_BGP_NEIGHBOR_STATE_CHANGED
Message
:       BGP peer <peer-namechanged state from <old-stateto <new-state> (event <event-type>) (instance <instance>)
Help:          BGP neighbor changed state during negotiation
Description
:   During BGP negotiation with the local routerthe state of the indicated BGP neighbor (peerchanged as indicatedThe ESTABLISHED state is the final state in the neighbor negotiation.
Type:          EventThis message reports an eventnot an error
Severity
:      warning
Facility
:      LOG_DAEMON
Action
:        For more informationsee KB19051

As you can see from the output above, the severity level for BGP state change is warning.

 

By privilege15