set prefix-list pl_BGPv4_export rule 10 action 'permit'
set prefix-list pl_BGPv4_export rule 10 prefix '1.1.1.0/24'
And then I configured a route map:
set route-map pol_BGPv4_export rule 10 action 'permit'
set route-map pol_BGPv4_export rule 10 match ip address prefix-list 'pl_BGPv4_export '
And then applied it to a neighbor:
set address-family ipv4-unicast nexthop-self force
set address-family ipv4-unicast remove-private-as
set address-family ipv4-unicast route-map export 'pol_BGPv4_export '
set address-family ipv4-unicast soft-reconfiguration inbound
set capability dynamic
set graceful-restart 'enable'
set remote-as '13335'
set solo
But when I run
It doesn’t show that I’m advertising any prefixes towards my peer, this configuration “was” working, previous, but then all of a sudden, just stopped?!
Also note, that BGP configuration is done under the edit vrf name external
So just to update the situation. It looks like there might be some bug with the VRF not seeing the route-map or prefix-list.
How I had this configured, was within the VRF construct. As what we had done, was created 2 VRF’s, one for management and the other for transiting traffic.
I’ve now moved the transit traffic out of the VRF and into the default instance, and from there, everything works as expected.
Just curious to know to what extent should dynamic routing be working with VRF’s, and whether or not this is a bug that can be logged?
Sorry, yes and as well, when I’ve done the route-map equivalent as well, returns the same cannot find route-map error as well, even through the route-map is configured and applied.