# BGP route not learned

**URL:** <https://forum.networklessons.com/t/bgp-route-not-learned/30633>\
**Category:** BGP\
**Created:** [September 15, 2022, 9:11pm UTC](https://forum.networklessons.com/t/bgp-route-not-learned/30633 "2022-09-15T21:11:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gurowar](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/g/f9ae1b/32.png) [@gurowar](https://forum.networklessons.com/u/gurowar)\
**Post date:** [September 15, 2022, 9:11pm UTC](https://forum.networklessons.com/t/bgp-route-not-learned/30633/1 "2022-09-15T21:11:46Z")

</div>

Hi I have a quick question I was checking my BGP config to see why my peer router wasn’t learning a particular route. On my router I can see that I am advertising it and that the route is valid and active

```auto
se7wancsw20140ha2#sh ip bgp neigh 10.125.7.22 adver
BGP routing table information for VRF default
Router identifier 172.17.7.2, local AS number 65470
Route status codes: s - suppressed, * - valid, > - active, # - not installed, E - ECMP head, e - ECMP
                    S - Stale, c - Contributing to ECMP, b - backup, L - labeled-unicast
Origin codes: i - IGP, e - EGP, ? - incomplete
AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop

         Network Next Hop Metric LocPref Weight Path
 * > 162.68.200.0/25 10.125.7.21 - - - 65470 65480 ?
 * > 162.68.200.128/25 10.125.7.21 - - - 65470 65480 ?

```

When I go to the peer router and double check all the routes that I am receiving I do not see it.

```auto
se7dcicsw10442at#sh ip bgp neigh 10.250.7.21 received-routes 
BGP routing table information for VRF default
Router identifier 172.17.7.3, local AS number 65480
Route status codes: s - suppressed, * - valid, > - active, # - not installed, E - ECMP head, e - ECMP
                    S - Stale, c - Contributing to ECMP, b - backup, L - labeled-unicast
Origin codes: i - IGP, e - EGP, ? - incomplete
AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop

         Network Next Hop Metric LocPref Weight Path
 * > 162.68.176.0/22 10.125.7.21 - - - 65470 i
 * > 162.68.180.0/22 10.125.7.21 - - - 65470 i
 * 162.68.233.0/25 10.125.7.21 - - - 65470 ?

```

I checked for access-list on both routers and the only one I see an access-list for is my router se7wancsw20140ha2. The peer router, se7dcicsw10442at, has none. So I am thinking the reason why that is is because both peer are configured for

```auto
neighbor SE-755-201-7150S-WAN maximum-routes 12000
neighbor SE-755-201-7150S-TCWANB maximum-routes 12000

```

and I am reaching the max route that is why the route for  
162.68.200.0/25  
162.68.200.128/25  
isn’t installed in the peer router se7dcicsw10442at. Is my assumption correct and if so how do I verify that?

Thank you

Warren

---

<div class="post-metadata">

**Author:** ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)\
**Post date:** [September 17, 2022, 5:06am UTC](https://forum.networklessons.com/t/bgp-route-not-learned/30633/2 "2022-09-17T05:06:38Z")

</div>

Hello Warren

There are several reasons why a BGP route may not be installed on a BGP router. This could be due to a route-map blocking specific routes from being shared, an unreachable next hop IP, or iBGP split horizon to name a few. Take a look at the following two lessons that will help you to troubleshoot the specific situation:

> **[Troubleshooting BGP Route Advertisement](https://networklessons.com/bgp/troubleshooting-bgp-route-advertisement)**
>
> This lesson helps to troubleshoot missing BGP routes or prefixes that don't get installed from the BGP table into the routing table.

> **[How to advertise networks in BGP](https://networklessons.com/bgp/how-to-advertise-networks-in-bgp)**
>
> This lesson teaches you the different methods how you can advertises networks in BGP (Border Gateway Protocol) on Cisco IOS devices.

It is unlikely that the `maximum-routes` command is blocking the installation of the routes. I suggest you also examine the state of the BGP peering between the two routers to ensure it is up and running.

Let us know how you get along and if we can be of any further help.

I hope this has been helpful!

Laz

1.

---

<div class="post-metadata">

**Author:** ![gurowar](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/g/f9ae1b/32.png) [@gurowar](https://forum.networklessons.com/u/gurowar)\
**Post date:** [September 20, 2022, 5:45pm UTC](https://forum.networklessons.com/t/bgp-route-not-learned/30633/3 "2022-09-20T17:45:19Z")

</div>

Yes I check for a route map but let me double check again perhaps I am blind, will let you know.

Thank you!!
