I have the following config and understand what's happening pretty well with everything except the routes I'm advertising. In other words it's INBOUND traffic I have a question about. What I 'want' to happen is for all traffic to be routed to me through Qwest (AS209), and switch to Sprint (AS1239) ONLY if Qwest goes down.
The 'permit ^$' let's me advertise routes that originate within my AS. So what exactly is THAT route? How am I telling the world to route to me through Qwest?
Here is my config... THANKS!
router bgp 00000
network 65.170.190.0 mask 255.255.255.0
neighbor 160.81.69.97 remote-as 1239 !This is Sprint
neighbor 160.81.69.97 filter-list 3 in
neighbor 160.81.69.97 filter-list 4 out
neighbor 65.118.70.1 remote-as 209 !This is Qwest
neighbor 65.118.70.1 filter-list 3 in
neighbor 65.118.70.1 filter-list 4 out
ip as-path access-list 3 deny .*
ip as-path access-list 4 permit ^$
ip as-path access-list 4 deny .*
ip route 0.0.0.0 0.0.0.0 FastEthernet3/0 !This sets Qwest as default
ip route 0.0.0.0 0.0.0.0 Serial0/0 10 !This sets Sprint as a backup only