Removing licenses

Depending on the license type, you may be prompted to clear license-dependent configurations, reload the switch, or disable and re-enable the chassis or specific ports. The following table indicates the minimal steps you may need to take to remove specific licenses. Take the appropriate action as indicated by the command output.

Table 1. Requirements for deactivating a license after removal

License

Description

ADVANCED_FEATURES

All features that have been enabled that depend on the Advanced Features license (MPLS, BGP EVPN, Guest OS for TPVM, etc.) must be disabled first.

CAPACITY_ON_DEMAND

Port reservations for non-Base ports provisioned by the license must be released first.

PORT_100G_UPGRADE

Port reservations for non-Base ports provisioned by the license must be released first.

PORT_10G_UPGRADE

Port reservations for non-Base ports provisioned by the license must be released first.

PORT_100G_40G_UPGRADE

Port reservations for non-Base ports provisioned by the license must be released first.

For some licensed features, you must clear all configurations related to the feature before you can remove the license for that feature. Some features may require you to disable and re-enable selected ports or the entire switch.

Refer to the console output for other specific requirements.

Do the following to remove an installed (non SAU) license.

  1. Enter the show license command to display the active licenses.
  2. Issue the license remove command followed by the license key or the feature name.

    The license key is case-sensitive and must be entered exactly as shown. If the license key includes spaces, you must enclose the entire string in double quotation marks.

  3. Take the appropriate action as indicated by the command output.

    Depending on the license type, you may be prompted to clear license-related features, to reboot the switch, or to disable and re-enable the chassis or specific ports.

  4. Enter the show license command to verify that the license is removed. If there are no license keys, the command output displays "No entries available."
    Note

    Note

    To remove the license, use the license remove command with the licenseString operand or use the feature name, followed by the slot number. You cannot display the license key with the show license command.

    The following example illustrates the display and removal of an 100G port upgrade license by its feature name.

    device# show license
    Chassis:
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
           Capacity on Demand license
           Feature name:CAPACITY_ON_DEMAND
           Capacity: 24
           License is Node-Lock and valid
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
           100G Port Upgrade license
           Feature name:PORT_100G_UPGRADE
           Capacity: 6
           License is Node-Lock and valid
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
           Advanced Features license
           Feature name:ADVANCED_FEATURES
           License is Trust Based
           EULA acceptance date: Thu May 30 09:55:54 2019
    
    
    device# license remove licStr "*B Cgo7qybrCfwG0Ta7DtU6frX4Qoy,DTUdLsoAshgXF03J0iYvWwSSe56HcUNs7V7z3bhvFHuOw7FfY1MAJrxImKLTcdp:tjB:P,QU1AzBx1i8fWfM6eJqhPfXkVaufGi:8,fm#"
    2019/08/21-07:26:33, [SEC-3051], 3230,, INFO, SLX9540, The license key *B Cgo7qybrCfwG0Ta7DtU6frX4Qoy,DTUdLsoAshgXF03J0iYvWwSSe56HcUNs7V7z3bhvFHuOw7FfY1MAJrxImKLTcdp:tjB:P,QU1AzBx1i8fWfM6eJqhPfXkVaufGi:8,fm# is Removed.
    
    License Removed [*B Cgo7qybrCfwG0Ta7DtU6frX4Qoy,DTUdLsoAshgXF03J0iYvWwSSe56HcUNs7V7z3bhvFHuOw7FfY1MAJrxImKLTcdp:tjB:P,QU1AzBx1i8fWfM6eJqhPfXkVaufGi:8,fm#]
    
    For license to take effect, it may be necessary to disable/enable ports or switch...
    

    The remaining licenses are displayed as shown in the following example.

    device# show license
    Chassis:
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
           Capacity on Demand license
           Feature name:CAPACITY_ON_DEMAND
           Capacity: 24
           License is Node-Lock and valid
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
           Advanced Features license
           Feature name:ADVANCED_FEATURES
           License is Trust Based
           EULA acceptance date: Thu May 30 09:55:54 2019

    The following example displays removing a SAU license (Advanced features).

    device# license eula decline ADVANCED_FEATURES 
    
    EULA removed for feature [ADVANCED_FEATURES]