02-13-2013 12:36 PM - edited 03-07-2019 11:42 AM
I have a question about finding the router we are using as primary connection. We do not run a standard design. We do not use HSRP or EGRIP. It seems that BGP is used between both routers with OSPF. The only way I know that our primary router is being used first is by doing a local workstation traceroute out to the internet. How do you know from a router prespective if the router is primary or secondary. Local Prefs are not 110 for the primary so I dont know what exactly is going on. I think it has something to do with that redistribute line. Please help.
router bgp 3436
no synchronization
bgp default local-preference 90
bgp log-neighbor-changes
network *hidden* mask 255.255.0.0 backdoor
network *hidden* mask 255.254.0.0 backdoor
network *hidden* mask 255.255.0.0 backdoor
network *hidden* mask 255.255.192.0 backdoor
network *hidden* mask 255.255.128.0 backdoor
network *hidden* mask 255.255.255.0 backdoor
network *hidden* mask 255.255.255.0 backdoor
network *hidden* mask 255.255.255.0 backdoor
network *hidden* mask 255.255.255.192 backdoor
network *hidden* mask 255.255.255.240 backdoor
network *hidden* mask 255.255.255.248 backdoor
network *hidden* mask 255.255.255.240 backdoor
network *hidden* mask 255.255.255.192 backdoor
redistribute ospf 1001 match internal external 1 external 2 route-map ospf1001-to-bgp3436
neighbor *hidden* remote-as 13979
neighbor *hidden* timers 15 45
neighbor *hidden* fall-over
neighbor *hidden* soft-reconfiguration inbound
neighbor *hidden* route-map Central-FL-routes-in in
neighbor *hidden* route-map Central-FL-routes-out out
no auto-summary
router bgp 1001
no synchronization
bgp default local-preference 90
bgp log-neighbor-changes
network *hidden* mask 255.255.0.0 backdoor
network *hidden* mask 255.254.0.0 backdoor
network *hidden* mask 255.255.0.0 backdoor
network *hidden* mask 255.255.192.0 backdoor
network *hidden* mask 255.255.128.0 backdoor
network *hidden* mask 255.255.255.0 backdoor
network *hidden* mask 255.255.255.0 backdoor
network *hidden* mask 255.255.255.0 backdoor
network *hidden* mask 255.255.255.192 backdoor
network *hidden* mask 255.255.255.240 backdoor
network *hidden* mask 255.255.255.248 backdoor
network *hidden* mask 255.255.255.240 backdoor
network *hidden* mask 255.255.255.192 backdoor
redistribute ospf 1001 match internal external 1 external 2 route-map ospf1001-to-bgp1001
neighbor *hidden* remote-as 65000
neighbor *hidden* soft-reconfiguration inbound
neighbor *hidden* route-map Central-FL-routes-in in
neighbor *hidden* route-map Central-FL-routes-out out
no auto-summary
02-13-2013 11:47 PM
Well the shortest way would be, to issue show ip route
02-14-2013 05:02 AM
Hi Evidio,
Can you include also the route-map configs:
neighbor *hidden* route-map Central-FL-routes-in in
neighbor *hidden* route-map Central-FL-routes-out out
Also, from a machine, you can do traceroute to identify where your routes are heading to..
HTH
Reymon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide