cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
684
Views
5
Helpful
7
Replies

receive bgp but not in routing table

ucha arifki
Level 1
Level 1

Hello, im new and currently learning bgp

i wonder if im missing something here, currently

Border Cirebon received bgp advertised from FO

uchaarifki_1-1663593363938.png

but  there's none in routing table 

uchaarifki_2-1663593436906.png

here is the topology

uchaarifki_0-1663593227918.png

thanks in advance

1 Accepted Solution

Accepted Solutions

 neighbor 114.5.179.149 route-map INP-TO-ITB-AJW in

you use this INBOUND filter but the match is match only 0.0.0.0 prefix, this why the prefix not add to bgp table 

route-map INP-TO-ITB-AJW permit 10

 match ip address prefix-list DEFAULT-ROUTE

 set local-preference 500

!ip prefix-list DEFAULT-ROUTE seq 5 permit 0.0.0.0/0

View solution in original post

7 Replies 7

Can I see the config of Border Router

Hello, here is the configuration

Current configuration : 3790 bytes
!
! Last configuration change at 20:00:22 UTC Mon Sep 19 2022
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname Border-crb
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
! 
!
!
!
!
!         
!
!
!
interface Loopback1
 ip address 198.51.101.0 255.255.255.255
!
interface FastEthernet0/0
 ip address 114.5.179.150 255.255.255.252
 duplex full
!
interface FastEthernet1/0
 no ip address
 duplex full
!
interface FastEthernet1/0.144
 encapsulation dot1Q 144
 ip address 103.158.98.150 255.255.255.252
!
interface FastEthernet1/0.321
 encapsulation dot1Q 321
 ip address 103.158.98.146 255.255.255.252
!
interface FastEthernet2/0
 ip address 124.195.39.226 255.255.254.0
 duplex full
!
interface FastEthernet3/0
 ip address 10.200.0.1 255.255.255.252
 duplex full
!
router bgp 149176
 bgp log-neighbor-changes
 neighbor 103.158.98.145 remote-as 141125
 neighbor 103.158.98.149 remote-as 141125
 neighbor 114.5.179.149 remote-as 4761
 neighbor 124.195.38.1 remote-as 17922
 neighbor 124.195.39.1 remote-as 17922
 !
 address-family ipv4
  network 103.158.98.144 mask 255.255.255.252
  network 103.158.98.148 mask 255.255.255.252
  network 114.5.179.148 mask 255.255.255.252
  network 124.195.38.0 mask 255.255.254.0
  network 198.51.101.0
  redistribute static
  neighbor 103.158.98.145 activate
  neighbor 103.158.98.145 soft-reconfiguration inbound
  neighbor 103.158.98.145 route-map RADM-INIX-TO-ITB-AJW in
  neighbor 103.158.98.145 route-map RADM-INIX-PREPEND-ITB-AJW-OUT out
  neighbor 103.158.98.149 activate
  neighbor 103.158.98.149 soft-reconfiguration inbound
  neighbor 103.158.98.149 route-map RADM-INP-TO-ITB-AJW in
  neighbor 103.158.98.149 route-map RADM-INP-ITB-AJW-OUT out
  neighbor 114.5.179.149 activate
  neighbor 114.5.179.149 soft-reconfiguration inbound
  neighbor 114.5.179.149 route-map INP-TO-ITB-AJW in
  neighbor 114.5.179.149 route-map INP-ITB-AJW-OUT out
  neighbor 124.195.38.1 activate
  neighbor 124.195.38.1 soft-reconfiguration inbound
  neighbor 124.195.38.1 route-map INIX-TO-ITB-AJW in
  neighbor 124.195.38.1 route-map INIX-PREPEND-ITB-AJW-OUT out
  neighbor 124.195.39.1 activate
 exit-address-family
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
ip route 10.200.0.0 255.255.0.0 10.200.0.2
ip route 167.205.0.0 255.255.0.0 40.40.40.1
ip route 198.51.101.0 255.255.255.0 10.200.0.2
!
!
ip prefix-list DEFAULT-ROUTE seq 5 permit 0.0.0.0/0
!
ip prefix-list DENY-ALL seq 5 deny 0.0.0.0/0 le 32
!
ip prefix-list ITB-AJW-ROUTE seq 10 permit 198.51.101.0/24
access-list 100 permit ip 10.10.10.0 0.0.0.255 any
access-list 110 permit ip 20.20.20.0 0.0.0.255 any
access-list 120 permit ip 30.30.30.0 0.0.0.255 any
!
route-map RADM-INP-ITB-AJW-OUT permit 10
 match ip address prefix-list ITB-AJW-ROUTE
 set as-path prepend 141125 141125 141125 141125
