display license resource usage port-srv6

Function

The display license resource usage port-srv6 command displays authorization information about SRv6 interface licenses on boards.

Format

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

Parameters

Parameter Description Value
all

Displays authorization information about SRv6 interface licenses on all boards.

-

slot slotid

Specifies the slot ID of a board on which authorization information about SRv6 interface licenses is to be displayed.

The value is a string of 1 to 32 case-sensitive characters, spaces not supported.

active

Displays authorization information about SRv6 interface licenses for which the active port-srv6 command is run.

-

deactive

Displays authorization information about SRv6 interface licenses for which the active port-srv6 command is not run.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
forwarding read

Usage Guidelines

Usage Scenario

To check authorization information about SRv6 interface licenses on boards, run the display license resource usage port-srv6 command.

Precautions

This command is supported only in the admin VS.

Example

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

# Display authorization information about SRv6 interface licenses for which the active port-srv6 command is not run on the board in a specified slot.
<HUAWEI> display license resource usage port-srv6 slot 1 deactive
Global port license information:                                                
==================================================================================
Port Type              Offline     Allocated     Activated     Available     Total
--------------------------------------------------------------------------------
GE                     0           0             0             0             0  
10GE                   0           2             3             0             3  
100GE                  0           0             0             0             0  
Port license detailed information:                                             
================================================================================
Physical Port Position                         Port Type           Active Status
--------------------------------------------------------------------------------
0/1/0                                          10GE                No allocated 
0/1/1                                          10GE                No allocated 
0/1/2                                          10GE                No allocated 
0/1/3                                          10GE                No allocated 
0/1/4                                          10GE                No allocated
# Display authorization information about SRv6 interface licenses for which the active port-srv6 command is run on the board in a specified slot.
<HUAWEI> display license resource usage port-srv6 slot 1 active
Global port license information:                                                
==================================================================================
Port Type              Offline     Allocated     Activated     Available     Total
--------------------------------------------------------------------------------
GE                     0           0             0             0             0  
10GE                   0           2             3             0             3  
100GE                  0           0             0             0             0  
Port license detailed information:                                             
================================================================================
Physical Port Position                         Port Type           Active Status
--------------------------------------------------------------------------------
0/1/0                                          10GE                Activated    
0/1/1                                          10GE                Activated    
0/1/2                                          10GE                Activated    
0/1/3                                          10GE                Allocated    
0/1/4                                          10GE                Allocated
# Display authorization information about SRv6 interface licenses on all boards.
<HUAWEI> display license resource usage port-srv6 all
Global port license information:                                                
==================================================================================
Port Type              Offline     Allocated     Activated     Available     Total
--------------------------------------------------------------------------------
GE                     0           0             0             0             0  
10GE                   0           2             3             0             3  
100GE                  0           0             0             0             0  
Port license detailed information:                                             
================================================================================
Physical Port Position                         Port Type           Active Status
--------------------------------------------------------------------------------
0/1/0                                          10GE                No allocated 
0/1/1                                          10GE                No allocated 
0/1/2                                          10GE                No allocated 
0/1/3                                          10GE                No allocated 
0/1/4                                          10GE                Activated    
0/1/5                                          10GE                Activated    
0/1/6                                          10GE                Activated    
0/1/7                                          10GE                Allocated    
0/1/8                                          10GE                Allocated    
0/1/9                                          10GE                No allocated
# Display authorization information about SRv6 interface licenses on boards when the device-specific SRv6 license is activated.
<HUAWEI> display license resource usage port-srv6 all
Info: License for all ports has been activated.
Table 1 Description of the display license resource usage port-srv6 command output
Item Description
Global port license information

Global interface license information.

Port Type

Interface type.

Port license detailed information

Detail information about interface licenses.

Offline

Number of offline interfaces.

Allocated

Number of interfaces whose SRv6 interface licenses are in the Allocated state.

Activated

Number of interfaces whose SRv6 interface licenses are in the Activated state.

Available

Number of remaining SRv6 interface licenses that can be activated.

Total

Total number of licenses.

Physical Port Position

Physical interface position, which varies depending on the product.

Active Status
Activation status of an interface license:
  • Activated: The license has been activated successfully.
  • Allocated: The active port-srv6 command has been run on the specified interface, but SRv6 interface license resources are insufficient, preventing the license from being activated.
  • Not allocated: The active port-srv6 command is not run on the specified interface.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >