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

Preeti mpreetim at gmail.com
Tue Apr 4 21:12:01 BST 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quagga.net/pipermail/quagga-users/attachments/20170404/bd2378b0/attachment.html>


More information about the Quagga-users mailing list