diff options
| author | canoziia <canoziia@qq.com> | 2025-04-24 11:55:17 +0800 |
|---|---|---|
| committer | canoziia <canoziia@qq.com> | 2025-04-24 11:55:17 +0800 |
| commit | b2972262e1127146c44890f817b62968398299fe (patch) | |
| tree | b609f6354030f51e635f4b0a38f9b36b232f371c | |
| parent | c898ce2e096d77db37c3bb65a004a29190879c30 (diff) | |
| download | vyos-1x-b2972262e1127146c44890f817b62968398299fe.tar.gz vyos-1x-b2972262e1127146c44890f817b62968398299fe.zip | |
T7220: Add the option to disable enforce-first-as at peer level
| -rw-r--r-- | data/templates/frr/bgpd.frr.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2 index b89f15be1..e153dd4e8 100644 --- a/data/templates/frr/bgpd.frr.j2 +++ b/data/templates/frr/bgpd.frr.j2 @@ -98,6 +98,8 @@ {% endif %} {% if config.enforce_first_as is vyos_defined %} neighbor {{ neighbor }} enforce-first-as +{% else %} + no neighbor {{ neighbor }} enforce-first-as {% endif %} {% if config.strict_capability_match is vyos_defined %} neighbor {{ neighbor }} strict-capability-match |
