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

  1. subtype: byte, Port ID Subtype. The value can be one of the following:

    • INTERFACE_ALIAS = 1, Interface Alias

    • PORT_COMPONENT = 2, Port Component

    • MAC_ADDRESS = 3, MAC Address

    • NETWORK_ADDRESS = 4, Network Address

    • INTERFACE_NAME = 5, Interface Name

    • AGENT_CIRCUIT_ID = 6, Agent circuit ID

    • LOCAL = 7, Locally assigned

  2. 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"