Skip to content

Commit 60e9114

Browse files
authored
Set VM as reflector for LT2/FT2 (sonic-net#19238)
* Set VM as reflector for LT2/FT2 Signed-off-by: opcoder0 <[email protected]>
1 parent a9709b4 commit 60e9114

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ansible/roles/eos/templates/t0-leaf.j2

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@ router bgp {{ host['bgp']['asn'] }}
106106
{% for remote_ip in remote_ips %}
107107
neighbor {{ remote_ip }} remote-as {{ asn }}
108108
neighbor {{ remote_ip }} description {{ asn }}
109-
neighbor {{ remote_ip }} next-hop-self
109+
{# set LT2/FT2 as reflector to advertise route to DUT #}
110+
{% if props.swrole is defined and props.swrole in ("lowerspine", "fabricspine") %}
111+
neighbor {{ remote_ip }} route-reflector-client
112+
{% endif %}
110113
{% if remote_ip | ipv6 %}
111114
address-family ipv6
112115
neighbor {{ remote_ip }} activate

0 commit comments

Comments
 (0)