-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redistribution from BGP to ISIS fails after frr restart #15024
Comments
A couple of questions ...
|
Hi Russ, nice to hear you! Sorry for late reply.. I've just re-checked the issue on FRR 10.0. Topology is as simple as possible - FRR1 and FRR2 directly connected, and announces it's own loopbacks by BGP unnumbered session. Also i removed almost all the stuff from configs trying to identify the issue, and now it seems like the issue is somehow connected with route-map processing. root@frr1:~# vtysh Hello, this is FRRouting (version 10.0). frr1# show version Current configuration: Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc Total number of neighbors 1
*> fd00:100::1/128 :: 0 32768 i Displayed 2 routes and 2 total paths K>* ::/0 [0/1024] via 2001:172:20:20::1, eth0, 00:00:38
frr1#
Hello, this is FRRouting (version 10.0). frr1# show version Current configuration: Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc Total number of neighbors 1
*> fd00:100::1/128 :: 0 32768 i Displayed 2 routes and 2 total paths K>* ::/0 [0/1024] via 2001:172:20:20::1, eth0, 00:00:33
frr1# Hello, this is FRRouting (version 10.0). frr1# conf t Current configuration:
frr1#
Hello, this is FRRouting (version 10.0). frr1# show version Current configuration: Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc Total number of neighbors 1
*> fd00:100::1/128 :: 0 32768 i Displayed 2 routes and 2 total paths K>* ::/0 [0/1024] via 2001:172:20:20::1, eth0, 00:00:38
frr1# |
Does it happen for IPv4 also or only IPv6? |
This issue is stale because it has been open 180 days with no activity. Comment or remove the |
This issue will be automatically closed in the specified period unless there is further activity. |
Describe the bug
Redistribution from BGP to ISIS fails after frr restart
To Reproduce
systemctl restart frr
vtysh
Hello, this is FRRouting (version 9.1).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
tn3# show isis database detail tn3.00-00
Area myisis:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
tn3.00-00 * 152 0x000000d7 0x02b9 1154 0/0/0
Protocols Supported: IPv6
Area Address: 49.0000.0000.0000.0000.0000.0000
Hostname: tn3
TE Router ID: 192.168.58.13
Router Capability: 192.168.58.13 , D:0, S:0
Segment Routing: I:1 V:1, Global Block Base: 10000 Range: 40001
SR Local Block Base: 60000 Range: 40001
SR Algorithm:
0: SPF
Node Maximum SID Depth: 16
Extended Reachability: 0000.0000.0001.00 (Metric: 10)
Adjacency-SID: 60000, Weight: 0, Flags: F:1 B:0, V:1, L:1, S:0, P:0
IPv4 Interface Address: 192.168.58.13
IPv6 Reachability: fd00:db01::1/128 (Metric: 10)
Subtlvs:
SR Prefix-SID Index: 103, Algorithm: 0, Flags: NODE PHP
tn3#
tn3# show ipv6 route fd00:dc01::1/128
Routing entry for fd00:dc01::1/128
Known via "bgp", distance 20, metric 0, best
Last update 00:00:19 ago
tn3#
tn3# show run isisd
Building configuration...
Current configuration:
!
frr version 9.1
frr defaults traditional
hostname tn3
log syslog informational
service integrated-vtysh-config
!
interface lo
ipv6 router isis myisis
isis passive
exit
!
interface vlan1919
ipv6 router isis myisis
isis bfd
isis bfd profile bfdisis
isis circuit-type level-1
isis fast-reroute ti-lfa level-1
isis hello-interval 1
isis hello-multiplier 3
isis network point-to-point
exit
!
router isis myisis
is-type level-1
net 49.0000.0000.0000.0000.0000.0000.0000.0000.0003.00
lsp-timers gen-interval 1 refresh-interval 900 max-lifetime 1200
spf-delay-ietf init-delay 50 short-delay 100 long-delay 500 holddown 3000 time-to-learn 4000
redistribute ipv6 bgp level-1 route-map bgp2isis6
segment-routing on
segment-routing global-block 10000 50000 local-block 60000 100000
segment-routing node-msd 16
segment-routing prefix fd00:db01::1/128 index 103
segment-routing prefix fd00:dc01::1/128 index 104
exit
!
ipv6 prefix-list SPL seq 5 permit fd00:db01::1/128
ipv6 prefix-list SPL seq 10 permit fd00:de01::1/128
ipv6 prefix-list GPL seq 5 permit fd00:dc01::1/128
!
route-map PASS_ALL permit 10
exit
!
route-map bgp2isis6 permit 10
match ipv6 address prefix-list GPL
exit
!
route-map isis2bgp6 permit 10
match ipv6 address prefix-list SPL
exit
!
route-map bgp2isis6_high_metric permit 10
set metric 10000
exit
!
route-map INGRESS permit 10
exit
!
route-map EGRESS permit 10
exit
!
end
tn3# conf t
tn3(config)# router isis myisis
tn3(config-router)# no redistribute ipv6 bgp level-1 route-map bgp2isis6
tn3(config-router)# redistribute ipv6 bgp level-1 route-map bgp2isis6
tn3(config-router)# end
tn3#
tn3# show isis database detail tn3.00-00
Area myisis:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
tn3.00-00 * 183 0x000000d9 0x1a09 1142 0/0/0
Protocols Supported: IPv6
Area Address: 49.0000.0000.0000.0000.0000.0000
Hostname: tn3
TE Router ID: 192.168.58.13
Router Capability: 192.168.58.13 , D:0, S:0
Segment Routing: I:1 V:1, Global Block Base: 10000 Range: 40001
SR Local Block Base: 60000 Range: 40001
SR Algorithm:
0: SPF
Node Maximum SID Depth: 16
Extended Reachability: 0000.0000.0001.00 (Metric: 10)
Adjacency-SID: 60000, Weight: 0, Flags: F:1 B:0, V:1, L:1, S:0, P:0
IPv4 Interface Address: 192.168.58.13
IPv6 Reachability: fd00:db01::1/128 (Metric: 10)
Subtlvs:
SR Prefix-SID Index: 103, Algorithm: 0, Flags: NODE PHP
IPv6 Reachability: fd00:dc01::1/128 (Metric: 0)
Subtlvs:
SR Prefix-SID Index: 104, Algorithm: 0, Flags: READVERTISED PHP
tn3#
Expected behavior
I would expect that prefix fd00:dc01::1/128 learnt by BGP is advertised to ISIS domain
Screenshots
Versions
Additional context
tn3# show version
FRRouting 9.1 (tn3) on Linux(5.15.91).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
configured with:
'--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--localstatedir=/var/run/frr' '--sbindir=/usr/lib/frr' '--sysconfdir=/etc/frr' '--with-vtysh-pager=/usr/bin/pager' '--libdir=/usr/lib/x86_64-linux-gnu/frr' '--with-moduledir=/usr/lib/x86_64-linux-gnu/frr/modules' '--disable-dependency-tracking' '--enable-rpki' '--disable-scripting' '--enable-pim6d' '--with-libpam' '--enable-doc' '--enable-doc-html' '--enable-snmp' '--enable-fpm' '--disable-protobuf' '--disable-zeromq' '--enable-ospfapi' '--enable-bgp-vnc' '--enable-multipath=256' '--enable-user=frr' '--enable-group=frr' '--enable-vty-group=frrvty' '--enable-configfile-mask=0640' '--enable-logfile-mask=0640' 'build_alias=x86_64-linux-gnu' 'PYTHON=python3'
tn3#
tn3# show daemons
mgmtd zebra bgpd isisd watchfrr staticd bfdd pathd
tn3#
tn3# show runn
Building configuration...
Current configuration:
!
frr version 9.1
frr defaults traditional
hostname tn3
log syslog informational
service integrated-vtysh-config
!
interface lo
ipv6 router isis myisis
isis passive
mpls enable
exit
!
interface vlan1919
ipv6 nd ra-interval msec 500
ipv6 router isis myisis
isis bfd
isis bfd profile bfdisis
isis circuit-type level-1
isis fast-reroute ti-lfa level-1
isis hello-interval 1
isis hello-multiplier 3
isis network point-to-point
mpls enable
exit
!
interface vlan1920
mpls enable
exit
!
interface vlan1951
ipv6 nd ra-interval msec 500
exit
!
router bgp 65534
bgp router-id 192.168.58.13
no bgp default ipv4-unicast
neighbor vlan1951 interface remote-as 65535
neighbor vlan1951 bfd
neighbor vlan1951 bfd profile bfdbgp
neighbor vlan1951 timers connect 1
!
address-family ipv6 unicast
network fd00:db01::1/128
redistribute isis route-map isis2bgp6
neighbor vlan1951 activate
neighbor vlan1951 route-map PASS_ALL in
neighbor vlan1951 route-map PASS_ALL out
exit-address-family
exit
!
router isis myisis
is-type level-1
net 49.0000.0000.0000.0000.0000.0000.0000.0000.0003.00
lsp-timers gen-interval 1 refresh-interval 900 max-lifetime 1200
spf-delay-ietf init-delay 50 short-delay 100 long-delay 500 holddown 3000 time-to-learn 4000
redistribute ipv6 bgp level-1 route-map bgp2isis6
segment-routing on
segment-routing global-block 10000 50000 local-block 60000 100000
segment-routing node-msd 16
segment-routing prefix fd00:db01::1/128 index 103
segment-routing prefix fd00:dc01::1/128 index 104
exit
!
ipv6 prefix-list SPL seq 5 permit fd00:db01::1/128
ipv6 prefix-list SPL seq 10 permit fd00:de01::1/128
ipv6 prefix-list GPL seq 5 permit fd00:dc01::1/128
!
route-map PASS_ALL permit 10
exit
!
route-map bgp2isis6 permit 10
match ipv6 address prefix-list GPL
exit
!
route-map isis2bgp6 permit 10
match ipv6 address prefix-list SPL
exit
!
route-map bgp2isis6_high_metric permit 10
set metric 10000
exit
!
route-map INGRESS permit 10
set distance 250
exit
!
route-map EGRESS permit 10
set community 65534:90
exit
!
segment-routing
traffic-eng
exit
exit
!
bfd
profile bfdbgp
transmit-interval 100
receive-interval 100
exit
!
profile bfdisis
transmit-interval 100
receive-interval 100
exit
!
exit
!
end
tn3#
The text was updated successfully, but these errors were encountered: