P_LLDP_HEADER

code: 1005

# 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 header 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.

  • The default DMAC is the MAC address of the test port. If the port MAC address is changed, the default DMAC will also be updated to match the new port MAC address.

  • The default SMAC is Nearest Bridge MAC address, 0x0180C200000E, as specified in IEEE 802.3-2018.

  • The default Ethertype is 0x88CC for LLDP frames, as specified in IEEE 802.3-2018.

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