09-19-2022 06:20 AM - last edited on 09-19-2022 12:21 PM by Translator
Hello, im new and currently learning bgp
i wonder if im missing something here, currently
Border Cirebon received bgp advertised from FO
but there's none in routing table
here is the topology
thanks in advance
Solved! Go to Solution.
09-19-2022 06:56 AM - last edited on 09-19-2022 12:05 PM by Translator
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
09-19-2022 06:34 AM
Can I see the config of Border Router
09-19-2022 06:46 AM
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
09-19-2022 06:38 AM - last edited on 09-19-2022 12:02 PM by Translator
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,
09-19-2022 06:49 AM
Hello @Harold Ritter ,
as your requested
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
09-19-2022 06:56 AM - last edited on 09-19-2022 12:05 PM by Translator
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
09-19-2022 07:13 AM - last edited on 09-19-2022 12:06 PM by Translator
ahh i see, yeah it works fine after i removed the
match ip address prefix-list DEFAULT-ROUTE
thank you for the reply @MHM Cisco World !
09-19-2022 07:13 AM - last edited on 09-19-2022 12:08 PM by Translator
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,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide