FRRouting / frr

The FRRouting Protocol Suite

Home Page:https://frrouting.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dynamically adding entry into prefix list

ChinmayaAgarwal opened this issue · comments

Description

We have a running config that has a prefix list "ALLOW_OUT_V4" containing two entries:-

ip prefix-list ALLOW_OUT_V4 seq 5 permit 24.1.1.0/24
ip prefix-list ALLOW_OUT_V4 seq 10 permit 48.1.1.0/24

Now, once I start frr, I can see these entries in "show running-config". But when I try to add another prefix in this prefix list using vtysh cli i.e "ip prefix-list ALLOW_OUT_V4 permit 88.1.1.0/24", it shows duplicate entries in the "show running-config" command output:-

ip prefix-list ALLOW_OUT_V4 seq 5 permit 88.1.1.0/24
ip prefix-list ALLOW_OUT_V4 seq 5 permit 24.1.1.0/24
ip prefix-list ALLOW_OUT_V4 seq 10 permit 48.1.1.0/24
ip prefix-list ALLOW_OUT_V4 seq 15 permit 88.1.1.0/24
!

What could be the reason for this duplication?

Version

OS Version: AlmaLinux release 8.6 (Sky Tiger)
Kernel: 4.18.0-372.32.1.el8_6.x86_64
FRR Version: FRRouting 8.1

How to reproduce

By creating a new prefix list using bgpd.conf and appending to it using vtysh cli.

Expected behavior

The new entry added using vtysh cli should have been seen only once in "show running-config" command

Actual behavior

The new entry added using vtysh cli is seen twice in "show running-config" command

Additional context

No response

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.

This is... 8.1. Please try latest versions, this one is not supported anymore in terms of bugfixes, including security patches.