Home BGP Configurations Cisco 4-1-1. Cisco dual BGP with Metric (Redundancy)

Cisco dual BGP with Metric (Redundancy)

  • ISPs : 2
  • WAN links : 2
  • CPE : 1
  • PE : 2
  • Device : Cisco router with LAN/WAN ports.
  • WAN1 / Serial IP : (mask
  • WAN2 / Serial IP : (mask
  • LAN / Ethernet IP :
  • Receiving Route : Default route only from ISP
  • Memory : Full route(recommend 512M), partial route
    (recommend 128-256M)
  • LAN : ISP_A (AS20), ISP_B(AS30), Customer (AS10) and Other ISP(AS50)


BGP sample configuration 3-1-1


Stand alone Metric attribute won't be good idea as a solution for failover and load-sharing, when you have more than two ISP links.
why? simply shortest AS path is more prefer attribute than Metric value on BGP selection criteria. 
For example, if you put metric value on BGP announcements toward ISP_"B" link to make less prefer to pick path for the inbound traffic. All traffic which is out side of ISP_"B" will flow to ISP_"A", however, still traffic source which is connnected to ISP_"B", will flow to link with ISP_"B". BGP table for the destination IP / on ISP_"B" side, two paths would be available for the destination. See below example.


TR_B#sh ip bgp
BGP routing table entry for, version 46
Paths: (3 available, best #3, table Default-IP-Routing-Table)
Flag: 0x820
  Advertised to update-groups:
  50 20 10 from (
      Origin incomplete, localpref 100, valid, external
  20 10 from (
      Origin incomplete, localpref 100, valid, external
  10 from (
      Origin incomplete, metric 300, localpref 100, valid, internal, best

If you have any questions, feel free to send email us at This e-mail address is being protected from spambots. You need JavaScript enabled to view it . If you are looking for professional grade service, you might want to try our "BGP experts service". What is "BGP Experts service"? Click "BGP Experts" from the top menu option. You will find out what the "BGP Experts" and what we are doing here for.

Google Translation
English Arabic Chinese (Simplified) Czech Dutch French German Italian Korean Portuguese Russian Spanish Filipino Vietnamese Thai Turkish
Content View Hits : 561867
Who is the best ISP?
Global Route Table
Who's Online
We have 9 guests online
Related Items