CISCO-LICENSE-MGMT-MIB

The MIB module for managing licenses on the system.
The licensing mechanism provides flexibility to
enforce licensing for various features in the system.

The following text introduces different concepts and
terms those are necessary to understand the MIB definition
and to perform license management.

UDI
    Universal Device Identifier that uniquely identifies a
    device. It comprises of product ID, version ID and serial
    number of the device.

NODE LOCKED LICENSE:
    Node locked licenses are locked to one of the device
    identifiers in the system. For example, the license
    can be locked to the UDI value of one of the devices
    in the system. Locking a license to an UDI guarantees
    that the license will not be moved to a device with a
    different UDI.

NON-NODE LOCKED LICENSE:
    Non-node locked licenses are not locked to any device
    identifier. They can be used on other similar devices.

METERED LICENSE:
    Metered licenses are valid for limited period of time
    and they expire after that. This period is the usage
    period of a license and it is not based on real time
    clock, but system clock.

EULA:
    End User License Agreement.

EVALUATION LICENSE:
    Evaluation licenses are non-node locked metered
    licenses which are valid only for a limited period.
    They are used only when there are no permanent,
    extension or grace period licenses for a feature.
    User will have to accept EULA (End User License
    Agreement) before using an evaluation license. Even
    though they are not node locked, their usage is
    recorded on the device.

RIGHT TO USE (RTU) LICENSE:
    Right to use license is a non-node locked metered
    license which is in evaluation mode for a limited
    time after which it is converted to Right To Use (RTU) 
    license and is valid for the lifetime of the product.
    User will have to accept EULA (End User License Agreement)
    before using this license. Even though it is not node
    locked, usage information is recorded on the device.

EXTENSION LICENSE:
    Extension licenses are node locked metered licenses.
    These licenses are issued by Cisco's licensing portal.
    These licenses need to be installed using management
    interfaces on the device. User will have to accept an
    EULA as part of installation of extension license.

GRACE PERIOD LICENSE:
    Grace period licenses are node locked metered licenses.
    These licenses are issued by Cisco's licensing portal
    as part of the permission ticket to rehost a license.
    These licenses are installed on the device as part of
    the rehost operation. User will have to accept an
    EULA as part of the rehost operation for this type
    of license. Details on permission ticket, rehost
    operations are provided further down in this
    description clause.

PERMANENT LICENSE:
    Permanent licenses are node locked licenses that have
    no usage period associated with them. These licenses
    are issued by Cisco's licensing portal. These licenses
    need to be installed using management interfaces on
    the device. Once these licenses are installed, they
    will provide needed permission for the feature/image
    across different versions.

COUNTED LICENSE:
    Counted licenses limit the number of similar entities
    that can use the license. For example, a counted
    license when used by a feature can limit the number
    of IP phones that can connect or the number of tunnels
    that can be created.

UNCOUNTED LICENSE:
    Uncounted licenses do not limit the number of similar
    entities that can use the licenses.

License can be enforced at the image level or at the feature
level and this MIB module supports both.

IMAGE LEVEL LICENSING:
    A universal image that contains all levels of
    software packages is loaded on to the device. At boot
    time, the device determines the highest level of license
    and brings up the appropriate software features or
    subsystems.

FEATURE LEVEL LICENSING:
    Feature level licensing will support enforcement of
    license at individual feature. Features have to check
    for their licenses before enabling themselves. If it
    does not have a license, the feature should disable
    itself.

    There is a one-to-one relationship between
    a feature and a license. That is, a feature can use
    only one license at a time and a license can be used
    by only one feature at a time.

LICENSE LINE:
    A License line is an atomic set of ASCII characters
    arranged in a particular format that holds the license
    for a single feature within it. A line has all the
    necessary fields and attributes that make it a valid,
    non-tamper able and complete license.

LICENSE FILE:
    File generated by Cisco licensing portal. It is used
    to install license on product. It has a user readable
    part and it contains one or more license lines.

DEVICE CREDENTIALS:
    Device credentials file is a document that is generated
    by a licensed device. This document establishes the
    identity of the device and proves that the sender/user
    has/had authorized access to the device.

REHOST:
    Rehost operation allows a node locked license that
    is installed on a device to be installed on other
    similar device. As part of rehost operation, a device
    processes the permission ticket, revokes the license(s)
    on the device and generates a rehost ticket as the
    proof of revocation. This rehost ticket needs to be
    presented to the Cisco's licensing portal to get the
    license transferred on to a new similar device.

PERMISSION TICKET:
    Permission ticket is a document generated by Cisco
    licensing portal that allows a device to rehost its
    licenses.

REHOST TICKET:
    Rehost ticket is document generated by a device after
    it has applied a permission ticket. The rehost ticket
    is a proof of revocation.

LICENSING PORTAL:
    Generates licenses, permission tickets and verifies
    device credentials and rehost tickets.

This MIB module provides MIB objects to install, clear,
revoke licenses. It also provides objects to regenerate
last rehost ticket, backup all the licenses installed
on a device, generate & export EULA for licenses.

STEPS TO INSTALL A LICENSE:
    To install a license, the management application
    1. Retrieves device credentials of the device.
    2. Communicates with Cisco's licensing portal to get
       the license file, uses device credentials to identify
       the device
    3. Executes the license install action.

STEPS TO CLEAR A LICENSE:
    To clear a license, the management application
    1. Identifies the license to be cleared using license
       index.
    2. Executes the license clear action.

STEPS TO REHOST A LICENSE:
    To rehost a license, the management application
    1. Retrieves device credentials of the device.
    2. Communicates with Cisco's licensing portal to get
       the permission ticket, uses device credentials to
       identify the device.
    3. Executes the processPermissionTicket action. Device
       revokes the license and generates rehost ticket to be
       submitted as proof of revocation.
    4. Retrieves device credentials of the device where the
       license needs to be transferred to.
    5. Submits rehost ticket as proof of revocation to
       Cisco's licensing portal, uses device credentials of
       the new device to identify the device, gets license
       file.
    6. Executes the license install action on the new
       device.

STEPS TO REGENERATE LAST REHOST TICKET:
    To regenerate last rehost ticket, the management
application
    1. Retrieves device credentials of the device.
    2. Uses already obtained permission ticket or
       communicates with Cisco's licensing portal to get
       the permission ticket, uses device credentials to
       identify the device.
    3. Executes the regenerateLastRehostTicket action.
       Device generates rehost ticket to be submitted as
       proof of revocation.

STEPS TO BACKUP ALL LICENSES:
    To backup all licenses installed in the device, the
    management application
    1. Specifies the backup file path.
    2. Executes the license backup action.

STEPS TO GENERATE & EXPORT EULA:
    To install certain kind of licenses, the management
    application must accept EULA first. The management
    application can generate and export EULA for one or
    more licenses with out installing licenses as follows.
    1. Specifies the license file path that has licenses to be
       installed
    2. Specifies the EULA file path where EULA need to be
       exported to
    3. Executes the generate EULA action.

To support the various license actions, this MIB module
also defines MIB objects to know if a device supports
licensing, retrieve device credentials, retrieve
information on license stores in the device.

It also defines MIB objects to expose management
information associated with the licenses installed on the
device, with the licensable features in the software image.

This MIB module also defines various notifications that
will be triggered to asynchronously notify the management
application of any critical events.

This MIB module is defined generically so it can be
implemented on stand alone devices or stack of devices.
In stack of devices, one device in the stack acts as
master agent and rest are slave agents. Each device in the
stack has its own UDI. The master agent receives requests
on behalf of all the devices in the stack including itself
and delegates it to other devices as needed. It also
collects responses from other devices and sends them to
the management application. Examples of such devices include
stackable switches, devices with route processor and line
cards. On the other hand, stand alone device is a single
device and has only one UDI associated with it.

entPhysicalIndex imported from ENTITY-MIB is used to
identify the device uniquely. It is specified as the index
or one of the index for tables in this MIB as needed.

Imported Objects

ciscoMgmtCISCO-SMI
PhysicalIndexOrZero, entPhysicalIndexENTITY-MIB
InetAddress, InetAddressTypeINET-ADDRESS-MIB
SnmpAdminStringSNMP-FRAMEWORK-MIB
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUPSNMPv2-CONF
MODULE-IDENTITY, NOTIFICATION-TYPE, Unsigned32, OBJECT-TYPESNMPv2-SMI
StorageType, DateAndTime, RowStatus, TruthValue, TEXTUAL-CONVENTIONSNMPv2-TC
ciscoLicenseMgmtMIB.1.3.6.1.4.1.9.9.543
ciscoLicenseMgmtMIBNotifs .1.3.6.1.4.1.9.9.543.0
clmgmtLicenseExpired .1.3.6.1.4.1.9.9.543.0.1
clmgmtLicenseSubscriptionExpiryWarning .1.3.6.1.4.1.9.9.543.0.10
clmgmtLicenseSubscriptionExtExpiryWarning .1.3.6.1.4.1.9.9.543.0.11
clmgmtLicenseSubscriptionExpired .1.3.6.1.4.1.9.9.543.0.12
clmgmtLicenseEvalRTUTransitionWarning .1.3.6.1.4.1.9.9.543.0.13
clmgmtLicenseEvalRTUTransition .1.3.6.1.4.1.9.9.543.0.14
clmgmtLicenseExpiryWarning .1.3.6.1.4.1.9.9.543.0.2
clmgmtLicenseUsageCountExceeded .1.3.6.1.4.1.9.9.543.0.3
clmgmtLicenseUsageCountAboutToExceed .1.3.6.1.4.1.9.9.543.0.4
clmgmtLicenseInstalled .1.3.6.1.4.1.9.9.543.0.5
clmgmtLicenseCleared .1.3.6.1.4.1.9.9.543.0.6
clmgmtLicenseRevoked .1.3.6.1.4.1.9.9.543.0.7
clmgmtLicenseEULAAccepted .1.3.6.1.4.1.9.9.543.0.8
clmgmtLicenseNotEnforced .1.3.6.1.4.1.9.9.543.0.9
ciscoLicenseMgmtMIBObjects .1.3.6.1.4.1.9.9.543.1
clmgmtLicenseConfiguration .1.3.6.1.4.1.9.9.543.1.1
clmgmtNextFreeLicenseActionIndex .1.3.6.1.4.1.9.9.543.1.1.1
clmgmtLicenseActionTable .1.3.6.1.4.1.9.9.543.1.1.2
clmgmtLicenseActionEntry .1.3.6.1.4.1.9.9.543.1.1.2.1
clmgmtLicenseActionIndex .1.3.6.1.4.1.9.9.543.1.1.2.1.1
clmgmtLicenseActionLicenseIndex .1.3.6.1.4.1.9.9.543.1.1.2.1.10
clmgmtLicensePermissionTicketFile .1.3.6.1.4.1.9.9.543.1.1.2.1.11
clmgmtLicenseRehostTicketFile .1.3.6.1.4.1.9.9.543.1.1.2.1.12
clmgmtLicenseBackupFile .1.3.6.1.4.1.9.9.543.1.1.2.1.13
clmgmtLicenseStopOnFailure .1.3.6.1.4.1.9.9.543.1.1.2.1.14
clmgmtLicenseAction .1.3.6.1.4.1.9.9.543.1.1.2.1.15
clmgmtLicenseActionState .1.3.6.1.4.1.9.9.543.1.1.2.1.16
clmgmtLicenseJobQPosition .1.3.6.1.4.1.9.9.543.1.1.2.1.17
clmgmtLicenseActionFailCause .1.3.6.1.4.1.9.9.543.1.1.2.1.18
clmgmtLicenseActionStorageType .1.3.6.1.4.1.9.9.543.1.1.2.1.19
clmgmtLicenseActionEntPhysicalIndex .1.3.6.1.4.1.9.9.543.1.1.2.1.2
clmgmtLicenseActionRowStatus .1.3.6.1.4.1.9.9.543.1.1.2.1.20
clmgmtLicenseAcceptEULA .1.3.6.1.4.1.9.9.543.1.1.2.1.21
clmgmtLicenseEULAFile .1.3.6.1.4.1.9.9.543.1.1.2.1.22
clmgmtLicenseActionTransferProtocol .1.3.6.1.4.1.9.9.543.1.1.2.1.3
clmgmtLicenseServerAddressType .1.3.6.1.4.1.9.9.543.1.1.2.1.4
clmgmtLicenseServerAddress .1.3.6.1.4.1.9.9.543.1.1.2.1.5
clmgmtLicenseServerUsername .1.3.6.1.4.1.9.9.543.1.1.2.1.6
clmgmtLicenseServerPassword .1.3.6.1.4.1.9.9.543.1.1.2.1.7
clmgmtLicenseFile .1.3.6.1.4.1.9.9.543.1.1.2.1.8
clmgmtLicenseStore .1.3.6.1.4.1.9.9.543.1.1.2.1.9
clmgmtLicenseActionResultTable .1.3.6.1.4.1.9.9.543.1.1.3
clmgmtLicenseActionResultEntry .1.3.6.1.4.1.9.9.543.1.1.3.1
clmgmtLicenseNumber .1.3.6.1.4.1.9.9.543.1.1.3.1.1
clmgmtLicenseIndivActionState .1.3.6.1.4.1.9.9.543.1.1.3.1.2
clmgmtLicenseIndivActionFailCause .1.3.6.1.4.1.9.9.543.1.1.3.1.3
clmgmtLicenseInformation .1.3.6.1.4.1.9.9.543.1.2
clmgmtLicenseStoreInfoTable .1.3.6.1.4.1.9.9.543.1.2.1
clmgmtLicenseStoreInfoEntry .1.3.6.1.4.1.9.9.543.1.2.1.1
clmgmtLicenseStoreIndex .1.3.6.1.4.1.9.9.543.1.2.1.1.1
clmgmtLicenseStoreName .1.3.6.1.4.1.9.9.543.1.2.1.1.2
clmgmtLicenseStoreTotalSize .1.3.6.1.4.1.9.9.543.1.2.1.1.3
clmgmtLicenseStoreSizeRemaining .1.3.6.1.4.1.9.9.543.1.2.1.1.4
clmgmtLicenseDeviceInfoTable .1.3.6.1.4.1.9.9.543.1.2.2
clmgmtLicenseDeviceInfoEntry .1.3.6.1.4.1.9.9.543.1.2.2.1
clmgmtDefaultLicenseStore .1.3.6.1.4.1.9.9.543.1.2.2.1.1
clmgmtLicenseInfoTable .1.3.6.1.4.1.9.9.543.1.2.3
clmgmtLicenseInfoEntry .1.3.6.1.4.1.9.9.543.1.2.3.1
clmgmtLicenseStoreUsed .1.3.6.1.4.1.9.9.543.1.2.3.1.1
clmgmtLicenseMaxUsageCount .1.3.6.1.4.1.9.9.543.1.2.3.1.10
clmgmtLicenseUsageCountRemaining .1.3.6.1.4.1.9.9.543.1.2.3.1.11
clmgmtLicenseEULAStatus .1.3.6.1.4.1.9.9.543.1.2.3.1.12
clmgmtLicenseComments .1.3.6.1.4.1.9.9.543.1.2.3.1.13
clmgmtLicenseStatus .1.3.6.1.4.1.9.9.543.1.2.3.1.14
clmgmtLicenseStartDate .1.3.6.1.4.1.9.9.543.1.2.3.1.15
clmgmtLicenseEndDate .1.3.6.1.4.1.9.9.543.1.2.3.1.16
clmgmtLicensePeriodUsed .1.3.6.1.4.1.9.9.543.1.2.3.1.17
clmgmtLicenseIndex .1.3.6.1.4.1.9.9.543.1.2.3.1.2
clmgmtLicenseFeatureName .1.3.6.1.4.1.9.9.543.1.2.3.1.3
clmgmtLicenseFeatureVersion .1.3.6.1.4.1.9.9.543.1.2.3.1.4
clmgmtLicenseType .1.3.6.1.4.1.9.9.543.1.2.3.1.5
clmgmtLicenseCounted .1.3.6.1.4.1.9.9.543.1.2.3.1.6
clmgmtLicenseValidityPeriod .1.3.6.1.4.1.9.9.543.1.2.3.1.7
clmgmtLicenseValidityPeriodRemaining .1.3.6.1.4.1.9.9.543.1.2.3.1.8
clmgmtLicenseExpiredPeriod .1.3.6.1.4.1.9.9.543.1.2.3.1.9
clmgmtLicensableFeatureTable .1.3.6.1.4.1.9.9.543.1.2.4
clmgmtLicensableFeatureEntry .1.3.6.1.4.1.9.9.543.1.2.4.1
clmgmtFeatureIndex .1.3.6.1.4.1.9.9.543.1.2.4.1.1
clmgmtFeatureName .1.3.6.1.4.1.9.9.543.1.2.4.1.2
clmgmtFeatureVersion .1.3.6.1.4.1.9.9.543.1.2.4.1.3
clmgmtFeatureValidityPeriodRemaining .1.3.6.1.4.1.9.9.543.1.2.4.1.4
clmgmtFeatureWhatIsCounted .1.3.6.1.4.1.9.9.543.1.2.4.1.5
clmgmtFeatureStartDate .1.3.6.1.4.1.9.9.543.1.2.4.1.6
clmgmtFeatureEndDate .1.3.6.1.4.1.9.9.543.1.2.4.1.7
clmgmtFeaturePeriodUsed .1.3.6.1.4.1.9.9.543.1.2.4.1.8
clmgmtLicenseDeviceInformation .1.3.6.1.4.1.9.9.543.1.3
clmgmtNextFreeDevCredExportActionIndex .1.3.6.1.4.1.9.9.543.1.3.1
clmgmtDevCredExportActionTable .1.3.6.1.4.1.9.9.543.1.3.2
clmgmtDevCredExportActionEntry .1.3.6.1.4.1.9.9.543.1.3.2.1
clmgmtDevCredExportActionIndex .1.3.6.1.4.1.9.9.543.1.3.2.1.1
clmgmtDevCredCommandState .1.3.6.1.4.1.9.9.543.1.3.2.1.10
clmgmtDevCredCommandFailCause .1.3.6.1.4.1.9.9.543.1.3.2.1.11
clmgmtDevCredStorageType .1.3.6.1.4.1.9.9.543.1.3.2.1.12
clmgmtDevCredRowStatus .1.3.6.1.4.1.9.9.543.1.3.2.1.13
clmgmtDevCredEntPhysicalIndex .1.3.6.1.4.1.9.9.543.1.3.2.1.2
clmgmtDevCredTransferProtocol .1.3.6.1.4.1.9.9.543.1.3.2.1.3
clmgmtDevCredServerAddressType .1.3.6.1.4.1.9.9.543.1.3.2.1.4
clmgmtDevCredServerAddress .1.3.6.1.4.1.9.9.543.1.3.2.1.5
clmgmtDevCredServerUsername .1.3.6.1.4.1.9.9.543.1.3.2.1.6
clmgmtDevCredServerPassword .1.3.6.1.4.1.9.9.543.1.3.2.1.7
clmgmtDevCredExportFile .1.3.6.1.4.1.9.9.543.1.3.2.1.8
clmgmtDevCredCommand .1.3.6.1.4.1.9.9.543.1.3.2.1.9
clmgmtLicenseNotifObjects .1.3.6.1.4.1.9.9.543.1.4
clmgmtLicenseUsageNotifEnable .1.3.6.1.4.1.9.9.543.1.4.1
clmgmtLicenseDeploymentNotifEnable .1.3.6.1.4.1.9.9.543.1.4.2
clmgmtLicenseErrorNotifEnable .1.3.6.1.4.1.9.9.543.1.4.3
ciscoLicenseMgmtMIBConform .1.3.6.1.4.1.9.9.543.2
ciscoLicenseMgmtCompliances .1.3.6.1.4.1.9.9.543.2.1
ciscoLicenseMgmtGroups .1.3.6.1.4.1.9.9.543.2.2