Customer has recently upgraded an MX204 operating as a BNG from 21.4R3-S6.5 to 23.4R2-S4.11, the subscriber licence keys were set in the configuration under the 'system licence keys' stanza. After the upgrade, customer noticed on a reboot of the chassis all subscriber licenses had not loaded and show as 'invalid'.
Customer tried reloading the keys via config which initially worked upon committing, but upon a reboot of the chassis the licenses were again set back to invalid.
Subscriber license installed through "set system license" became invalid after mx204 reboot in 23.4R2-S4.11
This is most often seen on MX204 with JUNOS having PR1737035 fix.
The issue has been fixed in PR1855728.
PR1737035 is fixed in release: evo:23.3R2-EVO evo:23.4R1-EVO evo:24.1R1-EVO junos:20.3X75-D44 junos:21.4R3-S7 junos:22.2R3-S4 junos:22.4R3-S5 junos:23.2R2 junos:23.3R2 junos:23.4R1 junos:24.1R1 junos:24.2R2
PR1855728 is fixed in release: junos:23.4R2-S5 junos:24.2R2 junos:24.4R2 junos:25.1R1 junos:25.2R1