3.8.8. P_LLDP_TLV_PORTID
code: tbd
# set
<module-index>/<port-index> P_LLDP_TLV_PORTID <subtype> <portid>
# get
<module-index>/<port-index> P_LLDP_TLV_PORTID ?
Description
This configures the LLDPDU Port ID TLV for the port.The Port ID TLV is a mandatory TLV that identifies the port component of the MSAP identifier associated with the transmitting LLDP agent.
Actions
set, get
Parameters
subtype: byte, Port ID Subtype. The value can be one of the following:INTERFACE_ALIAS = 1, Interface AliasPORT_COMPONENT = 2, Port ComponentMAC_ADDRESS = 3, MAC AddressNETWORK_ADDRESS = 4, Network AddressINTERFACE_NAME = 5, Interface NameAGENT_CIRCUIT_ID = 6, Agent circuit IDLOCAL = 7, Locally assigned
portid: string, The port ID field is an alpha-numeric string that contains the specific identifier for the port from which this LLDPDU was transmitted. The port ID value shall remain constant for all LLDPDUs while the transmitting port remains operational.
Example
# set
input: 0/1 P_LLDP_TLV_PORTID INTERFACE_NAME "1/1"
output: <OK>
# get
input: 0/1 P_LLDP_TLV_PORTID ?
output: 0/1 P_LLDP_TLV_PORTID INTERFACE_NAME "1/1"