P4_LICENSE_INFO
# get
<module-index>/<port-index> P4_LICENSE_INFO ?
Description
Returns the information on the license assigned to the port - if any.
Actions
get
Parameters
present: byte, the information on the license assigned to the portNOT_PRESENT = 0PRESENT = 1
speed: byte, the information on the license assigned to the portUNDEFINED = 0F1G = 1F2_5G = 2F5G = 3F10G = 4F25G = 5F40G = 6F50G = 7F100G = 8
permanency: byte, the information on the license assigned to the portNON_PERMANENT = 0PERMANENT = 1
expiration: long integer, the information on the license assigned to the port
Example
# get
input: 0/1 P4_LICENSE_INFO ?
output: 0/1 P4_LICENSE_INFO NOT_PRESENT UNDEFINED NON_PERMANENT 123456789123