FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.13k stars 1.21k forks source link

Redistribution from BGP to ISIS fails after frr restart #15024

Open alex4871095 opened 7 months ago

alex4871095 commented 7 months ago

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#

riw777 commented 5 months ago

A couple of questions ...

  1. What does the rest of this topology look like?
  2. Have you tried this without access lists? They might be blocking the redistribution for some reason ... it would be good to know whether the problem is there.
  3. Does this happen without the SR configuration? i.e., plain BGP and IS-IS?
alex4871095 commented 1 month ago

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. Here it is all the logs:

root@frr1:~# vtysh

Hello, this is FRRouting (version 10.0). Copyright 1996-2005 Kunihiro Ishiguro, et al.

frr1# show version FRRouting 10.0 (frr1) 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-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--sbindir=/usr/lib/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' frr1# show daemons mgmtd zebra bgpd isisd watchfrr staticd bfdd frr1# show runn Building configuration...

Current configuration: ! frr version 10.0 frr defaults traditional hostname frr1 service integrated-vtysh-config ! interface eth1 ipv6 nd ra-interval msec 500 exit ! interface lo ipv6 router isis myisis isis passive exit ! router bgp 65535 bgp router-id 172.20.20.24 no bgp default ipv4-unicast neighbor eth1 interface remote-as 65534 ! address-family ipv6 unicast network fd00:100::1/128 redistribute isis neighbor eth1 activate neighbor eth1 route-map PASS_ALL in neighbor eth1 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.0001.00 redistribute ipv6 bgp level-1 exit ! route-map PASS_ALL permit 10 exit ! end frr1# show bgp ipv6 unicast summary BGP router identifier 172.20.20.24, local AS number 65535 VRF default vrf-id 0 BGP table version 2 RIB entries 3, using 288 bytes of memory Peers 1, using 20 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc eth1 4 65534 9 8 2 0 0 00:00:25 1 2 N/A

Total number of neighbors 1 frr1# show bgp ipv6 unicast BGP table version is 2, local router ID is 172.20.20.24, vrf id 0 Default local pref 100, local AS 65535 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found

Network          Next Hop            Metric LocPrf Weight Path

> fd00:100::1/128 :: 0 32768 i > fd00:200::1/128 eth1 0 0 65534 i

Displayed 2 routes and 2 total paths frr1# show ipv6 route Codes: K - kernel route, C - connected, L - local, S - static, R - RIPng, O - OSPFv3, I - IS-IS, B - BGP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct,

  • selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure

K> ::/0 [0/1024] via 2001:172:20:20::1, eth0, 00:00:38 C> 2001:172:20:20::/64 is directly connected, eth0, 00:00:38 L> 2001:172:20:20::18/128 is directly connected, eth0, 00:00:38 L fd00:100::1/128 is directly connected, lo, 00:00:38 C> fd00:100::1/128 is directly connected, lo, 00:00:38 B> fd00:200::1/128 [20/0] via fe80::a8c1:abff:fe11:9c97, eth1, weight 1, 00:00:32 C fe80::/64 is directly connected, eth1, 00:00:38 C> fe80::/64 is directly connected, eth0, 00:00:38 frr1# show isis database detail Area myisis: IS-IS Level-1 link-state database: LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL frr1.00-00 * 119 0x00000002 0xa29f 1177 0/0/0 Protocols Supported: IPv6 Area Address: 49.0000.0000.0000.0000.0000.0000 Hostname: frr1 TE Router ID: 172.20.20.24 Router Capability: 172.20.20.24 , D:0, S:0 IPv4 Interface Address: 172.20.20.24 IPv6 Reachability: fd00:100::1/128 (Metric: 10) Subtlvs: IPv6 Reachability: fd00:200::1/128 (Metric: 0) Subtlvs:

1 LSPs

frr1# root@frr1:~# /etc/init.d/frr stop

Hello, this is FRRouting (version 10.0). Copyright 1996-2005 Kunihiro Ishiguro, et al.

frr1# show version FRRouting 10.0 (frr1) 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-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--sbindir=/usr/lib/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' frr1# show daemons mgmtd zebra bgpd isisd watchfrr staticd bfdd frr1# show runn Building configuration...

