Description

On Junos OS platforms using as-path-groups with dynamic-db feature enabled, rpd may crash if as-path configuration changes were made

Symptoms

On Junos OS platforms using as-path-groups with dynamic-db feature enabled, rpd may crash if as-path configuration changes were made.

 

//sample config

 

[edit policy-options]

- policy-statement ip-AS13119-in {

- term valid_prefixes {

- from {

- as-path-group ip-AS13119-AS196844:jtac.auto;

- prefix-list ip-AS13119-AS196844:jtac.auto;

- as-path-unique-count 32 orlower;

- }

- then next policy;

- }

- then reject;

- }

- policy-statement ip-AS30778-in {

- term valid_prefixes {

- from {

- as-path-group ip-AS30778-AS196844:jtac.auto;

- prefix-list ip-AS30778-AS196844:jtac.auto;

- as-path-unique-count 32 orlower;

- }

- then next policy;

- }

- then reject;

- }

[edit policy-options]

- as-path-group ip-AS30778-AS196844:jtac.auto {

- dynamic-db;

- }

- as-path-group ip-AS13119-AS196844:jtac.auto {

- dynamic-db;

- }

The crash is due to incorrect initialization of variable in the software code causing the crash.

Solution

PR#1877288 will address the issue in the latest releases.

Modification History

2025-06-15 : Article Created

2025-07-31 : Published ext