P_LLDP_OPMODE
code: tbd
# set
<module-index>/<port-index> P_LLDP_OPMODE [<lldp_agent_index>] <op_mode>
# get
<module-index>/<port-index> P_LLDP_OPMODE [<lldp_agent_index>]?
Description
This configures the LLDP operational mode for the port.
Actions
set, get
Parameters
op_mode: byte, LLDP operational mode, default to Disabled. The value can be one of the following:DISABLE = 0, disable LLDP on the port. (Default)TX_RX = 1, enable LLDP on the port in both transmission and reception modes.TX_ONLY = 2, enable LLDP with transmission mode only on the port.RX_ONLY = 3, enable LLDP with reception mode only on the port.
Example
# set
input: 0/1 P_LLDP_OPMODE [0] TX_RX
output: <OK>
# get
input: 0/1 P_LLDP_OPMODE [0] ?
output: 0/1 P_LLDP_OPMODE [0] TX_RX