Giter VIP home page Giter VIP logo

sonic-quagga's Introduction

Quagga is free software that manages various IPv4 and IPv6 routing
protocols.

Currently Quagga supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1,
RIPv2, and RIPng as well as very early support for IS-IS.
  
See the file INSTALL.quagga.txt for building and installation instructions.
  
See the file REPORTING-BUGS to report bugs.
  
Quagga is free software. See the file COPYING for copying conditions.

sonic-quagga's People

Contributors

avnshs avatar balajig avatar ccaputo avatar cfra avatar dpward avatar edgecase14 avatar eqvinox avatar fabled avatar feng-lu avatar freichmann avatar hasso avatar haussli avatar infrastation avatar j-andersson avatar jech avatar joakim-tjernlund avatar jrrivers avatar lguohan avatar mhlambert avatar nabahr avatar neethajohn avatar pavel-shirshov avatar pjakma avatar tejblum avatar theraphim avatar troglobit avatar udhos avatar vincentbernat avatar vipkumar avatar zhenggen-xu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sonic-quagga's Issues

Agentx support

Hi All,

Could anyone please share some insight on how to configure agentx, either on bgpd.conf or under the vtysh?

it seems that agentx is not accepted under the vtysh mode. Also, the bgpd daemon would stop initializing if i put agentx (as per doc) under the bgpd.conf.j2 & zebra.conf.j2.

I have tried anything i know and nothing works.

Please advise.

Thanks

Quagga failed to create multipath for IPv6 routes

