frr
frr copied to clipboard
Routing attributes is not setting from static route
Description
Routing attributes is not settings from static route from route map.
Version
10.2.2
How to reproduce
- Run:
conf t
ip route 10.0.0.0/8 192.168.179.1
- Run:
route-map src4 permit 1
set src 8.8.8.8
ip protocol static route-map src4
Expected behavior
Set prefsrc from routes with route-map
Actual behavior
Routes attribute is not set from routes to route-map
Additional context
If killing staticd from:
kill $(ps ax|grep /staticd|grep -v grep|awk '{print $1}')
Attributes is set normally.
Checklist
- [x] I have searched the open issues for this bug.
- [x] I have not included sensitive information in this report.
What's the ip route show 10.0.0.0/8 command give us from the linux command line?
what if you reverse the order of the two config actions: configure the map first, then configure the route?
what if you reverse the order of the two config actions: configure the map first, then configure the route?
- Configuring static route
- Configuring route map
- Attach the route map from static protocol
hmm - I didn't really understand your reply. try configuring the routemap first, and then add the static route.
what if you reverse the order of the two config actions: configure the map first, then configure the route?
1. Configuring static route 2. Configuring route map 3. Attach the route map from static protocol