BGP - route-map does not exist during restart

Hi
During BGP configuration I was faced with issue when I made ‘restart frr bgpd’ I saw:

The route-map 'IBGP-IMPORT' does not exist.
The route-map 'IBGP-EXPORT' does not exist.

Here is the configuration:

# sho protocols bgp | strip-private 
 address-family {
     ipv4-unicast {
         network xxx.xxx.52.127/32 {
             route-map NEXT-HOP-SELF
         }
     }
 }
 local-as XYZ
 neighbor xxx.xxx.52.13 {
     bfd {
     }
     description gw1-soft
     peer-group IBGP
 }
 neighbor xxx.xxx.52.14 {
     bfd {
     }
     description gw2-soft
     peer-group IBGP
 }
 parameters {
     graceful-restart {
     }
     graceful-shutdown
     log-neighbor-changes
     router-id xxx.xxx.52.11
 }
 peer-group IBGP {
     address-family {
         ipv4-unicast {
             route-map {
                 export IBGP-EXPORT
                 import IBGP-IMPORT
             }
             soft-reconfiguration {
                 inbound
             }
         }
     }
     remote-as internal
     update-source eth1
 }
# show policy route-map NEXT-HOP-SELF | strip-private 
 rule 10 {
     action permit
     set {
         ip-next-hop xxx.xxx.52.11
     }
 }


# show policy route-map IBGP-EXPORT | strip-private 
 rule 10 {
     action permit
     match {
         ip {
             address {
                 prefix-list NAT
             }
         }
     }
 }

# show policy route-map IBGP-IMPORT | strip-private 
 rule 10 {
     action permit
     match {
         ip {
             address {
                 prefix-list DEFAULT
             }
         }
     }
 }
 rule 20 {
     action deny
 }

# show policy prefix-list NAT | strip-private 
 rule 10 {
     action permit
     prefix xxx.xxx.52.127/32
 }

# show policy prefix-list DEFAULT | strip-private 
 rule 10 {
     action permit
     prefix xxx.xxx.0.0/0
 }

# show policy prefix-list DEFAULT
 rule 10 {
     action permit
     prefix 0.0.0.0/0
 }

# run sho version 
Version:          VyOS 1.4-rolling-202104132216
Release Train:    sagitta

Please assist.

I can’t reproduce it with the same route-maps

vyos@r6-roll# commit
[edit]
vyos@r6-roll# 
[edit]
vyos@r6-roll# 
[edit]
vyos@r6-roll# run show conf com | match "policy|bgp"
set policy route-map IBGP-EXPORT rule 10 action 'permit'
set policy route-map IBGP-IMPORT rule 10 action 'permit'
set protocols bgp local-as '65001'
set protocols bgp peer-group IBGP address-family ipv4-unicast route-map export 'IBGP-EXPORT'
set protocols bgp peer-group IBGP address-family ipv4-unicast route-map import 'IBGP-IMPORT'
set protocols bgp peer-group IBGP address-family ipv4-unicast soft-reconfiguration inbound
[edit]
vyos@r6-roll# 

The same version

vyos@r6-roll:~$ show version 

Version:          VyOS 1.4-rolling-202104132216

I didn’t mention that I was doing the upgrade 1.3 → 1.4
After I does a clean install the issue was gone.
Thanks for your help.

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