str-s6000-on-2# show ipv6 bgp 20c0:a82e:0:71::
BGP routing table entry for 20c0:a82e:0:71::/64
Paths: (8 available, best #8, table Default-IP-Routing-Table)
  Advertised to non peer-group peers:
  fc00::2 fc00::a fc00::12 fc00::22 fc00::2a fc00::32 fc00::3a fc00::42 fc00::46 fc00::4a fc00::4e fc00::52 fc00::56 f
c00::5a fc00::5e fc00::62 fc00::66 fc00::6a fc00::6e fc00::72 fc00::76 fc00::7a fc00::7e
  65200 62047 65508
    fc00::a from fc00::a (100.1.0.3)
    (fe80::5054:ff:fedb:ccb4)
      Origin incomplete, localpref 100, valid, external
      Last update: Wed May  3 22:05:00 2017

  65200 62047 65508
    fc00::32 from fc00::32 (100.1.0.13)
      Origin incomplete, localpref 100, valid, external, multipath
      Last update: Wed May  3 22:04:29 2017

  65200 62047 65508
    fc00::3a from fc00::3a (100.1.0.15)
    (fe80::5054:ff:fee1:e6bc)
      Origin incomplete, localpref 100, valid, external
      Last update: Wed May  3 22:04:29 2017

  65200 62047 65508
    fc00::12 from fc00::12 (100.1.0.5)
    (fe80::5054:ff:fe03:f9a4)
      Origin incomplete, localpref 100, valid, external
      Last update: Wed May  3 22:04:28 2017

  65200 62047 65508
    fc00::2 from fc00::2 (100.1.0.1)
    (fe80::5054:ff:fe67:ca1a)
      Origin incomplete, localpref 100, valid, external
      Last update: Wed May  3 22:04:28 2017

  65200 62047 65508
    fc00::22 from fc00::22 (100.1.0.9)
    (fe80::5054:ff:fecf:9dd1)
      Origin incomplete, localpref 100, valid, external
      Last update: Wed May  3 22:04:28 2017

  65200 62047 65508
    fc00::2a from fc00::2a (100.1.0.11)
    (fe80::5054:ff:fe4c:f400)
      Origin incomplete, localpref 100, valid, external
      Last update: Wed May  3 22:04:28 2017

  65200 62047 65508
    fc00::1a from fc00::1a (100.1.0.7)
      Origin incomplete, localpref 100, valid, external, multipath, best
      Last update: Wed May  3 22:04:27 2017

Only two next hops become the multipath and are syncd to the routing table and then kernel.

ignore next_hop attribute when mp_reach_nlri exists

An UPDATE message that carries no NLRI, other than the one encoded in
the MP_REACH_NLRI attribute, SHOULD NOT carry the NEXT_HOP attribute.
If such a message contains the NEXT_HOP attribute, the BGP speaker
that receives the message SHOULD ignore this attribute.

IPv6 allowas-in 1 doesn't work

  address-family ipv6                     
    neighbor FC00::72 activate            
    maximum-paths 64                      
  exit-address-family                     
  neighbor FC00::76 remote-as 64600       
  neighbor FC00::76 description ARISTA02T1
  neighbor FC00::76 allowas-in 1          
  address-family ipv6                     
    neighbor FC00::76 activate            
    maximum-paths 64                      
  exit-address-family                     
  neighbor FC00::7A remote-as 64600       
  neighbor FC00::7A description ARISTA03T1
  neighbor FC00::7A allowas-in 1          
  address-family ipv6                     
    neighbor FC00::7A activate            
    maximum-paths 64                      
  exit-address-family                     
  neighbor FC00::7E remote-as 64600       
  neighbor FC00::7E description ARISTA04T1
  neighbor FC00::7E allowas-in 1          
  address-family ipv6                     
    neighbor FC00::7E activate            
    maximum-paths 64                      
  exit-address-family                     
root@str-s6000-acs-7:/etc/quagga# vtysh -c "show ipv6 bgp " | grep "20c0:a940"
root@str-s6000-acs-7:/etc/quagga#
ARISTA01T1#show ipv6 bgp neighbo fc00::71 advertised-routes | grep a940                      
 * >    20c0:a940::/64      fc00::72         -       -       -      64600 65534 64605 65100 ?
 * >    20c0:a940:0:40::/64 fc00::72         -       -       -      64600 65534 64605 65100 ?

IPv6 route on neighbor node disappeared after bgp graceful restart

T0 topology.

root@vlab-01:/home/admin# show version
SONiC Software Version: SONiC.HEAD.98-ff74daa
Distribution: Debian 9.8
Kernel: 4.9.0-8-2-amd64
Build commit: ff74daa
Build date: Wed Feb 20 06:03:30 UTC 2019
Built by: johnar@jenkins-worker-8

Docker images:
REPOSITORY                 TAG                 IMAGE ID            SIZE
docker-orchagent-vs        HEAD.98-ff74daa     20d6c51cb5d0        346MB
docker-orchagent-vs        latest              20d6c51cb5d0        346MB
docker-syncd-vs            HEAD.98-ff74daa     bf8837882bc8        300MB
docker-syncd-vs            latest              bf8837882bc8        300MB
docker-lldp-sv2            HEAD.98-ff74daa     ae0fdd36af08        313MB
docker-lldp-sv2            latest              ae0fdd36af08        313MB
docker-dhcp-relay          HEAD.98-ff74daa     127867c7d587        299MB
docker-dhcp-relay          latest              127867c7d587        299MB
docker-database            HEAD.98-ff74daa     c97600271fc4        361MB
docker-database            latest              c97600271fc4        361MB
docker-teamd               HEAD.98-ff74daa     8c33c6f689fa        313MB
docker-teamd               latest              8c33c6f689fa        313MB
docker-snmp-sv2            HEAD.98-ff74daa     967f76fca628        337MB
docker-snmp-sv2            latest              967f76fca628        337MB
docker-router-advertiser   HEAD.98-ff74daa     95939ac0ec41        359MB
docker-router-advertiser   latest              95939ac0ec41        359MB
docker-platform-monitor    HEAD.98-ff74daa     9162a0fac6f3        326MB
docker-platform-monitor    latest              9162a0fac6f3        326MB
docker-fpm-quagga          HEAD.98-ff74daa     c8d0fd847867        320MB
docker-fpm-quagga          latest              c8d0fd847867        320MB

Before bgp graceful restart:

ARISTA01T1#show ipv6 route  bgp

VRF: default
Displaying 1 of 6407 IPv6 routing table entries
Codes: C - connected, S - static, K - kernel, O3 - OSPFv3, B - BGP, R - RIP, A B - BGP Aggregate, I L1 - IS-IS level 1, I L2 - IS-IS level 2, DH - DHCP, NG - Nexthop Group Static Route, M - Martian, DP - Dynamic Policy Route

 B    fc00:1::/64 [200/0]
       via fc00::71, Port-Channel1

BGP neighbor is fc00::71, remote AS 65100, external link
  Description: 65100
  BGP version 4, remote router ID 10.1.0.32, VRF default
  Negotiated BGP version 4
  Member of update group 3
  Last read 00:00:01, last write 00:00:01
  Hold time is 10, keepalive interval is 3 seconds
  Configured hold time is 180, keepalive interval is 60 seconds
  Connect timer is inactive
  Idle-restart timer is inactive
  BGP state is Established, up for 00:04:55
  Number of transitions to established: 6
  Last state was OpenConfirm
  Last event was RecvKeepAlive
  Last sent notification:Hold Timer Expired Error/Unspecified, Last time 00:06:05
  Last sent socket-error:local address fc00::72 unavailable, Last time 00:25:54, First time 03:37:34, Repeats 2
  Last rcvd socket-error:received unexpected EOF, Last time 00:09:27, First time 00:36:32, Repeats 5
  Neighbor Capabilities:
    Multiprotocol IPv6 Unicast: advertised and received and negotiated
    Four Octet ASN: advertised and received and negotiated
    Route Refresh: advertised and received and negotiated
    Send End-of-RIB messages: advertised and received and negotiated
    Additional-paths recv capability:
      IPv6 Unicast: advertised
    Graceful Restart received:
       Restart-time is 180
       Restarting: no
       IPv6 Unicast is enabled, Forwarding State is  preserved
  Restart timer is inactive
  End of rib timer is inactive
  Message Statistics:
    InQ depth is 0
    OutQ depth is 0
                         Sent      Rcvd
    Opens:                 11         6
    Notifications:          2         0
    Updates:            19218     15205
    Keepalives:          4269      4270
    Route-Refresh:          0         0
    Total messages:     23500     19481
  Prefix Statistics:
                         Sent      Rcvd
    IPv4 Unicast:           0         0
    IPv6 Unicast:        6400         1
    IPv4 SR-TE:             0         0
    IPv6 SR-TE:             0         0
  Inbound updates dropped by reason:
    AS path loop detection: 3201
    Enforced First AS: 0
    Originator ID matches local router ID: 0
    Nexthop matches local IP address: 0
    Unexpected IPv6 nexthop for IPv4 routes: 0
    Nexthop invalid for single hop eBGP: 0
  Inbound updates with attribute errors:
    Resulting in removal of all paths in update (treat-as-withdraw): 0
    Resulting in AFI/SAFI disable: 0
    Resulting in attribute ignore: 0
  Inbound paths dropped by reason:
    IPv4 labeled-unicast NLRIs dropped due to excessive labels: 0
    IPv6 labeled-unicast NLRIs dropped due to excessive labels: 0
  Outbound paths dropped by reason:
    IPv4 local address not available: 0
    IPv6 local address not available: 0
Local AS is 64600, local router ID 100.1.0.29
TTL is 1
Local TCP address is fc00::72, local port is 51696
Remote TCP address is fc00::71, remote port is 179
Auto-Local-Addr is disabled
TCP Socket Information:
  TCP state is ESTABLISHED
  Recv-Q: 0/32768
  Send-Q: 0/32768
  Outgoing Maximum Segment Size (MSS): 1428
  Total Number of TCP retransmissions: 8
  Options:
    Timestamps enabled: yes
    Selective Acknowledgments enabled: yes
    Window Scale enabled: yes
    Explicit Congestion Notification (ECN) enabled: no
  Socket Statistics:
    Window Scale (wscale): 7,7
    Retransmission Timeout (rto): 224.0ms
    Round-trip Time (rtt/rtvar): 20.2ms/3.1ms
    Delayed Ack Timeout (ato): 40.0ms
    Congestion Window (cwnd): 10
    Slow-start Threshold (ssthresh): 116
    TCP Throughput: 5.66 Mbps
    Recv Round-trip Time (rcv_rtt): 554.5ms
    Advertised Recv Window (rcv_space): 28800

After bgp graceful restart, the ipv6 route learn via bgp is gone.

root@vlab-01:/var/log/quagga# docker exec -i bgp pkill -9 zebra
root@vlab-01:/var/log/quagga# docker exec -i bgp pkill -9 bgpd
root@vlab-01:/var/log/quagga# systemctl restart bgp 
ARISTA01T1#show ipv6 route  bgp

VRF: default
Displaying 0 of 6406 IPv6 routing table entries
Codes: C - connected, S - static, K - kernel, O3 - OSPFv3, B - BGP, R - RIP, A B - BGP Aggregate, I L1 - IS-IS level 1, I L2 - IS-IS level 2, DH - DHCP, NG - Nexthop Group Static Route, M - Martian, DP - Dynamic Policy Route


ARISTA01T1#show ipv6 bgp neighbors
BGP neighbor is fc00::71, remote AS 65100, external link
  Description: 65100
  BGP version 4, remote router ID 10.1.0.32, VRF default
  Negotiated BGP version 4
  Member of update group 3
  Last read 00:00:01, last write 00:00:01
  Hold time is 10, keepalive interval is 3 seconds
  Configured hold time is 180, keepalive interval is 60 seconds
  Connect timer is inactive
  Idle-restart timer is inactive
  BGP state is Established, up for 00:00:07
  Number of transitions to established: 7
  Last state was OpenConfirm
  Last event was RecvKeepAlive
  Last sent notification:Hold Timer Expired Error/Unspecified, Last time 00:07:27
  Last sent socket-error:local address fc00::72 unavailable, Last time 00:27:16, First time 03:38:56, Repeats 2
  Last rcvd socket-error:received unexpected EOF, Last time 00:00:08, First time 00:37:54, Repeats 7
  Neighbor Capabilities:
    Multiprotocol IPv6 Unicast: advertised and received and negotiated
    Four Octet ASN: advertised and received and negotiated
    Route Refresh: advertised and received and negotiated
    Send End-of-RIB messages: advertised and received and negotiated
    Additional-paths recv capability:
      IPv6 Unicast: advertised
    Graceful Restart received:
       Restart-time is 180
       Restarting: yes
       IPv6 Unicast is enabled, Forwarding State is  preserved
  Restart timer is inactive
  End of rib timer is inactive
  Message Statistics:
    InQ depth is 0
    OutQ depth is 0
                         Sent      Rcvd
    Opens:                 13         7
    Notifications:          2         0
    Updates:            22421     15786
    Keepalives:          4293      4294
    Route-Refresh:          0         0
    Total messages:     26729     20087
  Prefix Statistics:
                         Sent      Rcvd
    IPv4 Unicast:           0         0
    IPv6 Unicast:        6400         0
    IPv4 SR-TE:             0         0
    IPv6 SR-TE:             0         0
  Inbound updates dropped by reason:
    AS path loop detection: 579
    Enforced First AS: 0
    Originator ID matches local router ID: 0
    Nexthop matches local IP address: 0
    Unexpected IPv6 nexthop for IPv4 routes: 0
    Nexthop invalid for single hop eBGP: 580
  Inbound updates with attribute errors:
    Resulting in removal of all paths in update (treat-as-withdraw): 0
    Resulting in AFI/SAFI disable: 0
    Resulting in attribute ignore: 0
  Inbound paths dropped by reason:
    IPv4 labeled-unicast NLRIs dropped due to excessive labels: 0
    IPv6 labeled-unicast NLRIs dropped due to excessive labels: 0
  Outbound paths dropped by reason:
    IPv4 local address not available: 0
    IPv6 local address not available: 0
Local AS is 64600, local router ID 100.1.0.29
TTL is 1
Local TCP address is fc00::72, local port is 179
Remote TCP address is fc00::71, remote port is 46556
Auto-Local-Addr is disabled
TCP Socket Information:
  TCP state is ESTABLISHED
  Recv-Q: 0/32768
  Send-Q: 0/32768
  Outgoing Maximum Segment Size (MSS): 1428
  Total Number of TCP retransmissions: 1
  Options:
    Timestamps enabled: yes
    Selective Acknowledgments enabled: yes
    Window Scale enabled: yes
    Explicit Congestion Notification (ECN) enabled: no
  Socket Statistics:
    Window Scale (wscale): 7,7
    Retransmission Timeout (rto): 860.0ms
    Round-trip Time (rtt/rtvar): 214.9ms/160.6ms
    Delayed Ack Timeout (ato): 76.0ms
    Congestion Window (cwnd): 7
    Slow-start Threshold (ssthresh): 7
    TCP Throughput: 0.37 Mbps
    Recv Round-trip Time (rcv_rtt): 525.5ms
    Advertised Recv Window (rcv_space): 29988
 

IPv4 route doesn't have such problem.

ARISTA01T1#show ip route  bgp

VRF: default
Codes: C - connected, S - static, K - kernel, 
       O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1,
       E2 - OSPF external type 2, N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type2, B I - iBGP, B E - eBGP,
       R - RIP, I L1 - IS-IS level 1, I L2 - IS-IS level 2,
       O3 - OSPFv3, A B - BGP Aggregate, A O - OSPF Summary,
       NG - Nexthop Group Static Route, V - VXLAN Control Service,
       DH - DHCP client installed default route, M - Martian,
       DP - Dynamic Policy Route

 B E    10.1.0.32/32 [200/0] via 10.0.0.56, Port-Channel1
 B E    192.168.0.0/21 [200/0] via 10.0.0.56, Port-Channel1

ARISTA01T1#show ip bgp neighbors
BGP neighbor is 10.0.0.56, remote AS 65100, external link
  Description: 65100
  BGP version 4, remote router ID 10.1.0.32, VRF default
  Negotiated BGP version 4
  Member of update group 2
  Last read 00:00:01, last write 00:00:02
  Hold time is 10, keepalive interval is 3 seconds
  Configured hold time is 180, keepalive interval is 60 seconds
  Connect timer is inactive
  Idle-restart timer is inactive
  BGP state is Established, up for 00:00:19
  Number of transitions to established: 7
  Last state was OpenConfirm
  Last event was RecvKeepAlive
  Last sent notification:Hold Timer Expired Error/Unspecified, Last time 00:07:41
  Last rcvd notification:Cease/connection rejected, Last time 00:27:30
  Last rcvd socket-error:received unexpected EOF, Last time 00:00:22, First time 00:42:06, Repeats 10
  Neighbor Capabilities:
    Multiprotocol IPv4 Unicast: advertised and received and negotiated
    Four Octet ASN: advertised and received and negotiated
    Route Refresh: advertised and received and negotiated
    Send End-of-RIB messages: advertised and received and negotiated
    Additional-paths recv capability:
      IPv4 Unicast: advertised
    Graceful Restart received:
       Restart-time is 180
       Restarting: yes
       IPv4 Unicast is enabled, Forwarding State is  preserved
  Restart timer is inactive
  End of rib timer is inactive
  Message Statistics:
    InQ depth is 0
    OutQ depth is 0
                         Sent      Rcvd
    Opens:                 15         7
    Notifications:          2         1
    Updates:            22414     18707
    Keepalives:          4298      4298
    Route-Refresh:          0         0
    Total messages:     26729     23013
  Prefix Statistics:
                         Sent      Rcvd
    IPv4 Unicast:        6400         2
    IPv6 Unicast:           0         0
    IPv4 SR-TE:             0         0
    IPv6 SR-TE:             0         0
  Inbound updates dropped by reason:
    AS path loop detection: 3201
    Enforced First AS: 0
    Originator ID matches local router ID: 0
    Nexthop matches local IP address: 0
    Unexpected IPv6 nexthop for IPv4 routes: 0
    Nexthop invalid for single hop eBGP: 0
  Inbound updates with attribute errors:
    Resulting in removal of all paths in update (treat-as-withdraw): 0
    Resulting in AFI/SAFI disable: 0
    Resulting in attribute ignore: 0
  Inbound paths dropped by reason:
    IPv4 labeled-unicast NLRIs dropped due to excessive labels: 0
    IPv6 labeled-unicast NLRIs dropped due to excessive labels: 0
  Outbound paths dropped by reason:
    IPv4 local address not available: 0
    IPv6 local address not available: 0
Local AS is 64600, local router ID 100.1.0.29
TTL is 1
Local TCP address is 10.0.0.57, local port is 179
Remote TCP address is 10.0.0.56, remote port is 51452
Auto-Local-Addr is disabled
TCP Socket Information:
  TCP state is ESTABLISHED
  Recv-Q: 0/32768
  Send-Q: 0/32768
  Outgoing Maximum Segment Size (MSS): 1448
  Total Number of TCP retransmissions: 0
  Options:
    Timestamps enabled: yes
    Selective Acknowledgments enabled: yes
    Window Scale enabled: yes
    Explicit Congestion Notification (ECN) enabled: no
  Socket Statistics:
    Window Scale (wscale): 7,7
    Retransmission Timeout (rto): 416.0ms
    Round-trip Time (rtt/rtvar): 108.7ms/76.3ms
    Delayed Ack Timeout (ato): 40.0ms
    Congestion Window (cwnd): 10
    Slow-start Threshold (ssthresh): 52
    TCP Throughput: 1.07 Mbps
    Recv Round-trip Time (rcv_rtt): 237.0ms
    Advertised Recv Window (rcv_space): 28960

bgpd coredump while peer down

I has 3 switch running the same version SONiC/quagga.

Topology as below,each switch connect to spine with two layer 3 link which establish EBGP neighbor.

                          Spine
                    /  /          \ \ 
             Leaf Left        Leaf Right

What I do is update software version of spine, reboot the switch several times.
Then I found the bgpd of quagga coredump. the coredump info as below.

    Jul 19 02:52:01.662427 S9130-Leaf-Left INFO bgpd[57]: %NOTIFICATION: sent to neighbor 10.10.116.26 6/3 (Cease/Peer Unconfigured) 0 bytes
    Jul 19 02:52:01.662427 S9130-Leaf-Left INFO bgpd[57]: Notification sent to neighbor 10.10.116.26: type 6/3
    Jul 19 02:52:01.662479 S9130-Leaf-Left INFO bgpd[57]: %NOTIFICATION: sent to neighbor 10.10.117.26 6/3 (Cease/Peer Unconfigured) 0 bytes
    Jul 19 02:52:01.662479 S9130-Leaf-Left INFO bgpd[57]: Notification sent to neighbor 10.10.117.26: type 6/3
    Jul 19 02:52:01.662523 S9130-Leaf-Left INFO bgpd[57]: %NOTIFICATION: sent to neighbor 10.10.116.26 6/2 (Cease/Administratively Shutdown) 0 bytes
    Jul 19 02:52:01.662523 S9130-Leaf-Left INFO bgpd[57]: Notification sent to neighbor 10.10.116.26: shutdown
    Jul 19 02:52:01.662523 S9130-Leaf-Left INFO bgpd[57]: %ADJCHANGE: neighbor 10.10.116.26 Down Neighbor deleted
    Jul 19 02:52:01.662581 S9130-Leaf-Left INFO bgpd[57]: %NOTIFICATION: sent to neighbor 10.10.117.26 6/2 (Cease/Administratively Shutdown) 0 bytes
    Jul 19 02:52:01.662581 S9130-Leaf-Left INFO bgpd[57]: Notification sent to neighbor 10.10.117.26: shutdown
    Jul 19 02:52:01.662593 S9130-Leaf-Left INFO bgpd[57]: %ADJCHANGE: neighbor 10.10.117.26 Down Neighbor deleted
    Jul 19 02:52:10.412298 S9130-Leaf-Left NOTICE bgpd[56]: BGPd 0.99.24.1 starting: vty@2605, bgp@:179
    Jul 19 02:52:31.706505 S9130-Leaf-Left INFO bgpd[56]: %ADJCHANGE: neighbor 10.10.117.26 Up
    Jul 19 02:54:06.693167 S9130-Leaf-Left INFO bgpd[56]: %ADJCHANGE: neighbor 10.10.116.26 Up
    Jul 23 01:29:33.253106 S9130-Leaf-Left INFO bgpd[56]: %NOTIFICATION: received from neighbor 10.10.117.26 6/3 (Cease/Peer Unconfigured) 0 bytes
    Jul 23 01:29:33.253106 S9130-Leaf-Left INFO bgpd[56]: %NOTIFICATION: received from neighbor 10.10.116.26 6/3 (Cease/Peer Unconfigured) 0 bytes
    Jul 23 01:29:33.253106 S9130-Leaf-Left INFO bgpd[56]: %ADJCHANGE: neighbor 10.10.117.26 Down BGP Notification received
    Jul 23 01:29:33.253191 S9130-Leaf-Left INFO bgpd[56]: %ADJCHANGE: neighbor 10.10.116.26 Down BGP Notification received
    Jul 23 02:49:06.024443 S9130-Leaf-Left NOTICE bgpd[56]: BGPd 0.99.24.1 starting: vty@2605, bgp@:179
    Jul 23 12:40:06.358609 S9130-Leaf-Left INFO bgpd[56]: %NOTIFICATION: sent to neighbor 10.10.117.26 6/7 (Cease/Connection collision resolution) 0 bytes
    Jul 23 12:40:06.358609 S9130-Leaf-Left INFO bgpd[56]: Notification sent to neighbor 10.10.117.26: type 6/7
    Jul 23 12:40:06.358663 S9130-Leaf-Left INFO bgpd[56]: %ADJCHANGE: neighbor 10.10.117.26 Up
    Jul 23 12:40:07.357840 S9130-Leaf-Left INFO bgpd[56]: %ADJCHANGE: neighbor 10.10.116.26 Up
    Jul 24 07:21:42.081717 S9130-Leaf-Left INFO bgpd[56]: %NOTIFICATION: received from neighbor 10.10.116.26 6/3 (Cease/Peer Unconfigured) 0 bytes
    Jul 24 07:21:42.081717 S9130-Leaf-Left INFO bgpd[56]: %ADJCHANGE: neighbor 10.10.116.26 Down BGP Notification received
    Jul 24 07:21:42.081717 S9130-Leaf-Left INFO bgpd[56]: %NOTIFICATION: received from neighbor 10.10.117.26 6/3 (Cease/Peer Unconfigured) 0 bytes
    Jul 24 07:21:42.081717 S9130-Leaf-Left INFO bgpd[56]: %ADJCHANGE: neighbor 10.10.117.26 Down BGP Notification received
    Jul 24 07:45:45.029799 S9130-Leaf-Left INFO bgpd[56]: %ADJCHANGE: neighbor 10.10.116.26 Up
    Jul 24 07:45:53.163284 S9130-Leaf-Left INFO bgpd[56]: %ADJCHANGE: neighbor 10.10.117.26 Up
    Jul 24 11:21:25.797877 S9130-Leaf-Left INFO bgpd[56]: %ADJCHANGE: neighbor 10.10.117.26 Down NSF peer closed the session
    Jul 24 11:21:25.797877 S9130-Leaf-Left INFO bgpd[56]: %ADJCHANGE: neighbor 10.10.116.26 Down NSF peer closed the session
    Jul 24 11:22:10.170495 S9130-Leaf-Left CRIT bgpd[56]: Received signal 11 at 1532431330 (si_addr 0x0, PC 0x7fd8be671080); aborting...
    Jul 24 11:22:10.171797 S9130-Leaf-Left CRIT bgpd[56]: Backtrace for 13 stack frames:
    Jul 24 11:22:10.172280 S9130-Leaf-Left CRIT bgpd[56]: /usr/lib/libzebra.so.0(zlog_backtrace_sigsafe+0x42) [0x7fd8be680d22]
    Jul 24 11:22:10.172280 S9130-Leaf-Left CRIT bgpd[56]: /usr/lib/libzebra.so.0(zlog_signal+0x30c) [0x7fd8be68146c]
    Jul 24 11:22:10.172280 S9130-Leaf-Left CRIT bgpd[56]: /usr/lib/libzebra.so.0(+0x3d74f) [0x7fd8be68b74f]
    Jul 24 11:22:10.172280 S9130-Leaf-Left CRIT bgpd[56]: /lib/x86_64-linux-gnu/libc.so.6(+0x350e0) [0x7fd8bd9930e0]
    Jul 24 11:22:10.172306 S9130-Leaf-Left CRIT bgpd[56]: /usr/lib/libzebra.so.0(sockunion_cmp+0) [0x7fd8be671080]
    Jul 24 11:22:10.172306 S9130-Leaf-Left CRIT bgpd[56]: /usr/lib/quagga/bgpd(+0x49512) [0x5563f7c3b512]
    Jul 24 11:22:10.172306 S9130-Leaf-Left CRIT bgpd[56]: /usr/lib/quagga/bgpd(+0x49b7a) [0x5563f7c3bb7a]
    Jul 24 11:22:10.172321 S9130-Leaf-Left CRIT bgpd[56]: /usr/lib/quagga/bgpd(+0x49f7e) [0x5563f7c3bf7e]
    Jul 24 11:22:10.172321 S9130-Leaf-Left CRIT bgpd[56]: /usr/lib/libzebra.so.0(work_queue_run+0xe7) [0x7fd8be68c337]
    Jul 24 11:22:10.172333 S9130-Leaf-Left CRIT bgpd[56]: /usr/lib/libzebra.so.0(thread_call+0x6c) [0x7fd8be673efc]
    Jul 24 11:22:10.172333 S9130-Leaf-Left CRIT bgpd[56]: /usr/lib/quagga/bgpd(main+0x380) [0x5563f7c20900]
    Jul 24 11:22:10.172346 S9130-Leaf-Left CRIT bgpd[56]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fd8bd97fb45]
    Jul 24 11:22:10.172346 S9130-Leaf-Left CRIT bgpd[56]: /usr/lib/quagga/bgpd(+0x2e998) [0x5563f7c20998]
    Jul 24 11:22:10.172387 S9130-Leaf-Left CRIT bgpd[56]: read work_queue_run scheduled from workqueue.c:119

    root@S9130-Leaf-Left:/# gdb /usr/lib/quagga/bgpd bgpd.1532431330.56.core
    GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
    Copyright (C) 2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later 
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-linux-gnu".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    .
    Find the GDB manual and other documentation resources online at:
    .
    For help, type "help".
    Type "apropos word" to search for commands related to "word"...
    Reading symbols from /usr/lib/quagga/bgpd...Reading symbols from /usr/lib/debug//usr/lib/quagga/bgpd...done.
    done.
    [New LWP 56]
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    Core was generated by `/usr/lib/quagga/bgpd -A 127.0.0.1 -F'.
    Program terminated with signal SIGABRT, Aborted.
    #0  0x00007fd8bd993067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
        (gdb) bt
    #0  0x00007fd8bd993067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
    #1  0x00007fd8bd994448 in __GI_abort () at abort.c:89
    #2  0x00007fd8be68b754 in core_handler (signo=, siginfo=, context=) at sigevent.c:240
    #3  
    #4  sockunion_cmp (su1=0x0, su2=0x0) at sockunion.c:730
    #5  0x00005563f7c3b512 in bgp_info_cmp (bgp=bgp@entry=0x5563f9398350, new=new@entry=0x5563f93b8a70, exist=exist@entry=0x5563f93a56f0, paths_eq=paths_eq@entry=0x7fff3d36858c) at bgp_route.c:556
    #6  0x00005563f7c3bb7a in bgp_best_selection (bgp=bgp@entry=0x5563f9398350, rn=rn@entry=0x5563f93a3510, mpath_cfg=mpath_cfg@entry=0x5563f9398918, result=result@entry=0x7fff3d368610) at bgp_route.c:1408
    #7  0x00005563f7c3bf7e in bgp_process_main (wq=, data=) at bgp_route.c:1577
    #8  0x00007fd8be68c337 in work_queue_run (thread=0x7fff3d368850) at workqueue.c:293
    #9  0x00007fd8be673efc in thread_call (thread=0x7fff3d368850) at thread.c:1252
    #10 0x00005563f7c20900 in main (argc=4, argv=) at bgp_main.c:473
    (gdb) quit
    root@S9130-Leaf-Left:/# exit
    exit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.