[vrf:none] root@router:/config# ls -a1l total 24 drwxr-xr-x 2 root root 4096 Jan 17 15:13 . drwxr-sr-x 7 root root 92 May 4 2021 .. -rw-r--r-- 1 root root 0 Oct 3 07:29 .mgdInitialized -rw-r--r-- 1 root root 25 Jan 19 09:43 commit-sync-status -rw-r----- 1 root root 2236 Jan 17 15:13 juniper.conf.1.gz -rw-r----- 1 root root 2230 Jan 17 15:02 juniper.conf.2.gz -rw-r----- 1 root root 2235 Jan 17 15:01 juniper.conf.3.gz -rw-r----- 1 root root 2230 Jan 17 15:13 juniper.conf.gz lrwxrwxrwx 1 root root 22 Dec 2 09:35 license -> /var/db/config/license <<<<<<
vrf:none] root@router:/var/db/config# ls /var/db/config <<<<<<<< No License directory juniper.conf.10.gz juniper.conf.18.gz juniper.conf.26.gz juniper.conf.34.gz juniper.conf.11.gz juniper.conf.19.gz juniper.conf.27.gz juniper.conf.4.gz juniper.conf.12.gz juniper.conf.20.gz juniper.conf.28.gz juniper.conf.5.gz juniper.conf.13.gz juniper.conf.21.gz juniper.conf.29.gz juniper.conf.6.gz juniper.conf.14.gz juniper.conf.22.gz juniper.conf.30.gz juniper.conf.7.gz juniper.conf.15.gz juniper.conf.23.gz juniper.conf.31.gz juniper.conf.8.gz juniper.conf.16.gz juniper.conf.24.gz juniper.conf.32.gz juniper.conf.9.gz juniper.conf.17.gz juniper.conf.25.gz juniper.conf.33.gz [vrf:none] root@ya02:/var/db/config#
root@router> show system license License usage: Licenses Licenses Licenses Expiry Feature name used installed needed bgp 1 1 0 2024-09-22 18:00:00 MDT isis 1 1 0 2024-09-22 18:00:00 MDT filter-based-forwarding 0 1 0 2024-09-22 18:00:00 MDT connectivity-fault-management 0 1 0 2024-09-22 18:00:00 MDT vrrp 0 1 0 2024-09-22 18:00:00 MDT dot1q-tunneling 0 1 0 2024-09-22 18:00:00 MDT l3vpn 0 1 0 2024-09-22 18:00:00 MDT PCEP 0 1 0 2024-09-22 18:00:00 MDT ldp 0 1 0 2024-09-22 18:00:00 MDT rsvp 0 1 0 2024-09-22 18:00:00 MDT l2circuit 0 1 0 2024-09-22 18:00:00 MDT evpn-vxlan 0 1 0 2024-09-22 18:00:00 MDT igmp-multicast 0 1 0 2024-09-22 18:00:00 MDT evpn-mpls 0 1 0 2024-09-22 18:00:00 MDT sr 0 1 0 2024-09-22 18:00:00 MDT pim 0 1 0 2024-09-22 18:00:00 MDT fib-scale 85 4000000 0 2024-09-22 18:00:00 MDT rib-scale 28 80000000 0 2024-09-22 18:00:00 MDT lsp-scale 0 200000 0 2024-09-22 18:00:00 MDT bgp-peer-scale 5 4000 0 2024-09-22 18:00:00 MDT ip-tunnel-scale 0 25000 0 2024-09-22 18:00:00 MDT vrf-scale 1 25000 0 2024-09-22 18:00:00 MDT pim-scale 0 100000 0 2024-09-22 18:00:00 MDT Port Bandwidth Usage (PAYG license) 12200 16000 0 2024-09-22 18:00:00 MDT static-mpls 0 1 0 2024-09-22 18:00:00 MDT ospf 0 1 0 2024-09-22 18:00:00 MDT Firewall Filters Scale License 0 128000 0 2024-09-22 18:00:00 MDT Firewall Terms Scale License 0 512000 0 2024-09-22 18:00:00 MDT Licenses installed: License identifier: E123456789 License version: 4 Order Type: commercial Software Serial Number: 123456789 Customer ID: test
root@router> show system license License usage: Licenses Licenses Licenses Expiry Feature name used installed needed fib-scale 0 64000 0 permanent rib-scale 0 64000 0 permanent Firewall Filters Scale License 0 1000 0 permanent Firewall Terms Scale License 0 4000 0 permanent Licenses installed: none
Solution: 1. Login to to the RE shell as root user 2. Please add directory named licenses manually 3. Verify the presence of license directory in the path /var/db/config4. In step 4 directory named as license should be present 5. Navigate to CLI mode 6. Add the license key via CLI command 7. Once the license has been added, Please verify the contents of /var/db/config/license by CLI command file list /var/db/config/license or navigating to the path /var/db/config/license8. In the above command output, should notice the file license_key.lic in the license directory
Outputs from the router:
[vrf:none] root@e05-32:/var/db/config/license# pwd /var/db/config/license [vrf:none] root@e05-32:/var/db/config/license# ls -l total 4 -rw-r--r-- 1 root root 853 Jan 19 12:40 E123456789.lic <<<<<< license file present. [vrf:none] root@e05-32:/var/db/config/license#