ns-aptlicense

Last published : Oct 30, 2026
The following operations can be performed on "ns-aptlicense":

show ns aptlicense

Synopsis

show ns aptlicense <serialNo>

Arguments

serialNo Hardware Serial Number/License Activation Code(LAC)
useProxy Specifies whether to use the licenseproxyserver to reach the internet. Make sure to configure licenseproxyserver to use this option.
Possible values: YES, NO Default value: NO

Output

response Response data as text blob
id License ID
sessionId Session ID
bindType Bind type
countAvailable Count
countTotal Count
name License name
relevance License relevance
datePurchased License purchase date
dateSa License SA date
dateExp License expiry date
features Features

Example

show ns aptlicense <hw-no/lac>

update ns aptlicense

Synopsis

update ns aptlicense <id> <sessionId> <bindType> <countAvailable>

Arguments

id License ID
sessionId Session ID
bindType Bind type
countAvailable The user can allocate one or more licenses. Ensure the value is less than (for partial allocation) or equal to the total number of available licenses
licenseDir License Directory
useProxy Specifies whether to use the licenseproxyserver to reach the internet. Make sure to configure licenseproxyserver to use this option.
Possible values: YES, NO Default value: NO

Example

update ns aptlicense key1 sessionID# HOSTNAME 1