Showing results for 
Search instead for 
Did you mean: 

BGP not Advertising between Neighbors


Routes in route table not sent to bgp peer at but only two subnets sent. Need to send them all including default route.


<hostname removed>#sh ip bgp nei  adv
BGP table version is 1840, local router ID is
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
              x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

     Network          Next Hop            Metric LocPrf Weight Path
 *>                  0         32768 i
 *>                  0         32768 i



router bgp 64600
 bgp router-id
 bgp log-neighbor-changes
 network mask
 network mask
 network mask
 network mask
 neighbor remote-as 65310
 neighbor description <removed>
 neighbor timers 10 30
 neighbor soft-reconfiguration inbound
 neighbor remote-as 65000
 neighbor description CE to  PE RVDL9E01
 neighbor timers 30 90
 neighbor fall-over bfd
 neighbor send-community
 neighbor soft-reconfiguration inbound
 neighbor route-map PIP-IN-PRIMARY in
 neighbor route-map PIP-OUT-PRIMARY out


sh ip bgp nei
BGP neighbor is,  remote AS 65310, external link
 Description: <removed>
  BGP version 4, remote router ID
  BGP state = Established, up for 00:00:42
  Last read 00:00:02, last write 00:00:04, hold time is 30, keepalive interval is 10 seconds
  Configured hold time is 30, keepalive interval is 10 seconds
  Minimum holdtime from neighbor is 0 seconds
  Neighbor sessions:
    1 active, is not multisession capable (disabled)
  Neighbor capabilities:
    Route refresh: advertised and received(new)
    Four-octets ASN Capability: advertised and received
    Address family IPv4 Unicast: advertised and received
    Enhanced Refresh Capability: advertised and received
    Multisession Capability:
    Stateful switchover support enabled: NO for session 1
  Message statistics:
    InQ depth is 0
    OutQ depth is 0

                         Sent       Rcvd
    Opens:                  1          1
    Notifications:          0          0
    Updates:                2          2
    Keepalives:             6          6
    Route Refresh:          0          0
    Total:                  9          9
  Default minimum time between advertisement runs is 30 seconds

 For address family: IPv4 Unicast
  BGP table version 1854, neighbor version 1854/0
  Output queue size : 0
  Index 18, Advertise bit 0
  18 update-group member
  Inbound soft reconfiguration allowed
  Outbound path policy configured
  Route map for outgoing advertisements is LOCAL-OUT-PRIMARY
  Slow-peer detection is disabled
  Slow-peer split-update-group dynamic is disabled
                                 Sent       Rcvd
  Prefix activity:               ----       ----
    Prefixes Current:               2          3 (Consumes 240 bytes)
    Prefixes Total:                 2          3
    Implicit Withdraw:              0          0
    Explicit Withdraw:              0          0
    Used as bestpath:             n/a          2
    Used as multipath:            n/a          0

                                   Outbound    Inbound
  Local Policy Denied Prefixes:    --------    -------
    Other Policies:                    1790        n/a
    Total:                             1790          0
  Number of NLRIs in the update sent: max 286, min 0
  Last detected as dynamic slow peer: never
  Dynamic slow peer recovered: never
  Refresh Epoch: 1
  Last Sent Refresh Start-of-rib: never
  Last Sent Refresh End-of-rib: never
  Last Received Refresh Start-of-rib: never
  Last Received Refresh End-of-rib: never
                                       Sent       Rcvd
        Refresh activity:              ----       ----
          Refresh Start-of-RIB          0          0
          Refresh End-of-RIB            0          0

  Address tracking is enabled, the RIB does have a route to
  Connections established 3; dropped 2
  Last reset 00:05:24, due to Active open failed
  Transport(tcp) path-mtu-discovery is enabled
  Graceful-Restart is disabled



Gateway of last resort is to network

B* [20/0] via, 01:02:56 is variably subnetted, 1456 subnets, 17 masks
B [20/0] via, 01:02:56
B [20/0] via, 01:02:56
B [20/0] via, 01:02:56
B [20/0] via, 01:02:56
B [20/0] via, 00:01:30
B [20/0] via, 01:02:56


IP routing table name is default (0x0)
IP routing table maximum-paths is 32
Route Source    Networks    Subnets     Replicates  Overhead    Memory (bytes)
connected       0           5           0           300         900
static          0           0           0           0           0
application     0           0           0           0           0
bgp 64600       1           1787        0           107280      321840
  External: 1788 Internal: 0 Local: 0
internal        19                                              73720
Total           20          1792        0           107580      396460

15 Replies 15

Agreed, we need to understand what this route-map is doing to the routes you are learning from the peer. Please post the route map and any related sub-objects (like ACLs, prefix list, AS PATH list, community list, etc)


Additionally, pick a route learned from and post the "show ip bgp" output of it so we can see detailed information about it.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: