Improve logging

main
Daniel Ankers 2024-01-12 11:45:54 +00:00
parent f0068a3b7e
commit 8db92eef18
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,10 @@ system {
file interactive-commands { file interactive-commands {
interactive-commands any; interactive-commands any;
} }
file linkupdown {
any info;
match "LINK_DOWN|LINK_UP";
}
file messages { file messages {
any notice; any notice;
authorization info; authorization info;
@ -277,6 +281,7 @@ routing-options {
{% set name=device['name'] %} {% set name=device['name'] %}
{% endif %} {% endif %}
bgp { bgp {
log-updown;
{{ bgpoverlaygroup(device) }} {{ bgpoverlaygroup(device) }}
{% if role == 'Spine' %} {% if role == 'Spine' %}
{{ bgprrmeshgroup(device,spines) }} {{ bgprrmeshgroup(device,spines) }}