Page MenuHomeVyOS Platform

Deleting "le 64" from prefix-list6 does render any change
Closed, WontfixPublicBUG

Description

Deleting "le 64" from prefix-list6 does render any change.

Steps to reproduce:

Configure prefixlist6:

olof@internet# show policy prefix-list6 PUBLIC-IPV6 
 rule 10 {
     action permit
     le 64
     prefix 2001:db8::/32
 }

Next, delete the "le 64"
delete policy prefix-list6 PUBLIC-IPV6 rule 10 le and commit.

It is deleted from vyos CLI, but it is still rendered in vtysh.

show run in vtysh

....
ipv6 prefix-list PUBLIC-IPV6 seq 10 permit 2001:db8::/32 le 64
...

Details

Difficulty level
Unknown (require assessment)
Version
vyos-1.3.0-epa2
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

Im not sure its possible to delete the "le" part from vtysh cli? I tried running no ipv6 prefix-list PUBLIC-IPV6 seq 10 permit 2001:db8::/32 le 64 from vtysh, but it never removed le part.

The workaround for me was from VyOS cli

  • copy rule 10 to rule 11
  • delete rule 10
  • delete rule 11 le
  • and then commit
syncer triaged this task as Normal priority.

Impossible with FRR

r1# conf t
r1(config)# no ipv6 prefix-list PUB seq 10 permit 2001:db8::/32 le
% Command incomplete: no ipv6 prefix-list PUB seq 10 permit 2001:db8::/32 le
r1(config)#

If delete the full string it deletes the prefix completely:

r1(config)# 
r1(config)# no ipv6 prefix-list PUB seq 10 permit 2001:db8::/32 le 64
r1(config)# end
r1# show run
Building configuration...

Current configuration:
!
frr version 7.5.1-20231128-03-g06f8c4ce0
frr defaults traditional
hostname r1
log syslog
log facility local7
service integrated-vtysh-config
!
ip route 0.0.0.0/0 192.168.122.1
!
line vty
!
end
r1#

Won't fix due to old backend.