<div dir="ltr">It works fine if I don't have vrf in the config.<div>Looks like vrf is not known to bgp and </div><div>hence it return config error back.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 18, 2017 at 2:28 PM, $iddhe$h Divekar <span dir="ltr"><<a href="mailto:siddhesh.divekar@gmail.com" target="_blank">siddhesh.divekar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px">Hi,</div><div style="font-size:12.8px">Am getting following error when sending config over vty socket.</div><div style="font-size:12.8px">VTY status 13.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Below is the config am trying to send.</div><div style="font-size:12.8px">It happens when "redistribute connected" is sent over the socket.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"> configure terminal</div><div style="font-size:12.8px"> router bgp 1234 vrf foo</div><div style="font-size:12.8px"> neighbor 2.2.2.2 remote-as 3456</div><div style="font-size:12.8px"> neighbor 2.2.2.2 shutdown</div><div style="font-size:12.8px"> address-family ipv6 unicast</div><div style="font-size:12.8px"> redistribute connected</div><div style="font-size:12.8px"> exit-address-family</div><div style="font-size:12.8px"> address-family ipv6 unicast</div><div style="font-size:12.8px"> redistribute static</div><div style="font-size:12.8px"> exit-address-family</div><div style="font-size:12.8px"> address-family ipv4 unicast</div><div style="font-size:12.8px"> redistribute connected</div><div style="font-size:12.8px"> exit-address-family</div><div style="font-size:12.8px"> address-family ipv4 unicast</div><div style="font-size:12.8px"> redistribute static</div><div style="font-size:12.8px"> exit-address-family</div><div style="font-size:12.8px"> end</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">If I do show running I see following config applied.</div><div style="font-size:12.8px">router bgp 1234 vrf foo</div><div style="font-size:12.8px"> neighbor 2.2.2.2 remote-as 3456</div><div style="font-size:12.8px"> neighbor 2.2.2.2 shutdown</div><div style="font-size:12.8px"> !</div><div style="font-size:12.8px"> address-family ipv6 unicast</div><div style="font-size:12.8px"> redistribute connected</div><div style="font-size:12.8px"> exit-address-family</div><div style="font-size:12.8px">!</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Is there anything wrong with the config.</div><div style="font-size:12.8px">Copy pasting the config directly works fine.</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_1878677463861948667gmail_signature"><div dir="ltr"><div>-$iddhesh.<br></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>-$iddhesh.<br></div></div></div>
</div>