IPv6 BGP - Not advertising routes

Hello, we are having an issue with ipv6 BGP peering. Our /64 range is not being advertised.

Config is as follows:

set protocols bgp 33XXX neighbor 2001:X:X:XX::XX:X address-family ipv6-unicast route-map export 'COGENT-OUT-IPV6'
set protocols bgp 33XXX neighbor 2001:X:X:XX::XX:X address-family ipv6-unicast route-map import 'COGENT-IN-IPV6'
set protocols bgp 33XXX neighbor 2001:X:X:XX::XX:X address-family ipv6-unicast soft-reconfiguration inbound
set protocols bgp 33XXX neighbor 2001:X:X:XX::XX:X remote-as '174'
set protocols bgp 33XXX neighbor 2001:X:X:XX::XX:X update-source '2001:X:X:XX::XX:Y'

set policy route-map COGENT-OUT-IPV6 rule 100 action 'permit'
set policy route-map COGENT-OUT-IPV6 rule 100 match ipv6 address prefix-list 'EXPORT-AS174-IPV6'

set policy prefix-list6 EXPORT-AS174-IPV6 rule 10 action 'permit'
set policy prefix-list6 EXPORT-AS174-IPV6 rule 10 prefix '26XX:XXXX::/36'

set protocols static route6 26XX:XXXX::/36 blackhole distance '254'

vyos@vyos-er01# run show ipv6 bgp neighbors 2001:X:X:XX::XX:X
BGP neighbor is 2001:X:X:XX::XX:X, remote AS 174, local AS 33360, external link
  BGP version 4, remote router ID 154.XX.X.XX, local router ID 204.XX.XX.XX
  BGP state = Established, up for 00:19:51
  Last read 00:00:12, Last write 00:00:51
  Hold time is 180, keepalive interval is 60 seconds
  Neighbor capabilities:
    4 Byte AS: advertised and received
    AddPath:
      IPv6 Unicast: RX advertised IPv6 Unicast
    Extended nexthop: received
      Address families by peer:
                   IPv4 Unicast
    Route refresh: advertised and received(old & new)
    Address Family IPv6 Unicast: advertised and received
    Hostname Capability: advertised (name: debian,domain name: n/a) not received
    Graceful Restart Capability: advertised
  Graceful restart information:
    Local GR Mode: Helper*
    Remote GR Mode: Disable
    R bit: False
    Timers:
      Configured Restart Time(sec): 120
      Received Restart Time(sec): 0
  Message statistics:
    Inq depth is 0
    Outq depth is 0
                         Sent       Rcvd
    Opens:                  1          1
    Notifications:          0          0
    Updates:                0      47106
    Keepalives:            20          2
    Route Refresh:          0          0
    Capability:             0          0
    Total:                 21      47109
  Minimum time between advertisement runs is 0 seconds
  Update source is 2001:X:X:XX::XX:Y

 For address family: IPv6 Unicast
  Update group 1, subgroup 1
  Packet Queue length 0
  Inbound soft reconfiguration allowed
  Community attribute sent to this neighbor(all)
  Inbound path policy configured
  Outbound path policy configured
  Route map for incoming advertisements is *COGENT-IN-IPV6
  Route map for outgoing advertisements is *COGENT-OUT-IPV6
  67548 accepted prefixes

  Connections established 1; dropped 0
  Last reset 00:19:53,  Waiting for peer OPEN
Local host: 2001:X:X:XX::XX:Y, Local port: 39125
Foreign host: 2001:X:X:XX::XX:X, Foreign port: 179
Nexthop: 38.XX.XX.XX
Nexthop global: 2001:X:X:XX::XX:Y
Nexthop local: feXX::XXXX:XXX:XXX:XXzz
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 120
Read thread: on  Write thread: on  FD used: 31

I am able to receive full routing tables on both ipv4 and ipv6. My ipv4 routes are being advertised correctly.

It seems you need redistribute static option

1 Like

Yup, that worked. Thanks!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.