[quagga-users 14659] bgp distance not updated in FIB

Preeti <[email protected]>
Newsgroups gmane.network.quagga.user
Message-ID <CAKsw+FVhv-uRB49vz=Kvy88PfG5Qyi9awixOGs_5Ai8h2MCM4Q@mail.gmail.com>
Hi

I have 2 routers R1 and R2 talking eBGP.

The default distance for eBGP routes is 20.

*When routes are received,they are installed in the FIB with a distance of
20.*

router352#show ip route

Codes: K - kernel route, C - connected, S - static, R - RIP,

       O - OSPF, I - IS-IS, B - BGP, P - PIM, A - Babel, N - NHRP,

       > - selected route, * - FIB route

B>  1.2.3.0/24 [20/0] via 101.1.1.2, bond3.2, 00:00:03

B>  1.2.4.0/24 [20/0] via 101.1.1.2, bond3.2, 00:00:03

B>  1.2.5.0/24 [20/0] via 101.1.1.2, bond3.2, 00:00:03


*I changed the BGP distance for eBGP to 30. However, it is not getting
updated in the FIB table. I did a 'soft' clear but it did not help.*

router352(config-router)# router bgp 10

router352(config-router)# distance bgp 30 100 100

router352(config-router)# do clear ip bgp 101.1.1.2 soft in

router352(config-router)# do show ip route

Codes: K - kernel route, C - connected, S - static, R - RIP,

       O - OSPF, I - IS-IS, B - BGP, P - PIM, A - Babel, N - NHRP,

       > - selected route, * - FIB route


B>  0.0.0.0/0 [20/0] via 101.1.1.2, bond3.2, 00:01:05

B>  1.2.3.0/24 [20/0] via 101.1.1.2, bond3.2, 00:01:05

B>  1.2.4.0/24 [20/0] via 101.1.1.2, bond3.2, 00:01:05

B>  1.2.5.0/24 [20/0] via 101.1.1.2, bond3.2, 00:01:05


*When I do a 'hard' clear of the routes, it works.*


router352(config-router)# do clear ip bgp 101.1.1.2

router352(config-router)# do show ip route

Codes: K - kernel route, C - connected, S - static, R - RIP,

       O - OSPF, I - IS-IS, B - BGP, P - PIM, A - Babel, N - NHRP,

       > - selected route, * - FIB route


B>  0.0.0.0/0 [30/0] via 101.1.1.2, bond3.2, 00:00:07

B>  1.2.3.0/24 [30/0] via 101.1.1.2, bond3.2, 00:00:07

B>  1.2.4.0/24 [30/0] via 101.1.1.2, bond3.2, 00:00:07

B>  1.2.5.0/24 [30/0] via 101.1.1.2, bond3.2, 00:00:07


*Is there a way to update FIB with the correct distance without doing a
'hard' reset and affecting traffic?*


Thanks


Mary

_______________________________________________
Quagga-users mailing list
Quagga-users-UOy77sIEA+cAd7ICUelF/[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.