P_LLDP_HEADER

code: tbd

# set
<module-index>/<port-index> P_LLDP_DATA [<lldp_agent_index>] <header>

# get
<module-index>/<port-index> P_LLDP_DATA [<lldp_agent_index>] ?

Description

Configures the LLDP frame data for a specified LLDP agent on the port.

Actions

set, get

Parameters

  1. header: hex list, LLDP frame header to be set. The header includes DMAC, SMAC, and Ethertype.

Example

# set
input:  0/1 P_LLDP_DATA [0] 0x0180C200000E00112233445588CC
output: <OK>

# get
input:  0/1 P_LLDP_DATA ?
output: 0/1 P_LLDP_DATA [0] 0x0180C200000E00112233445588CC