[dev] VTY status 13 while sending config over vty socket
Donald Sharp
sharpd at cumulusnetworks.com
Mon Oct 23 08:12:04 EDT 2017
Siddhesh -
This works for me:
dell-s6000-02# conf t
dell-s6000-02(config)# exit
dell-s6000-02# configure terminal
dell-s6000-02(config)# router bgp 1234 vrf foo
dell-s6000-02(config-router)# neighbor 2.2.2.2 remote-as 3456
dell-s6000-02(config-router)# neighbor 2.2.2.2 shutdown
dell-s6000-02(config-router)# address-family ipv6 unicast
dell-s6000-02(config-router-af)# redistribute connected
dell-s6000-02(config-router-af)# exit-address-family
dell-s6000-02(config-router)# address-family ipv6 unicast
dell-s6000-02(config-router-af)# redistribute static
dell-s6000-02(config-router-af)# exit-address-family
dell-s6000-02(config-router)# address-family ipv4 unicast
dell-s6000-02(config-router-af)# redistribute connected
dell-s6000-02(config-router-af)# exit-address-family
dell-s6000-02(config-router)# address-family ipv4 unicast
dell-s6000-02(config-router-af)# redistribute static
dell-s6000-02(config-router-af)# exit-address-family
dell-s6000-02(config-router)# end
dell-s6000-02# end
dell-s6000-02# show run
!
router bgp 1234 vrf foo
neighbor 2.2.2.2 remote-as 3456
neighbor 2.2.2.2 shutdown
!
address-family ipv4 unicast
redistribute connected
redistribute static
exit-address-family
!
address-family ipv6 unicast
redistribute connected
redistribute static
exit-address-family
!
What version of FRR are you using?
On Wed, Oct 18, 2017 at 4:06 PM, $iddhe$h Divekar
<siddhesh.divekar at gmail.com> wrote:
> Hi,
> Am getting following error when sending config over vty socket.
> VTY status 13.
>
> Below is the config am trying to send.
> It happens when "redistribute connected" is sent over the socket.
>
> configure terminal
> router bgp 1234 vrf foo
> neighbor 2.2.2.2 remote-as 3456
> neighbor 2.2.2.2 shutdown
> address-family ipv6 unicast
> redistribute connected
> exit-address-family
> address-family ipv6 unicast
> redistribute static
> exit-address-family
> address-family ipv4 unicast
> redistribute connected
> exit-address-family
> address-family ipv4 unicast
> redistribute static
> exit-address-family
> end
>
> If I do show running I see following config applied.
> router bgp 1234 vrf foo
> neighbor 2.2.2.2 remote-as 3456
> neighbor 2.2.2.2 shutdown
> !
> address-family ipv6 unicast
> redistribute connected
> exit-address-family
> !
>
> Is there anything wrong with the config.
> Copy pasting the config directly works fine.
>
> --
> -$iddhesh.
>
> _______________________________________________
> dev mailing list
> dev at lists.frrouting.org
> https://lists.frrouting.org/listinfo/dev
>
More information about the dev
mailing list