FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.29k stars 1.24k forks source link

FRR 10.0 vtysh places ipv4 and ipv6 prefix-list at the top of the configuration #15768

Closed vecinohk closed 5 months ago

vecinohk commented 5 months ago

It's probably just a cosmetic issue, but the ipv4 and ipv6 prefix-list rank up in version 10.0. This makes the configuration more cluttered.

My concern is this line: ipv6 prefix-list ipv6 seq 5 permit 2a01:***:****::/44.

FRR 10.0:

home# show running-config 
Building configuration...

Current configuration:
!
frr version 10.0
frr defaults traditional
hostname home
log syslog informational
agentx
service integrated-vtysh-config
!
ipv6 prefix-list ipv6 seq 5 permit 2a01:***:****::/44
!
password free

FRR 9.1:

!
router ospf6
 ospf6 router-id 10.107.**.***
 log-adjacency-changes
 redistribute static metric-type 1 route-map ***-out
exit
!
ipv6 prefix-list ipv6 seq 5 permit 2a01:***:****::/44
!
route-map ***-out permit 1
 match ipv6 address prefix-list ipv6
exit
!

In older versions, the prefix list was nicely placed at the bottom where the route-maps are defined.

Thanks

ton31337 commented 5 months ago

It's intentional because of order. debug bgp updates ... uses prefix-lists and it requires them to be created before using.