I'm working on a double eBGP connection. The first one it is OK with my main ISP (Cogent, 1Gbps) but at the time that I make the second BGP session with my ISP2 (Transtelco, it is my ISP backup) my network seems to be slow even when the traceroutes tell that my LAN is going out via my main ISP (Cogent).
When I made shutdown to Transtelco on the router bgp process (neighbor X.X.X.X shutdown) the network seems to be faster than with the Transtelco's session up.
I attached you my configuration. What I need to do is that, if my main ISP (Cogent) goes down, Transtelco goes up automatically. In the mean time, all the network must go out via Cogent.
router bgp 4.1023 bgp router-id 38.104.248.X bgp log-neighbor-changes neighbor 38.104.248.X remote-as 174 neighbor 38.104.248.X description COGENT BGP INTX neighbor 38.104.248.X update-source GigabitEthernet0/0/0 neighbor 38.104.248.X version 4 neighbor 201.174.78.X remote-as 32098 neighbor 201.174.78.X description "eBGP-Comunicalo neighbor 201.174.78.X shutdown neighbor 201.174.78.X update-source GigabitEthernet0/0 neighbor 201.174.78.X version 4 ! address-family ipv4 neighbor 38.104.248.X activate neighbor 201.174.78.X activate neighbor 201.174.78.X next-hop-self neighbor 201.174.78.X prefix-list Transtelco-In in neighbor 201.174.78.X prefix-list Transtelco-Out out neighbor 201.174.78.X route-map Transtelco_In_RM in neighbor 201.174.78.X route-map Transtelco_Out_RM out auto-summary no synchronization network 184.108.40.206 mask 255.255.255.0 network 201.158.X.0 network 201.158.X.0 network 201.158.X.0 network 201.158.X.0 exit-address-family ! ip forward-protocol nd ip route 201.158.X.0 255.255.255.0 220.127.116.11 ip route 201.158.X.0 255.255.255.0 18.104.22.168 ip route 201.158.X.0 255.255.255.0 22.214.171.124 ip http server ip http secure-server ! ! ! ! ! ip prefix-list Cogent-Out seq 5 permit 201.158.X.0/22 ge 23 le 31 ip prefix-list Cogent-Out seq 10 permit 126.96.36.199/24 ip prefix-list Cogent-Out seq 4294967294 deny 0.0.0.0/0 le 32 ! ! ip prefix-list Transtelco-In seq 5 permit 0.0.0.0/0 le 32 ! ip prefix-list Transtelco-Out seq 5 permit 201.158.X.0/22 ge 23 le 31 ip prefix-list Transtelco-Out seq 4294967294 deny 0.0.0.0/0 le 32 ! route-map Transtelco_In_RM permit 1 ! route-map Transtelco_RM permit 10 set local-preference 50 ! route-map Transtelco_Out_RM permit 10 set as-path prepend 4.1023 4.1023 4.1023 !
I hope you can help me to figure it out. I'm new on BGP :).
I believe there is a typo in your config.
I can see:
route-map Transtelco_In_RM permit 1
route-map Transtelco_RM permit 10
set local-preference 50
IMHO. it should be:
no route-map Transtelco_In_RM permit 1
route-map Transtelco_In_RM permit 10
set local-preference 50
no route-map Transtelco_RM
no neighbor 201.174.78.X shutdown
but I believe it's not there anymore?
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.