!
route-map INIX-PREPEND-ITB-AJW-OUT permit 10
 match ip address prefix-list ITB-AJW-ROUTE
 set as-path prepend 149176 149176
!
route-map RADM-INIX-TO-ITB-AJW permit 10
 set local-preference 300
!
route-map INIX-TO-ITB-AJW permit 10
 set local-preference 500
!
route-map RADM-INIX-PREPEND-ITB-AJW-OUT permit 10
 match ip address prefix-list ITB-AJW-ROUTE
 set as-path prepend 141125 141125 141125 141125 141125 141125
!
route-map INP-ITB-AJW-OUT permit 10
 match ip address prefix-list ITB-AJW-ROUTE
!
route-map RADM-INP-TO-ITB-AJW permit 10
 match ip address prefix-list DEFAULT-ROUTE
 set local-preference 300
!
route-map INP-TO-ITB-AJW permit 10
 match ip address prefix-list DEFAULT-ROUTE
 set local-preference 500
!
!
!
control-plane
!
!
line con 0
 stopbits 1
line aux 0
 stopbits 1
line vty 0 4
 login
!
!
end

Harold Ritter
Level 12
Level 12

Hi @ucha arifki ,

It looks like you may have an inbound filter that reject the route. Can you please provide a

show bgp ipv4 uni 20.20.20.0/24

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Hello @Harold Ritter ,

as your requested

uchaarifki_0-1663595254440.png

yeah, i guess i do apply the inbound filter somewhere too but cant seem to find it.

here's the border configuration for reference 

Current configuration : 3790 bytes
!
! Last configuration change at 20:00:22 UTC Mon Sep 19 2022
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname Border-crb
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
! 
!
!
!
!
!         
!
!
!
interface Loopback1
 ip address 198.51.101.0 255.255.255.255
!
interface FastEthernet0/0
 ip address 114.5.179.150 255.255.255.252
 duplex full
!
interface FastEthernet1/0
 no ip address
 duplex full
!
interface FastEthernet1/0.144
 encapsulation dot1Q 144
 ip address 103.158.98.150 255.255.255.252
!
interface FastEthernet1/0.321
 encapsulation dot1Q 321
 ip address 103.158.98.146 255.255.255.252
!
interface FastEthernet2/0
 ip address 124.195.39.226 255.255.254.0
 duplex full
!
interface FastEthernet3/0
 ip address 10.200.0.1 255.255.255.252
 duplex full
