Description

The articles describes a rpd crash issue while configuring source-routing-path-template-map policy

Symptoms

While configuring a source-routing path template map policy for dynamic creation of segment routing label-switched paths (LSPs) , if "from family inet-srte/inet6-srte" was included , then rpd might crash.

            policy-statement test {
                term 1 {
                    from {
                        family inet-srte;
                        source-routing-path tunnel-source bgp;
                    }
                    then {
                        accept;
                        source-routing-path-template srte-template;
                    }
                }
                term 2 {
                    from {
                        family inet6-srte;
                        source-routing-path tunnel-source bgp;
                    }
                    then {
                        accept;
                        source-routing-path-template srtev6_template;
                    }
                }
            }

Solution

The "from family inet-srte/inet6-srte" was unsupported in SRTE yet.
The rpd crash behavior has been fixed in PR1798465, resolved in junos:23.4R2 junos:24.2R1 evo:23.4R2-EVO evo: 24.2R1-EVO

The expected source-routing-path-template-map policy should be as below:

            policy-statement test {
                term 1 {
                    from {
                        source-routing-path tunnel-source bgp;
                    }
                    then {
                        accept;
                        source-routing-path-template srte-template;
                    }
                }
                term 2 {
                    from {
                        source-routing-path tunnel-source bgp;
                    }
                    then {
                        accept;
                        source-routing-path-template srtev6_template;
                    }
                }
            }

Modification History

2024-05-15 : Article Created