Cease/Connection collision resolution when down port and admindown bgp peer at the same time #16595
Replies: 3 comments
-
That's normal and the session should be up eventually. This is due to a fast transition. |
Beta Was this translation helpful? Give feedback.
-
There is a probability that some v6 sessions will eventually fail to come up. |
Beta Was this translation helpful? Give feedback.
-
port A1------port B1 B: port B1:100.0.0.2/24 100::2/64 1 down port A1 BGP neighbor is 200::1, remote AS 53, local AS 55, external link For address family: IPv6 Unicast Connections established 5; dropped 4 |
Beta Was this translation helpful? Give feedback.
-
Description
A:port A1:100.0.0.1/24 100::1/64
port A2:200.0.0.1/24 200::1/64
B: port B1:100.0.0.2/24 100::2/64
port B2:200.0.0.2/24 200::2/64
A:
router bgp 53
bgp router-id 1.1.1.53
no bgp ebgp-requires-policy
no bgp default ipv4-unicast
timers bgp 10 30
neighbor 100.0.0.2 remote-as 55
neighbor 100.0.0.2 description connect_to_ceshiyi
neighbor 100.0.0.2 advertisement-interval 0
neighbor 100.0.0.2 timers 10 30
neighbor 100.0.0.2 timers connect 3
neighbor 200.0.0.2 remote-as 55
neighbor 200.0.0.2 description connect_to_ceshiyi
neighbor 200.0.0.2 advertisement-interval 0
neighbor 200.0.0.2 timers 10 30
neighbor 200.0.0.2 timers connect 3
neighbor 100::2 remote-as 55
neighbor 100::2 description connect_to_ceshiyi
neighbor 100::2 advertisement-interval 0
neighbor 100::2 timers 10 30
neighbor 100::2 timers connect 3
neighbor 200::2 remote-as 55
neighbor 200::2 description connect_to_ceshiyi
neighbor 200::2 advertisement-interval 0
neighbor 200::2 timers 10 30
neighbor 200::2 timers connect 3
!
address-family ipv4 unicast
neighbor 100.0.0.2 activate
neighbor 200.0.0.2 activate
exit-address-family
!
address-family ipv6 unicast
neighbor 100::2 activate
neighbor 200::2 activate
exit-address-family
B:
router bgp 55
bgp router-id 1.1.1.55
no bgp ebgp-requires-policy
no bgp default ipv4-unicast
timers bgp 10 30
neighbor 100.0.0.1 remote-as 53
neighbor 100.0.0.1 description connect_to_ceshiyi
neighbor 100.0.0.1 advertisement-interval 0
neighbor 100.0.0.1 timers 10 30
neighbor 100.0.0.1 timers connect 3
neighbor 200.0.0.1 remote-as 53
neighbor 200.0.0.1 description connect_to_ceshiyi
neighbor 200.0.0.1 advertisement-interval 0
neighbor 200.0.0.1 timers 10 30
neighbor 200.0.0.1 timers connect 3
neighbor 100::1 remote-as 53
neighbor 100::1 description connect_to_ceshiyi
neighbor 100::1 advertisement-interval 0
neighbor 100::1 timers 10 30
neighbor 100::1 timers connect 3
neighbor 200::1 remote-as 53
neighbor 200::1 description connect_to_ceshiyi
neighbor 200::1 advertisement-interval 0
neighbor 200::1 timers 10 30
neighbor 200::1 timers connect 3
!
address-family ipv4 unicast
neighbor 100.0.0.1 activate
neighbor 200.0.0.1 activate
exit-address-family
!
address-family ipv6 unicast
neighbor 100::1 activate
neighbor 200::1 activate
exit-address-family
Reproduction steps:
1 down port A1
2 neighbor 200.0.0.2 shutdown
3 neighbor 200::2 shutdown
4 up port A1
5 undo neighbor 200.0.0.2 shutdown
6 undo neighbor 200::2 shutdown
result:
BGP neighbor is 200::2, remote AS 55, local AS 53, external link
Description: connect_to_ceshiyi
Hostname: sonic
BGP version 4, remote router ID 1.1.1.55, local router ID 1.1.1.53
BGP state = Idle
Last read 00:16:04, Last write 00:00:18
Hold time is 30, keepalive interval is 10 seconds
Configured hold time is 30, keepalive interval is 10 seconds
Graceful restart information:
Local GR Mode: Helper*
Remote GR Mode: NotApplicable
R bit: False
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
IPv6 Unicast:
F bit: False
End-of-RIB sent: No
End-of-RIB sent after update: No
End-of-RIB received: No
Timers:
Configured Stale Path Time(sec): 360
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 32 30
Notifications: 12 48
Updates: 6 6
Keepalives: 97 74
Route Refresh: 0 0
Capability: 0 0
Total: 147 158
Minimum time between advertisement runs is 0 seconds
For address family: IPv6 Unicast
Not part of any update group
Community attribute sent to this neighbor(all)
0 accepted prefixes
Maximum prefixes allowed 40000 (warning-only)
Threshold for warning message 80%
Connections established 6; dropped 6
Last reset 00:15:54, Notification received (Cease/Connection collision resolution)
Local host: 200::1, Local port: 50312
Foreign host: 200::2, Foreign port: 179
Nexthop: 200.0.0.1
Nexthop global: 200::1
Nexthop local: fe80::9a19:2cff:fe65:4780
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 3
Next start timer due in 13 seconds
Read thread: off Write thread: off FD used: -1
Version
How to reproduce
Reproduction steps:
1 down port A1
2 neighbor 200.0.0.2 shutdown
3 neighbor 200::2 shutdown
4 up port A1
5 undo neighbor 200.0.0.2 shutdown
6 undo neighbor 200::2 shutdown
Expected behavior
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt
100::2 4 55 235 241 0 0 0 00:18:54 0 0
200::2 4 55 164 151 0 0 0 00:19:02 0 0
Actual behavior
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt
100::2 4 55 235 241 0 0 0 00:18:54 0 0
200::2 4 55 164 151 0 0 0 00:19:02 Idle 0
BGP neighbor is 200::2, remote AS 55, local AS 53, external link
Description: connect_to_ceshiyi
Hostname: sonic
BGP version 4, remote router ID 1.1.1.55, local router ID 1.1.1.53
BGP state = Idle
Last read 00:16:04, Last write 00:00:18
Hold time is 30, keepalive interval is 10 seconds
Configured hold time is 30, keepalive interval is 10 seconds
Graceful restart information:
Local GR Mode: Helper*
Remote GR Mode: NotApplicable
R bit: False
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
IPv6 Unicast:
F bit: False
End-of-RIB sent: No
End-of-RIB sent after update: No
End-of-RIB received: No
Timers:
Configured Stale Path Time(sec): 360
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 32 30
Notifications: 12 48
Updates: 6 6
Keepalives: 97 74
Route Refresh: 0 0
Capability: 0 0
Total: 147 158
Minimum time between advertisement runs is 0 seconds
For address family: IPv6 Unicast
Not part of any update group
Community attribute sent to this neighbor(all)
0 accepted prefixes
Maximum prefixes allowed 40000 (warning-only)
Threshold for warning message 80%
Connections established 6; dropped 6
Last reset 00:15:54, Notification received (Cease/Connection collision resolution)
Local host: 200::1, Local port: 50312
Foreign host: 200::2, Foreign port: 179
Nexthop: 200.0.0.1
Nexthop global: 200::1
Nexthop local: fe80::9a19:2cff:fe65:4780
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 3
Next start timer due in 13 seconds
Read thread: off Write thread: off FD used: -1
Additional context
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions