Showing results for 
Search instead for 
Did you mean: 

How to SNMP CSR1000V License

Shlomy Maron
Cisco Employee
Cisco Employee
I have 2 types of CSR1000V -

1.CSR1000V that uses installed file license which has Start and End Date - I need to monitor what is the End Date, and which License is Active.

2.CSR1000V that uses Smart License - I need to make sure that the last communication attemtp was "Success" and that the License is authorized.

also - if possible - how do I check via SNMP what is "platform hardware throughput level" ?


Which exact MIBs should I use in order to Monitor the License Status of my CSR1000V ?

4 Replies 4

Hey - I wan't this too..

For now we're just polling the license and smart license mibs (during transition) and doing the math based on that.

We're basically polling these:


self.oids = {'clmgmtLicenseFeatureName': '.',
             'clmgmtLicenseStatus': '.',
             'ciscoSlaEntitlementFeatureName': '.',
             'ciscoSlaEntitlementEnforceMode': '.'

And then ensuring we have HSEC and throughput licenses on our DMVPN routers.

But the feature names are different between normal licenses and smart licenses, even though they are identical..

This isn't what either of us wants, but its something..



Thank you for previous information supplied,
It was working for us until we have upgraded to new CSR, with new IOS release, and consequent Smart Licensing registration method:
Previous snmp oids don't provide anymore Expiration date information:

SNMPWALK -v2c -c community IP .

SNMPv2-SMI::enterprises.9.9.543. = No Such Instance currently exists at this OID
-> no more OID is which was clmgmtLicenseEndDate


This other oid provides license type and some info but no date:
SNMPWALK -v2c -c community IP
SNMPv2-SMI::enterprises.9.9.831.0.1.0 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.831.0.2.0 = STRING: "PID:CSR1000V,SN:S/N-removed"
SNMPv2-SMI::enterprises.9.9.831.0.3.0 = STRING: ""
SNMPv2-SMI::enterprises.9.9.831.0.4.0 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.831. = Gauge32: 1
SNMPv2-SMI::enterprises.9.9.831. = STRING: "ax_500M"
SNMPv2-SMI::enterprises.9.9.831. = STRING: "1.0"
SNMPv2-SMI::enterprises.9.9.831. = INTEGER: 3
SNMPv2-SMI::enterprises.9.9.831. = STRING: "CSR 1KV AX 500M"
SNMPv2-SMI::enterprises.9.9.831. = STRING: "CSR 1KV AX 500M"
SNMPv2-SMI::enterprises.9.9.831. = INTEGER: 5
SNMPv2-SMI::enterprises.9.9.831. = ""
SNMPv2-SMI::enterprises.9.9.831. = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.831. = ""
SNMPv2-SMI::enterprises.9.9.831. = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.831. = STRING: "AUTHORIZED - RESERVED"
SNMPv2-SMI::enterprises.9.9.831. = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.831. = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.831. = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.831. = Gauge32: 7776000
SNMPv2-SMI::enterprises.9.9.831. = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.831. = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.831. = INTEGER: 0
SNMPv2-SMI::enterprises.9.9.831. = STRING: "DeRegistration failure message is not persisted."
SNMPv2-SMI::enterprises.9.9.831. = STRING: "Utility failure messages are not persisted."

Any idea for getting expiration date (End Date: 2023-SEP-16 UTC) ?
From terminal on router, we have the value i'd like to retrieve through snmp polling:

CSR-router#sh license all
Smart Licensing Status

Smart Licensing is ENABLED
License Reservation is ENABLED

Product Information
UDI: PID:CSR1000V,SN:S/N-removed
Agent Version
Smart Agent for Licensing:
Reservation Info
License reservation: ENABLED
Overall status:
Active: PID:CSR1000V,SN:S/N-removed
Reservation status: SPECIFIC INSTALLED on Oct 05 17:41:15 2020 UTC
Specified license reservations:
CSR 1KV AX 500M (ax_500M):
Description: CSR 1KV AX 500M
Total reserved count: 1
Term information:
Active: PID:CSR1000V,SN:S/N-removed
License type: TERM
Start Date: 2020-SEP-16 UTC
End Date: 2023-SEP-16 UTC
Term Count: 1

CSR-router#sh ver
Cisco IOS XE Software, Version 16.12.01a
Cisco IOS Software [Gibraltar], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.12.1a, RELEASE SOFTWARE (fc2)
CSR-router#sh inv
NAME: "Chassis", DESCR: "Cisco CSR1000V Chassis"
PID: CSR1000V , VID: V00 , SN:S/N-removed


Thanks in advance for any help,

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:

Recognize Your Peers