This procedure explains how to provide values for specific TLV units.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.
# lldpadm set-tlvprop -p TLV-property=value[,value,value,...] TLV-name
Where TLV-name is the name of the global TLV unit and TLV-property is a property of that TLV unit. You can assign multiple values to the property. For a list of global TLV units and their properties, see Figure 3, Table 3, Global TLV Units and Their Properties.
# lldpadm set-agenttlvprop -p TLV-property[+|-]=value[,value,value,...] -a agent TLV-name
Where TLV-name is the name of the agent TLV unit and TLV-property is a property of that TLV unit. You can assign multiple values to the property. For a list of per-agent TLV units and their properties, see Figure 4, Table 4, Per-Agent TLV Units and Their Properties.
You can use qualifiers to add (+) or remove (-) values from the list of values for properties that accept multiple values.
# lldpadm show-tlvprop
# lldpadm show-agenttlvprop
In the following example, specific information about the capabilities of the system to be advertised in the LLDP packet and management IP address is configured.
Configure both supported and enabled properties of the syscapab TLV unit.
# lldpadm set-tlvprop -p supported=bridge,router,repeater syscapab # lldpadm set-tlvprop -p enabled=router syscapab
Specify the management IP address for the mgmtaddr TLV unit.
# lldpadm set-tlvprop -p ipaddr=192.0.2.2 mgmtaddr
Display the TLV values of the agent properties.
# lldpadm show-tlvprop TLVNAME PROPERTY PERM VALUE DEFAULT POSSIBLE syscapab supported rw bridge, bridge,router, other,router, router, station repeater,bridge, repeater wlan-ap,telephone, docis-cd,station, cvlan,svlan,tpmr syscapab enabled rw router none bridge,router, repeater mgmtaddr ipaddr rw 192.0.2.2 none --
The output includes the default values of the TLV units and also the possible values that can be set for the property.
For information about configuring per-agent TLV properties, see Managing Converged Networks by Using Data Center Bridging.