Page MenuHomeVyOS Platform

Access-lists and prefix-lists disappear when setting ldp hello-ipv4-interval
Closed, ResolvedPublicBUG

Description

Access-lists and prefix-lists are disappearing after configuring mpls ldp hello-ipv4-interval.

Steps to reproduce:

# Start with a clean install
set interfaces ethernet eth0 address dhcp
set policy access-list 100 rule 1 source any
set policy access-list 100 rule 1 destination any
set policy access-list 100 rule 1 action permit
commit

run show ip access-list
# The access-list is present
run show ip prefix-list
# The prefix-list is present

set protocols mpls ldp discovery hello-ipv4-interval 1
commit

run show ip access-list
# The access-list is NOT present
run show ip prefix-list
# The prefix-list is NOT present

Details

Difficulty level
Easy (less than an hour)
Version
1.3.0-epa3
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

devon updated the task description. (Show Details)
devon added a subscriber: devon.
Viacheslav changed the task status from Open to Confirmed.Dec 6 2021, 8:53 PM

To reproduce:

set policy access-list 100 rule 1 source any
set policy access-list 100 rule 1 destination any
set policy access-list 100 rule 1 action permit
set interface ethernet eth1 address 203.0.113.1/24
set protocols mpls ldp discovery transport-ipv4-address 203.0.113.1
set protocols mpls ldp interface eth1
set protocols mpls ldp router-id 203.0.113.1
commit

Access list is present:

vyos@r4-epa2# vtysh -c "show run" | grep access
access-list 100 seq 5 permit ip any any
[edit]

Add hello interval:

set protocols mpls ldp discovery hello-ipv4-interval 1

There is no access-list anymore

vyos@r4-epa2# commit
[edit]
vyos@r4-epa2# vtysh -c "show run" | grep access
[edit]
vyos@r4-epa2#
c-po triaged this task as High priority.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.