3.8.2. P_LLDP_TLV_MGMT_ADDR
code: tbd
# set
<module-index>/<port-index> P_LLDP_TLV_MGMT_ADDR <mgmt_addr_subtype> <mgmt_addr> <if_subtype> <if_number> <oid_string>
# get
<module-index>/<port-index> P_LLDP_TLV_MGMT_ADDR ?
Description
TLV Type = 8
This configures the LLDPDU Management Address TLV for the port. The Management Address TLV identifies an address associated with the local LLDP agent that may be used to reach higher layer entities to assist discovery by network management.
Actions
set, get
Parameters
mgmt_addr_subtype: integer, The management address subtype field shall contain an integer value indicating the type of address that is listed in the management address field. Enumeration for this field is contained in theianaAddressFamilyNumbersmodule of the IETF RFC 3232 on-line database that is accessible through a web page (https://www.iana.org/assignments/address-family-numbers/address-family-numbers.xhtml).mgmt_addr: hex, The management address field shall contain an octet string indicating the particular management address associated with this TLV.if_subtype: byte, The interface numbering subtype field shall contain an integer value indicating the numbering method used for defining the interface number.UNKNOWN = 1, The enumeration unknown(1) represents the case where the interface is not known. In this case, the corresponding interface number is of zero length.IFINDEX = 2, The enumeration ifIndex(2) represents interface identifier based on the ifIndex MIB object.SYS_PORT_NUMBER = 3, The enumeration systemPortNumber(3) represents interface identifier based on the system port numbering convention.
if_number: integer, The interface number field shall contain the assigned number within the system that identifies the specific interface associated with this management address. If the value of the interface subtype is unknown, this field shall be set to zero.oid_string: string, The object identifier field contains an OID that identifies the type of hardware component or protocol entity associated with the indicated management address. Allowed to be empty.
Example
# set
input: 0/1 P_LLDP_TLV_MGMT_ADDR 6 0x000130f9ada0 IFINDEX 11 ""
output: <OK>
# get
input: 0/1 P_LLDP_TLV_MGMT_ADDR ?
output: 0/1 P_LLDP_TLV_MGMT_ADDR 6 0x000130f9ada0 IFINDEX 11 ""