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

Version
1.3.0-epa3
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

devon updated the task description. (Show Details)
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 edited a custom field.
c-po edited a custom field.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.