Current configuration: ! frr version 10.0 frr defaults traditional hostname frr1 service integrated-vtysh-config ! interface eth1 ipv6 nd ra-interval msec 500 exit ! interface lo ipv6 router isis myisis isis passive exit ! router bgp 65535 bgp router-id 172.20.20.24 no bgp default ipv4-unicast neighbor eth1 interface remote-as 65534 ! address-family ipv6 unicast network fd00:100::1/128 redistribute isis neighbor eth1 activate neighbor eth1 route-map PASS_ALL in neighbor eth1 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.0001.00 redistribute ipv6 bgp level-1 exit ! route-map PASS_ALL permit 10 exit ! end frr1# show bgp ipv6 unicast summary BGP router identifier 172.20.20.24, local AS number 65535 VRF default vrf-id 0 BGP table version 2 RIB entries 3, using 288 bytes of memory Peers 1, using 20 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc eth1 4 65534 9 8 2 0 0 00:00:20 1 2 N/A

Total number of neighbors 1 frr1# show bgp ipv6 unicast BGP table version is 2, local router ID is 172.20.20.24, vrf id 0 Default local pref 100, local AS 65535 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found

Network          Next Hop            Metric LocPrf Weight Path

> fd00:100::1/128 :: 0 32768 i > fd00:200::1/128 eth1 0 0 65534 i

Displayed 2 routes and 2 total paths frr1# show ipv6 route Codes: K - kernel route, C - connected, L - local, S - static, R - RIPng, O - OSPFv3, I - IS-IS, B - BGP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct,

  • selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure

K> ::/0 [0/1024] via 2001:172:20:20::1, eth0, 00:00:33 C> 2001:172:20:20::/64 is directly connected, eth0, 00:00:33 L> 2001:172:20:20::18/128 is directly connected, eth0, 00:00:33 L fd00:100::1/128 is directly connected, lo, 00:00:33 C> fd00:100::1/128 is directly connected, lo, 00:00:33 B> fd00:200::1/128 [20/0] via fe80::a8c1:abff:fe11:9c97, eth1, weight 1, 00:00:27 C fe80::/64 is directly connected, eth1, 00:00:33 C> fe80::/64 is directly connected, eth0, 00:00:33 frr1# show isis database detail Area myisis: IS-IS Level-1 link-state database: LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL frr1.00-00 * 119 0x00000002 0xa29f 1133 0/0/0 Protocols Supported: IPv6 Area Address: 49.0000.0000.0000.0000.0000.0000 Hostname: frr1 TE Router ID: 172.20.20.24 Router Capability: 172.20.20.24 , D:0, S:0 IPv4 Interface Address: 172.20.20.24 IPv6 Reachability: fd00:100::1/128 (Metric: 10) Subtlvs: IPv6 Reachability: fd00:200::1/128 (Metric: 0) Subtlvs:

1 LSPs

frr1# root@frr1:~# root@frr1:~# vtysh

Hello, this is FRRouting (version 10.0). Copyright 1996-2005 Kunihiro Ishiguro, et al.

frr1# conf t frr1(config)# route-map bgp2isis6 permit 10 frr1(config-route-map)# exit frr1(config)# exit frr1# conf t frr1(config)# router isis myisis frr1(config-router)# redistribute ipv6 bgp level-1 route-map bgp2isis6 frr1(config-router)# end frr1# wr Note: this version of vtysh never writes vtysh.conf Building Configuration... Error renaming /etc/frr/frr.conf to /etc/frr/frr.conf.sav: Device or resource busy Integrated configuration saved to /etc/frr/frr.conf [OK] frr1# show run Building configuration...

