Description

This KB describes why we do not have any syslog message being seen for the "up event" on the device for below two syslog messages:

DAEMON-4-BFDD_TRAP_SHOP_STATE_DOWN

DAEMON-4-BFDD_STATE_UP_TO_DOWN

Symptoms

This is because in the device configuration customer has the any warning configured:

file messages {

any warning; >>

authorization none;

explicit-priority;

}

Solution

In the KB reference given below we can see that DAEMON-4-BFDD_TRAP_SHOP_STATE_DOWN has severity level as WARNING, whereas the severity of the log BFDD_TRAP_SHOP_STATE_UP is NOTICE .

As per the KB given below which states that The Junos OS logs syslog message whose priority is equal and higher than the configured numerical value: (eg. If the severity level "warning(4)" is set, syslog message whose severity levels of emergency(0), alert(1), critical(2), error(3), and warning(4) are logged.)

Hence as the configured numerical value of NOTICE is below WARNINGBFDD_TRAP_SHOP_STATE_UP being of severity NOTICE is not logged into messages.

-----------+-------+----------------------------------+
| Severity  | Level | Definition                       |
+-----------+-------+----------------------------------+
| EMERGENCY |   0   | system is unusable               |<---- Highest priority
+-----------+-------+----------------------------------+
| ALERT     |   1   | action must be taken immediately |
+-----------+-------+----------------------------------+
| CRITICAL  |   2   | critical conditions              |
+-----------+-------+----------------------------------+
| ERROR     |   3   | error conditions                 |
+-----------+-------+----------------------------------+
| WARNING   |   4   | warning conditions               |
+-----------+-------+----------------------------------+
| NOTICE    |   5   | normal but significant condition |
+-----------+-------+----------------------------------+
| INFO      |   6   | informational                    |
+-----------+-------+----------------------------------+
| DEBUG     |   7   | debug-level messages             |<---- Lowest priority

KB reference: https://supportportal.juniper.net/s/article/Junos-Severity-level-configuration-on-syslog-messages

Modification History

2024-10-23 : Article Created

Related Information

Syslog explorer: https://apps.juniper.net/syslog-explorer/?msg=BFDD_TRAP_SHOP_STATE_DOWN&sw=Junos%20OS&rel=21.4R3

KB reference: https://supportportal.juniper.net/s/article/Junos-Severity-level-configuration-on-syslog-messages