automatic failover on BGP

hi all, i have a router in my AS with 2 default route (1 is primary and other is backup) connected to 2 differents AS ( each  default route is go to each AS). which BGP mecanism can be use to automaticaly switch on the backup AS if primary AS cannot go to the Internet. or this is doing automaticaly.

thank for your help


  • Hi,

    It will happen automatically. You can use BGP attributes (e.g. local-preference) to manipulate which default route is primary.



  • Hi


    By default BGP installs the one route in the routing table whose router id is shortest one. So when that link will be down automatically switchover will occur. But if you want to select the route according to SP, in that case you can use the BGP attributes.




    shivlu jain

Sign In or Register to comment.