cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
463
Views
10
Helpful
4
Replies

Update Air License Level using RESTCONF C9800

Martin Zipperer
Level 1
Level 1

Hi,

 

I was not able to find the correct module to use to receive/configure the license level with a 9800 SLUP.

The Cat9K devices offer the information with the native/license/boot/level path, however for the 9800 it is empty.

The cli command is also different - license boot level vs license air level

 

Does anyone know where to get this information?

 

Is there also a call to trigger the sync like "license smart sync all | local" ?

 

Best regards

Martin

4 Replies 4

Leo Laohoo
Hall of Fame
Hall of Fame

Hi Leo,

 

that does not really answer my question. I don't need an overview of smart licensing, I'm looking for a specific yang-module that I can use to set the air license level for a C9800.

@Martin Zipperer presume you know it's all at https://github.com/YangModels/yang/tree/master/vendor/cisco/xe ?

I'd be looking at https://github.com/YangModels/yang/blob/master/vendor/cisco/xe/1761/Cisco-IOS-XE-license.yang

It seems to have been updated for SLUP:

     revision 2020-11-01 {
          description
          "Usage reporting Smart License Enhancement.";
          cisco-semver:module-version "1.1.1";
          }

If you can't find the right info there then devnet or TAC are your next options.  TAC will likely refer you to Cisco devnet in the first instance unless you actually find a a bug in the implementation.

 

I think what you want to do in the 2nd question will come under operations - see https://algoderedes.com/en/restconf-operations/

You can retrieve the supported operations using 

https://<IP:Port>/restconf/operations/

I've just tried it and as expected it returns an XML file of supported operations which includes a whole bunch of  smart licensing commands - explore those?

Hi rrudling,

 

thanks for your answer, it's pointing me to the right direction

I was not able to find the information, there is a lot of "old" token-based licensing configuration or information that is not related to the "air license". I'll try my luck with Devnet or TAC.

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card