03-26-2024 06:22 PM - edited 03-26-2024 06:27 PM
PID : N540-24Z8Q2C-M
IOS-XR : 7.8.2
I want to know about smart licenses.
The command is enable, but when I apply the command below, it behaves as if the license is off.
RP/0/RP0/CPU0:PE-02#show run | inc lic
Wed Mar 27 10:13:34.359 KST
Building configuration...
contact smart-licensing
license smart flexible-consumption enable
RP/0/RP0/CPU0:PE-02#show license platform detail
Wed Mar 27 10:13:08.029 KST
Collection: LAST: (disabled)
NEXT: (disabled)
Reporting: LAST: (disabled)
NEXT: (disabled)
**********************************IMPORTANT************************************
SIA Status: Out of Compliance(Remaining Grace Period: 78 days, 1 hours)
Evaluation Period has expired.
SW Upgrade will still be allowed as SIA Grace Period is remaining
*******************************************************************************
Parameters: Collection interval: 2 minute(s)
Reporting interval: 2 minute(s)
Throughput gauge: 1000000 Kbps
We are a closed network device and we don't want to use licenses.
I don't want to generate logs every 7 days.
Is there any way to remove logs that occur every 7 days?
RP/0/RP0/CPU0:Mar 21 03:16:53.989 KST: smartlicserver[226]: %LICENSE-SMART_LIC-3-EVAL_EXPIRED_WARNING : Evaluation period expired on Oct 05 2022 01:17:03 KST
It seems to keep checking the license status when not use commands.
03-27-2024 01:14 AM
Hello @Ji-Ho Yoon ,
Hope you are doing well.
Looks like "license smart flexible-consumption enable" configuration should not be present on NCS540 as FCM is the default licensing model on this platform.
https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5xx/system-management/78x/b-system-management-cg-78x-ncs540/configuring-smart-licensing.html
"FCM is enabled by default for Cisco IOS XR Release 7.1.2 and later."
Note: Wait ~24h to have the Out of Compliance status cleared.
Please let me know if my answer clears your concerns.
Have a nice day
03-27-2024 06:11 PM
Thank you for your kind response.
I am very confused by this sudden license issue.
I don't want to apply the license and also don't want to bring up the related logs.
The license was purchased in the right quantity.
If I have to activate the licenses with this upgrade, I will have to work on 500 units manually.
I have waited 24 hours and still remain Out of Compliance.
The crux of my question is why is it bringing up the license logs every 7 days when the Collection / Reporting cycle is "Disabled".
RP/0/RP0/CPU0:LIC-TEST-Notuse#show license platform detail
Thu Mar 28 10:03:41.026 KST
Collection: LAST: (disabled)
NEXT: (disabled)
Reporting: LAST: (disabled)
NEXT: (disabled)
**********************************IMPORTANT************************************
SIA Status: Out of Compliance(Remaining Grace Period: 78 days, 1 hours)
Evaluation Period has expired.
SW Upgrade will still be allowed as SIA Grace Period is remaining
*******************************************************************************
Parameters: Collection interval: 2 minute(s)
Reporting interval: 2 minute(s)
Throughput gauge: 1000000 Kbps
Thanks.
03-28-2024 10:56 AM
Dear @Ji-Ho Yoon ,
Hope everything is fine on your end.
Thank you for your reply and your helpful vote.
Firstly, following my first answer, you are confirming me that you removed the following configuration: license smart flexible-consumption enable ?
Checking both output from 27 and 28 march:
Wed Mar 27 10:13:08.029 KST
**********************************IMPORTANT************************************
SIA Status: Out of Compliance(Remaining Grace Period: 78 days, 1 hours)
Thu Mar 28 10:03:41.026 KST
**********************************IMPORTANT************************************
SIA Status: Out of Compliance(Remaining Grace Period: 78 days, 1 hours)
We are observing "Out of Compliance" counter is not changing anymore, being stuck at 78 days and 1 hours. Was it stuck before ?
I'm wondering if the log will be generated again in 7 days.
Let's monitor it if you want ?
Now regarding your comment: "If I have to activate the licenses with this upgrade, I will have to work on 500 units manually."
I'm understanding you are playing upgrade of your NCS 540 install base to 7.8.2, is that correct ?
May I ask what is the version of your CSSM server ? It reminds me an issue I had in the past where the server was the issue, and not the router.
Have a wonderful day and thanks in advance for your reply.
Kind Regards,
04-04-2024 05:48 PM - edited 04-04-2024 05:55 PM
"license smart flexible-consumption enable"
I can't remove the above settings.
I have noticed that the timer expires, causing more logs to be generated.
I monitored it for a week without removing it.
In my tests, it happens every 1 week.
RP/0/RP0/CPU0:Mar 28 10:09:19.187 KST: smartlicserver[162]: %LICENSE-SMART_LIC-3-EVAL_EXPIRED_WARNING : Evaluation period expired on Mar 11 2024 13:57:55 KST
RP/0/RP0/CPU0:Apr 4 10:09:19.189 KST: smartlicserver[162]: %LICENSE-SMART_LIC-3-EVAL_EXPIRED_WARNING : Evaluation period expired on Mar 11 2024 13:57:55 KST
My question here is why does it keep generating logs every week or so even though the timer is not decreasing, and I want to stop it.
We are using 7.2.1. and not using the CSSM server.
This is the first time I've encountered a license issue.
04-04-2024 11:50 PM - edited 04-05-2024 12:24 AM
Hello @Ji-Ho Yoon ,
Hope you are doing well.
First things first, log has changed from your original post:
RP/0/RP0/CPU0:Mar 21 03:16:53.989 KST: smartlicserver[226]: %LICENSE-SMART_LIC-3-EVAL_EXPIRED_WARNING : Evaluation period expired on Oct 05 2022 01:17:03 KST
To
RP/0/RP0/CPU0:Apr 4 10:09:19.189 KST: smartlicserver[162]: %LICENSE-SMART_LIC-3-EVAL_EXPIRED_WARNING : Evaluation period expired on Mar 11 2024 13:57:55 KST
Following your reply: I can't remove the above settings.
Can you share the error message displayed when you are trying to perform:
Router(config)# no license smart flexible-consumption enable Router(config)# commit
If you have an issue when trying to remove this, IOS XR will display a message and you should be able to highlight the error with "show configuration failed".
If the config remove above is successful, proceed with the following process restart, this should not cause any disruption to your router operations.
Router# process restart plat_sl_client
Note: Wait ~24h to have the Out of Compliance status cleared.
Strange that you do not have CSSM server, following the timestamp from the first log you've shared, 2022, it seems issue is there since a long time - following the fact you have smart licensing now, maybe referring to the link below will help you.
https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5xx/system-management/78x/b-system-management-cg-78x-ncs540/configuring-smart-licensing.html#Cisco_Concept.dita_caac89ad-1bab-46cb-8456-12fd720d1e82
Thanks in advance for your feedback and let me know if it helped you.
Kind Regards,
04-17-2024 02:19 AM
Hello @Ji-Ho Yoon ,
Hope everything is fine on your end.
Do you have any feedback on my last comment ?
Thanks in advance for your reply.
Kind Regards,
12-04-2024 10:32 PM
HI anpetit,
show license platform detail
Thu Dec 5 06:24:29.289 UTC
Collection: LAST: Thu Dec 05 2024 05:53:40 UTC
NEXT: Thu Dec 05 2024 06:53:40 UTC
Reporting: LAST: Wed Dec 04 2024 16:53:40 UTC
NEXT: Thu Dec 05 2024 16:53:40 UTC
**********************************IMPORTANT************************************
SIA Status: Out of Compliance (Remaining Grace Period: 88 days, 22 hours)
Number of SIA license(s) used is more than available.
SW Upgrade will still be allowed as SIA Grace Period is remaining
*******************************************************************************
Parameters: Collection interval: 60 minute(s)
Reporting interval: 1440 minute(s)
Throughput gauge: 1000000 Kbps
Is there any issue ?
12-04-2024 10:35 PM
what action i should take for this ?
12-04-2024 10:39 PM
Smart Licensing is ENABLED
Registration:
Status: REGISTERED
Smart Account: NetEng Core
Virtual Account: Default
Export-Controlled Functionality: ALLOWED
Last Renewal Attempt: None
Next Renewal Attempt: May 31 2025 16:53:51 UTC
License Authorization:
Status: OUT OF COMPLIANCE
Last Communication Attempt: SUCCEEDED
Next Communication Attempt: Dec 05 2024 17:39:11 UTC
License Usage:
License Entitlement Tag Count Status
-----------------------------------------------------------------------------
Access Essentials SW... (ESS-AC-10G-RTU-1) 3 OUT OF COMPLIANCE
Access Advanced SW R... (ADV-AC-10G-RTU-1) 2 OUT OF COMPLIANCE
Access Essentials SI... (ESS-AC-10G-SIA-3) 3 OUT OF COMPLIANCE
Access Advantage SIA... (ADV-AC-10G-SIA-3) 2 OUT OF COMPLIANCE
NCS540 6Z18G HW Trac... (N540X-6Z18G-TRK) 1 OUT OF COMPLIANCE
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide