Name of chain in my case was “sdtcom-in” - don’t work. I created chain “nothing” (for testing) - it works. After some experiments i found that chains longer than 7 chars not work. “sdtcomin” - not work, “sdtcomi” - work.
But now I have another problem:
I set up another BGP session and receive several rules. But all rules come with GATEWAY-STATEunreachable, for example:
# DST-ADDRESS PREF-SRC GATEWAY-STATE GATEWAY DISTANCE INTERFACE
12 Db 195.5.24.0/25 unreachable 195.5.5.129 5
13 Db 195.5.28.0/24 unreachable 195.5.5.129 5
14 Db 195.5.44.0/24 unreachable 195.5.5.129 5
When I checked manually - I can ping 195.5.5.129. What can I do to fix this?
i have maybe a bit off-topic, but still BGP routing specific question:
i got it to work and everything, a i’ve received all ~260000 routes (global routing table), but it seems that I am unable to find a suitable command to search/list/browse them.. in cisco ios terms this would be something like: “sh ip bgp neigh xx.xx.xx.xx received-routes | inc xxx.xx.xxx.xx/xx” is there some solution that i’ve overlooked? anyone?
i got it to work and everything, a i’ve received all ~260000 routes (global routing table), but it seems that I am unable to find a suitable command to search/list/browse them.. in cisco ios terms this would be something like: “sh ip bgp neigh xx.xx.xx.xx received-routes | inc xxx.xx.xxx.xx/xx” > > is there some solution that i’ve overlooked? anyone?
You can use print where
/ip route print where gateway=10.10.1.1 bgp=yes
How about my last question (about prepend) - can you help me?
And I have one more question: I need to receive announces from “top level” peer and resend all of them to another peer, but do not store those announces in my routing table. Which action can solve this task? I check “passthrough”, but all announces are in my routing table - it is not that I want…