Current configuration: ! frr version 10.0 frr defaults traditional hostname frr1 service integrated-vtysh-config ! interface eth1 ipv6 nd ra-interval msec 500 exit ! interface lo ipv6 router isis myisis isis passive exit ! router bgp 65535 bgp router-id 172.20.20.24 no bgp default ipv4-unicast neighbor eth1 interface remote-as 65534 ! address-family ipv6 unicast network fd00:100::1/128 redistribute isis neighbor eth1 activate neighbor eth1 route-map PASS_ALL in neighbor eth1 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.0001.00 redistribute ipv6 bgp level-1 route-map bgp2isis6 exit ! route-map PASS_ALL permit 10 exit ! route-map bgp2isis6 permit 10 exit ! end frr1# show isis database detail Area myisis: IS-IS Level-1 link-state database: LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL frr1.00-00 * 119 0x00000002 0xa29f 940 0/0/0 Protocols Supported: IPv6 Area Address: 49.0000.0000.0000.0000.0000.0000 Hostname: frr1 TE Router ID: 172.20.20.24 Router Capability: 172.20.20.24 , D:0, S:0 IPv4 Interface Address: 172.20.20.24 IPv6 Reachability: fd00:100::1/128 (Metric: 10) Subtlvs: IPv6 Reachability: fd00:200::1/128 (Metric: 0) Subtlvs:

1 LSPs

frr1# root@frr1:~# /etc/init.d/frr stop

Hello, this is FRRouting (version 10.0). Copyright 1996-2005 Kunihiro Ishiguro, et al.

frr1# show version FRRouting 10.0 (frr1) 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-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--sbindir=/usr/lib/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' frr1# show daemons mgmtd zebra bgpd isisd watchfrr staticd bfdd frr1# show runn Building configuration...

Current configuration: ! frr version 10.0 frr defaults traditional hostname frr1 service integrated-vtysh-config ! interface eth1 ipv6 nd ra-interval msec 500 exit ! interface lo ipv6 router isis myisis isis passive exit ! router bgp 65535 bgp router-id 172.20.20.24 no bgp default ipv4-unicast neighbor eth1 interface remote-as 65534 ! address-family ipv6 unicast network fd00:100::1/128 redistribute isis neighbor eth1 activate neighbor eth1 route-map PASS_ALL in neighbor eth1 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.0001.00 redistribute ipv6 bgp level-1 route-map bgp2isis6 exit ! route-map PASS_ALL permit 10 exit ! route-map bgp2isis6 permit 10 exit ! end frr1# show bgp ipv6 unicast summary BGP router identifier 172.20.20.24, local AS number 65535 VRF default vrf-id 0 BGP table version 2 RIB entries 3, using 288 bytes of memory Peers 1, using 20 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc eth1 4 65534 9 8 2 0 0 00:00:22 1 2 N/A

Total number of neighbors 1 frr1# show bgp ipv6 unicast BGP table version is 2, local router ID is 172.20.20.24, vrf id 0 Default local pref 100, local AS 65535 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found

Network          Next Hop            Metric LocPrf Weight Path

> fd00:100::1/128 :: 0 32768 i > fd00:200::1/128 eth1 0 0 65534 i

Displayed 2 routes and 2 total paths frr1# show ipv6 route Codes: K - kernel route, C - connected, L - local, S - static, R - RIPng, O - OSPFv3, I - IS-IS, B - BGP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, t - Table-Direct,

  • selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure

K> ::/0 [0/1024] via 2001:172:20:20::1, eth0, 00:00:38 C> 2001:172:20:20::/64 is directly connected, eth0, 00:00:38 L> 2001:172:20:20::18/128 is directly connected, eth0, 00:00:38 L fd00:100::1/128 is directly connected, lo, 00:00:38 C> fd00:100::1/128 is directly connected, lo, 00:00:38 B> fd00:200::1/128 [20/0] via fe80::a8c1:abff:fe11:9c97, eth1, weight 1, 00:00:33 C fe80::/64 is directly connected, eth1, 00:00:38 C> fe80::/64 is directly connected, eth0, 00:00:38 frr1# show isis database detail Area myisis: IS-IS Level-1 link-state database: LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL frr1.00-00 * 96 0x00000001 0x7784 1142 0/0/0 Protocols Supported: IPv6 Area Address: 49.0000.0000.0000.0000.0000.0000 Hostname: frr1 TE Router ID: 172.20.20.24 Router Capability: 172.20.20.24 , D:0, S:0 IPv4 Interface Address: 172.20.20.24 IPv6 Reachability: fd00:100::1/128 (Metric: 10) Subtlvs:

1 LSPs

frr1# root@frr1:~#

ton31337 commented 1 week ago

Does it happen for IPv4 also or only IPv6?