P_LLDP_ADDRESS

code: tbd

# set
<module-index>/<port-index> P_LLDP_ADDRESS <dmac> <smac>

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

Description

This configures the DMAC and SMAC for the LLDP frames

Actions

set, get

Parameters

  1. dmac: byte, the destination MAC address for LLDP frames, default to 01:80:C2:00:00:0E.

  2. smac: byte, the source MAC address for LLDP frames, default to the port’s MAC address.

Example

# set
input:  0/1 P_LLDP_ADDRESS 0x0180C200000E 0x001122334455
output: <OK>

# get
input:  0/1 P_LLDP_ADDRESS ?
output: 0/1 P_LLDP_ADDRESS 0x0180C200000E 0x001122334455