frr icon indicating copy to clipboard operation
frr copied to clipboard

Nhg reuse intf down up

Open donaldsharp opened this issue 1 year ago • 1 comments

Effective allow reuse of nhg's when an interface goes down/up

    Routing entry for 9.9.9.9/32
      Known via "static", distance 1, metric 0, best
      Last update 00:00:08 ago
      * 192.168.99.33, via dummy1, weight 1
      * 192.168.100.33, via dummy2, weight 1
      * 192.168.101.33, via dummy3, weight 1
      * 192.168.102.33, via dummy4, weight 1
    
    eva(config)# do show ip route nexthop-group 9.9.9.9/32
    % Unknown command: do show ip route nexthop-group 9.9.9.9/32
    eva(config)# do show ip route 9.9.9.9/32 nexthop-group
    Routing entry for 9.9.9.9/32
      Known via "static", distance 1, metric 0, best
      Last update 00:00:54 ago
      Nexthop Group ID: 57
      * 192.168.99.33, via dummy1, weight 1
      * 192.168.100.33, via dummy2, weight 1
      * 192.168.101.33, via dummy3, weight 1
      * 192.168.102.33, via dummy4, weight 1
    
    eva(config)# exit
    eva# conf
    eva(config)# int dummy3
    eva(config-if)# shut
    eva(config-if)# no shut
    eva(config-if)# do show ip route 9.9.9.9/32 nexthop-group
    Routing entry for 9.9.9.9/32
      Known via "static", distance 1, metric 0, best
      Last update 00:00:08 ago
      Nexthop Group ID: 57
      * 192.168.99.33, via dummy1, weight 1
      * 192.168.100.33, via dummy2, weight 1
      * 192.168.101.33, via dummy3, weight 1
      * 192.168.102.33, via dummy4, weight 1
    
    eva(config-if)# exit
    eva(config)# exit
    eva# exit
    sharpd@eva ~/frr1 (master) [255]> ip nexthop show id 57
    id 57 group 37/43/50/58 proto zebra
    sharpd@eva ~/frr1 (master)> ip route show 9.9.9.9/32
    9.9.9.9 nhid 57 proto 196 metric 20
            nexthop via 192.168.99.33 dev dummy1 weight 1
            nexthop via 192.168.100.33 dev dummy2 weight 1
            nexthop via 192.168.101.33 dev dummy3 weight 1
            nexthop via 192.168.102.33 dev dummy4 weight 1```

donaldsharp avatar Sep 11 '24 18:09 donaldsharp

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Sep 12 '24 06:09 github-actions[bot]

frrbot?

ton31337 avatar Sep 15 '24 20:09 ton31337

yeah fixed

donaldsharp avatar Sep 16 '24 13:09 donaldsharp

I believe Mark is out of town for a week, which will be after the branch pull

donaldsharp avatar Oct 04 '24 14:10 donaldsharp