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 port
  • NOT_PRESENT = 0

  • PRESENT = 1

speed: byte, the information on the license assigned to the port
  • UNDEFINED = 0

  • F1G = 1

  • F2_5G = 2

  • F5G = 3

  • F10G = 4

  • F25G = 5

  • F40G = 6

  • F50G = 7

  • F100G = 8

permanency: byte, the information on the license assigned to the port
  • NON_PERMANENT = 0

  • PERMANENT = 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