Skip to content

Commit

Permalink
Feat(eos_cli_config_gen)-Add_bfd_slow_timer_knob
Browse files Browse the repository at this point in the history
  • Loading branch information
ccsnw committed Nov 13, 2024
1 parent 04edebc commit a149554
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5325,6 +5325,10 @@ policy-map type pbr PM_PBR_BREAKOUT

### Router BFD

| BFD Tuning |
| ---------- |
| Slow-Timer 5000 |

#### Router BFD Singlehop Summary

| Interval | Minimum RX | Multiplier |
Expand All @@ -5348,9 +5352,9 @@ policy-map type pbr PM_PBR_BREAKOUT
```eos
!
router bfd
slow-timer 5000
interval 900 min-rx 900 multiplier 50 default
multihop interval 300 min-rx 300 multiplier 3
slow-timer 5000
local-address 192.168.255.1
session stats snapshot interval 51
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3355,9 +3355,9 @@ peer-filter PF2
30 match as-range 65000 result accept
!
router bfd
slow-timer 5000
interval 900 min-rx 900 multiplier 50 default
multihop interval 300 min-rx 300 multiplier 3
slow-timer 5000
local-address 192.168.255.1
session stats snapshot interval 51
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
{% if router_bfd is arista.avd.defined %}

### Router BFD
{% if router_bfd.slow_timer is arista.avd.defined %}

| BFD Tuning |
| ---------- |
{% if router_bfd.slow_timer is arista.avd.defined %}
| Slow-Timer {{ router_bfd.slow_timer }} |
{% endif %}
{% endif %}
{% if router_bfd.interval is arista.avd.defined and router_bfd.min_rx is arista.avd.defined and router_bfd.multiplier is arista.avd.defined %}

#### Router BFD Singlehop Summary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
{% if router_bfd is arista.avd.defined %}
!
router bfd
{% if router_bfd.slow_timer is arista.avd.defined %}
slow-timer {{ router_bfd.slow_timer }}
{% endif %}
{% if router_bfd.interval is arista.avd.defined and router_bfd.min_rx is arista.avd.defined and router_bfd.multiplier is arista.avd.defined %}
interval {{ router_bfd.interval }} min-rx {{ router_bfd.min_rx }} multiplier {{ router_bfd.multiplier }} default
{% endif %}
{% if router_bfd.multihop.interval is arista.avd.defined and router_bfd.multihop.min_rx is arista.avd.defined and router_bfd.multihop.multiplier is arista.avd.defined %}
multihop interval {{ router_bfd.multihop.interval }} min-rx {{ router_bfd.multihop.min_rx }} multiplier {{ router_bfd.multihop.multiplier }}
{% endif %}
{% if router_bfd.slow_timer is arista.avd.defined %}
slow-timer {{ router_bfd.slow_timer }}
{% endif %}
{% if router_bfd.local_address is arista.avd.defined %}
local-address {{ router_bfd.local_address }}
{% endif %}
Expand Down

0 comments on commit a149554

Please sign in to comment.