cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
230
Views
0
Helpful
1
Replies

BGP METRIC QUESTION

lamav
Level 8
Level 8

I have a network that sits on our core and is native to the OSPF process. It's a class C address - 172.27.12.0.

I have two ABRs that are running both OSPF and BGP and peering with the same distant-end router. Both ABRs advertise summary routes for 172.27.0.0/16 to the peer.

That peer router receives a metric of 6 from one ABR and a metric of 4 from the other for 172.27.0.0/16. Furthermore, if I check the local BGP table on both ABRs for that network (sh ip bgp 172.27.12.0), again, one ABR shows a metric of 4 and the other a metric of 6 for the summary routes they're advertising.

Neither ABR has any route maps configured nor is any sort of policy routing being implemented. So, these metrics seem to be default metrics.

The ABR that is advertising a BGP cost of 6 for 172.27.12.0 has an OSPF cost of 0 because it's a directly connected network. And the ABR that is advertising a BGP cost of 4 for that same network has an OSPF cost of 5.

Question: How was the metric determined by each ABR for the route it advertised to its peer through BGP? Why the disparity?

Thanks

1 Reply 1

CriscoSystems
Level 5
Level 5

You could post maybe the running configs on each of the ABR's? These ABR's are redistributing the OSPF routes into BGP? What seed metric is configured on each's redistribution command?

More info is needed here...

-- stuey

Review Cisco Networking for a $25 gift card