!
router bgp 149176
 bgp log-neighbor-changes
 neighbor 103.158.98.145 remote-as 141125
 neighbor 103.158.98.149 remote-as 141125
 neighbor 114.5.179.149 remote-as 4761
 neighbor 124.195.38.1 remote-as 17922
 neighbor 124.195.39.1 remote-as 17922
 !
 address-family ipv4
  network 103.158.98.144 mask 255.255.255.252
  network 103.158.98.148 mask 255.255.255.252
  network 114.5.179.148 mask 255.255.255.252
  network 124.195.38.0 mask 255.255.254.0
  network 198.51.101.0
  redistribute static
  neighbor 103.158.98.145 activate
  neighbor 103.158.98.145 soft-reconfiguration inbound
  neighbor 103.158.98.145 route-map RADM-INIX-TO-ITB-AJW in
  neighbor 103.158.98.145 route-map RADM-INIX-PREPEND-ITB-AJW-OUT out
  neighbor 103.158.98.149 activate
  neighbor 103.158.98.149 soft-reconfiguration inbound
  neighbor 103.158.98.149 route-map RADM-INP-TO-ITB-AJW in
  neighbor 103.158.98.149 route-map RADM-INP-ITB-AJW-OUT out
  neighbor 114.5.179.149 activate
  neighbor 114.5.179.149 soft-reconfiguration inbound
  neighbor 114.5.179.149 route-map INP-TO-ITB-AJW in
  neighbor 114.5.179.149 route-map INP-ITB-AJW-OUT out
  neighbor 124.195.38.1 activate
  neighbor 124.195.38.1 soft-reconfiguration inbound
  neighbor 124.195.38.1 route-map INIX-TO-ITB-AJW in
  neighbor 124.195.38.1 route-map INIX-PREPEND-ITB-AJW-OUT out
  neighbor 124.195.39.1 activate
 exit-address-family
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
ip route 10.200.0.0 255.255.0.0 10.200.0.2
ip route 167.205.0.0 255.255.0.0 40.40.40.1
ip route 198.51.101.0 255.255.255.0 10.200.0.2
!
!
ip prefix-list DEFAULT-ROUTE seq 5 permit 0.0.0.0/0
!
ip prefix-list DENY-ALL seq 5 deny 0.0.0.0/0 le 32
!
ip prefix-list ITB-AJW-ROUTE seq 10 permit 198.51.101.0/24
access-list 100 permit ip 10.10.10.0 0.0.0.255 any
access-list 110 permit ip 20.20.20.0 0.0.0.255 any
access-list 120 permit ip 30.30.30.0 0.0.0.255 any
!
route-map RADM-INP-ITB-AJW-OUT permit 10
 match ip address prefix-list ITB-AJW-ROUTE
 set as-path prepend 141125 141125 141125 141125
!
route-map INIX-PREPEND-ITB-AJW-OUT permit 10
 match ip address prefix-list ITB-AJW-ROUTE
 set as-path prepend 149176 149176
!
route-map RADM-INIX-TO-ITB-AJW permit 10
 set local-preference 300
!
route-map INIX-TO-ITB-AJW permit 10
 set local-preference 500
!
route-map RADM-INIX-PREPEND-ITB-AJW-OUT permit 10
 match ip address prefix-list ITB-AJW-ROUTE
 set as-path prepend 141125 141125 141125 141125 141125 141125
!
route-map INP-ITB-AJW-OUT permit 10
 match ip address prefix-list ITB-AJW-ROUTE
!
route-map RADM-INP-TO-ITB-AJW permit 10
 match ip address prefix-list DEFAULT-ROUTE
 set local-preference 300
!
route-map INP-TO-ITB-AJW permit 10
 match ip address prefix-list DEFAULT-ROUTE
 set local-preference 500
!
!
!
control-plane
!
!
line con 0
 stopbits 1
line aux 0
 stopbits 1
line vty 0 4
 login
!
!
end

 neighbor 114.5.179.149 route-map INP-TO-ITB-AJW in

you use this INBOUND filter but the match is match only 0.0.0.0 prefix, this why the prefix not add to bgp table 

route-map INP-TO-ITB-AJW permit 10

 match ip address prefix-list DEFAULT-ROUTE

 set local-preference 500

!ip prefix-list DEFAULT-ROUTE seq 5 permit 0.0.0.0/0

ahh i see, yeah it works fine after i removed the

match ip address prefix-list DEFAULT-ROUTE

uchaarifki_0-1663596741791.png

thank you for the reply @MHM Cisco World !

 

 

 

Hi @ucha arifki ,

As @MHM Cisco World  indicates, the prefix list configured in the

inbound route-map

only accept a default route. This is why 20.20.20.0/24 is rejected.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Review Cisco Networking for a $25 gift card