From 8db92eef18f54ec85548ecfcf8ce5c80987f66db Mon Sep 17 00:00:00 2001 From: Daniel Ankers Date: Fri, 12 Jan 2024 11:45:54 +0000 Subject: [PATCH] Improve logging --- juniper-macros.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/juniper-macros.j2 b/juniper-macros.j2 index 30ae0ae..3c59056 100644 --- a/juniper-macros.j2 +++ b/juniper-macros.j2 @@ -31,6 +31,10 @@ system { file interactive-commands { interactive-commands any; } + file linkupdown { + any info; + match "LINK_DOWN|LINK_UP"; + } file messages { any notice; authorization info; @@ -277,6 +281,7 @@ routing-options { {% set name=device['name'] %} {% endif %} bgp { + log-updown; {{ bgpoverlaygroup(device) }} {% if role == 'Spine' %} {{ bgprrmeshgroup(device,spines) }}