<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 1:06 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>Hi,</div><div>Am getting following error when sending config over vty socket.</div><div>VTY status 13.</div><div><br></div><div>Below is the config am trying to send.</div><div>It happens when "redistribute connected" is sent over the socket.</div><div><br></div><div> configure terminal</div><div> router bgp 1234 vrf foo</div><div> neighbor 2.2.2.2 remote-as 3456</div><div> neighbor 2.2.2.2 shutdown</div><div> address-family ipv6 unicast</div><div> redistribute connected</div><div> exit-address-family</div><div> address-family ipv6 unicast</div><div> redistribute static</div><div> exit-address-family</div><div> address-family ipv4 unicast</div><div> redistribute connected</div><div> exit-address-family</div><div> address-family ipv4 unicast</div><div> redistribute static</div><div> exit-address-family</div><div> end</div><div><br></div><div>If I do show running I see following config applied.</div><div>router bgp 1234 vrf foo</div><div> neighbor 2.2.2.2 remote-as 3456</div><div> neighbor 2.2.2.2 shutdown</div><div> !</div><div> address-family ipv6 unicast</div><div>  redistribute connected</div><div> exit-address-family</div><div>!</div><div><br></div><div>Is there anything wrong with the config.</div><div>Copy pasting the config directly works fine.</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-3129856295821148524gmail_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>