display license resource

Function

The display license resource usage port-basic command displays information about interface-specific basic hardware licenses.

Format

display license resource usage port-basic { all | slot slotid } [ active | deactive ]

Parameters

Parameter Description Value
all

Displays all the authorization information about the interface-specific basic hardware licenses.

-

slot slotid

Specifies the slot ID of a controlled board.

-

active

Displays authorization information about interface-specific basic hardware licenses for which the active port-basic command is run.

-

deactive

Displays authorization information about interface-specific basic hardware licenses for which the active port-basic command is not run.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
license read

Usage Guidelines

Usage Scenario

To view information about interface-specific basic hardware licenses, run the display license resource usage port-basic command. The command output is used in routine maintenance.

This command applies only to boards in CM mode.

Precautions

If the optical module installed on an interface does not match the interface rate, after the optical module is removed and the device is started in text mode, the display license resource command output shows that the number of licenses used on the interface is different from the number of licenses required for interface activation, and an alarm indicating insufficient license resources is generated. To solve this problem, perform the following steps:

  1. Add sufficient license resources to the device.
  2. The undo active port-basic command is executed to deactivate a port without committing the configuration.
  3. Run the active port-basic command to activate the port and commit the configuration.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about interface-specific basic hardware licenses.
<HUAWEI> display license resource usage port-basic all
FeatureName Descriptions:  
====================================================================================  
FeatureName            Description                                                    
------------------------------------------------------------------------------------  
*****40XBS***          *** 10G Port Enable RTU(per 10G)
*****45NBS***          *** 50G Port Enable RTU(per 50G/40G)
…

Global license information:  
====================================================================================  
FeatureName            Offline     Allocated     Activated     Available     Total    
------------------------------------------------------------------------------------  
*****40GBS***          0           0             0             0             0   
*****40XBS***          0           2             3             0             3   
*****45NBS***          0           0             0             0             0   
*****40NBS***          0           0             0             0             0     
…

License detailed information:  
====================================================================================  
Physical Position    FeatureName     Needed Count    Used Count      Active Status    
------------------------------------------------------------------------------------  
1/0/0             *****40XBS***   1               0               No allocated   
1/0/1             *****40XBS***   1               0               No allocated   
1/0/2             *****40XBS***   1               0               No allocated   
1/0/3             *****40XBS***   1               0               No allocated   
1/0/4             *****40XBS***   1               1               Activated      
…
Table 1 Description of the display license resource command output
Item Description
FeatureName

Model of a control item. The display varies according to the product.

Description

Description of a control item, which varies depending on the product.

Offline

Number of licenses used by offline ports.

Allocated

Number of interfaces for which the activation status of licenses is Allocated.

Activated

Number of interfaces for which the activation status of licenses is Activated.

Available

Number of remaining licenses that can be activated.

Total

Total number of licenses.

Physical Position

Physical position information, which varies depending on the product.

Needed Count

Number of licenses required for port activation.

Used Count

Number of licenses used by ports.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >