P_LLDP_OPMODE

code: tbd

# set
<module-index>/<port-index> P_LLDP_OPMODE <op_mode>

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

Description

This configures the LLDP operational mode for the port.

Actions

set, get

Parameters

  1. 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 TX_RX
output: <OK>

# get
input:  0/1 P_LLDP_OPMODE ?
output: 0/1 P_LLDP_OPMODE TX_RX