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 correction, such 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-name> changed state from <old-state> to <new-state> (event <event-type>) (instance <instance>)
Help: BGP neighbor changed state during negotiation
Description: During BGP negotiation with the local router, the state of the indicated BGP neighbor (peer) changed as indicated. The ESTABLISHED state is the final state in the neighbor negotiation.
Type: Event: This message reports an event, not an error
Severity: warning
Facility: LOG_DAEMON
Action: For more information, see KB19051.
As you can see from the output above, the severity level for BGP state change is warning.
By privilege15