This document helps to understand "LICENSE_FEATURE_VIOLATION" log message and steps to resolve the same.
Below chassis alarms are raised for all protocols and log messages are filled with "LICENSE_FEATURE_VIOLATION"
lab@router1> show chassis alarm Alarm time Class Description 2024-07-06 01:08:20 UTC Minor 6233 LSP Scales(270) require a license 2024-07-06 01:08:20 UTC Minor 4 BGP Peer scales(271) require a license 2024-07-06 01:08:20 UTC Minor 1240 Port Bandwidth Usage (in gbps)s(279) require a license 2024-07-06 01:08:20 UTC Minor BGP Routing Protocol(47) usage requires a license 2024-07-06 01:08:20 UTC Minor IS-IS Routing Protocol(48) usage requires a license 2024-07-06 01:08:20 UTC Minor LDP Protocol(257) usage requires a license 2024-07-06 01:08:20 UTC Minor IGMP protocol(263) usage requires a license 2024-07-06 01:08:20 UTC Minor PIM protocol(267) usage requires a license 2024-07-06 01:08:20 UTC Minor OSPF protocol(282) usage requires a license
License installed shows "none"
lab@router1> show system license installed Licenses installed: none
We can see that licenses are not available for below protocols.
lab@router1> show system license detail Licenses Licenses Licenses Licenses Expiry Feature name used installed needed available bgp 1 0 1 0 invalid isis 1 0 1 0 invalid ldp 1 0 1 0 invalid igmp-multicast 1 0 1 0 invalid pim 1 0 1 0 invalid fib-scale 0 64000 0 64000 permanent rib-scale 41096 64000 0 22904 permanent lsp-scale 6372 0 6372 0 invalid bgp-peer-scale 4 0 4 0 invalid Port Bandwidth Usage (in gbps) 1240 0 1240 0 invalid ospf 1 0 1 0 invalid Firewall Filters Scale License 30 1000 0 970 permanent Firewall Terms Scale License 46 4000 0 3954 permanent Licenses installed: none
Please if license key is installed on the device using command "show configuration system license"
lab@router1> show configuration system license keys { key "DemolabJUNOS356670109 aeaqia qfjbdd anrrcc aymas6 zyv47g yv4 7giaaa aacasq zyv47g iaaaaa carpzy v47gia aaaaca ubbphc xt4zaa aaaaic qeb44k 6pteaa aaabaj o44k6p teaaaa abakat 7trlz6 mqaadb vabicf wofphz saaaaa aqfb6u zyv47g iaaaaa cauaut hcxt4z aaaaaa icqeg4 4k6pte cmjnaa aaaaca rqzyv4 7giaaa aacdaq jj2w42 lqmvzc asloor sxe3tb nqdsqv o7fegg gvwruf kkct5a qe6dg3 dj4rdc a2hggv tgx7gp 54lvrr u7jh64 aznbok ytbble"; }
If you dont see configuration present on the device for license key, please confirm with customer if they have license key available for this device.
Please follow KB86206 [juniper.net] for license key installation. https://supportportal.juniper.net/s/article/Junos-How-to-add-a-license-on-Junos
If license is not available with customer then please reach out to service/accounts team to generate a valid license.