Mailing List Archive

[Bug 416] New: Unable to shut BGP neighbours down
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=416

Summary: Unable to shut BGP neighbours down
Product: Quagga
Version: 0.99.5
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: High
Component: bgpd
AssignedTo: maintainers@quagga.net
ReportedBy: duncan.small@gmail.com


When I shut down any of my 3 BGP sessions, they either do not go into Idle
(Admin) or if they do, the session comes back in after 30 or so seconds.

xxxx# sh ip bgp su
BGP router identifier x.x.x.x, local AS number ***
RIB entries 18, using 1152 bytes of memory
Peers 3, using 7536 bytes of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
x.x.x.10 4 nnn 42117 42127 0 0 0 00:18:00 1
x.x.x.11 4 nnn 59091 59094 0 0 0 00:14:23 2
x.x.x.12 4 nnn 41753 41755 0 0 0 02w1d17h 2

Total number of neighbors 3
xxxx# conf t
xxxx(config)# router bgp nnn
xxxx(config-router)# neighbor x.x.x.12 shut
xxxx(config-router)# end
xxxx# sh ip bgp su
BGP router identifier x.x.x.x, local AS number xxxx
RIB entries 15, using 960 bytes of memory
Peers 3, using 7536 bytes of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
x.x.x.10 4 42565 42119 42129 0 0 0 00:19:03 1
x.x.x.11 4 nnn 59092 59096 0 0 0 00:15:26 2
x.x.x.12 4 nnn 41753 41757 0 0 0 00:00:36 Idle (Admin)

Total number of neighbors 3

Session is shut as above, but then come backs in automatically:

xxxx# sh ip bgp su
BGP router identifier x.x.x.x, local AS number xxxx
RIB entries 18, using 1152 bytes of memory
Peers 3, using 7536 bytes of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
x.x.x.10 4 42565 42119 42129 0 0 0 00:19:05 1
x.x.x.11 4 nnn 59092 59096 0 0 0 00:15:28 2
x.x.x.12 4 nnn 41756 41760 0 0 0 00:00:01 2

The below confirms that the neighbour is shut down yet is still up...:

Total number of neighbors 3
xxxx# sh ip bgp neighbors x.x.x.12
BGP neighbor is x.x.x.12, remote AS nnn, local AS xxxx, external link
Description: *** xxxxx ***
Administratively shut down
BGP version 4, remote router ID 1.1.1.1
BGP state = Established, up for 00:00:17
Last read 00:00:17, hold time is 180, keepalive interval is 60 seconds
Neighbor capabilities:
Route refresh: advertised and received(old & new)
Address family IPv4 Unicast: advertised and received
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 3 1
Notifications: 2 0
Updates: 7 6
Keepalives: 41749 41749
Route Refresh: 0 0
Capability: 0 0
Total: 41761 41756
Minimum time between advertisement runs is 30 seconds

For address family: IPv4 Unicast
Inbound soft reconfiguration allowed
AS_PATH is propagated unchanged to this neighbor
NEXT_HOP is propagated unchanged to this neighbor
MED is propagated unchanged to this neighbor
Community attribute sent to this neighbor(standard)
Inbound path policy configured
Outbound path policy configured
Incoming update prefix filter list is *ASnnn
Route map for incoming advertisements is *innnn.02
Route map for outgoing advertisements is *outnnn.02
2 accepted prefixes
Maximum prefixes allowed 300
Threshold for warning message 75%

Connections established 3; dropped 2
Last reset 00:00:54, due to Admin. shutdown
Local host: x.x.x.1, Local port: 179
Foreign host: x.x.x.12, Foreign port: 30674
Nexthop: x.x.x.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Read thread: on Write thread: off

The running config contains the shut down command:

xxxx:~# vtysh -c "sh run" | grep shut
neighbor x.x.x.12 shutdown



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs