P_LLDPDU_BTLV_ENABLE

code: tbd

# set
<module-index>/<port-index> P_LLDPDU_BTLV_ENABLE <tlv_types>

# get
<module-index>/<port-index> P_LLDPDU_BTLV_ENABLE ?

Description

Enables the basic optional LLDP TLVs for the port.

Actions

set, get

Parameters

  1. tlv_types: list of integer, The list of TLV types to be enabled. The list can contain the following values:

    • 4: Port Description

    • 5: System Name

    • 6: System Description

    • 7: System Capabilities

    • 8: Management Address

If the list is empty, the port will have no basic optional TLVs ready to be added to the LLDPDU.

The actual order of the TLVs in the LLDPDU is ascending by the TLV type, regardless of the order in which they are set.

Example

# set
input:  0/1 P_LLDPDU_BTLV_ENABLE  4 5 6
output: <OK>

# get
input:  0/1 P_LLDPDU_BTLV_ENABLE ?
output: 0/1 P_LLDPDU_BTLV_ENABLE  4 5 6