Go to main content

Managing Network Datalinks in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

How to Define TLV Units

This procedure explains how to provide values for specific TLV units.


Tip  -  You can reset the TLV properties to their default values by using the lldpadm reset-tlvprop command for global TLV units and lldpadm reset-agenttlvprop command for per-agent TLV units.

Before You Begin

Ensure that your role has the appropriate rights profile to perform this procedure. See Using Rights Profiles to Perform Network Configuration.

  1. Configure a global or a per-agent TLV unit.
    • To configure a global TLV unit, set the appropriate TLV property to contain the values that you want to advertise.
      $ 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 2, Table 2, Global TLV Units and Their Properties.

    • To configure a per-agent TLV unit, configure the appropriate TLV property of the LLDP agent to contain the values that you want the agent to advertise.
      $ 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 3, Table 3, 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.

  2. (Optional) Display the values of the TLV property that you have configured.
    • To display the global TLV property values:
      $ lldpadm show-tlvprop
    • To display the values of the TLV property of an agent:
      $ lldpadm show-agenttlvprop
Example 36  Defining TLV Values for the syscapab and mgmtaddr TLV Units

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.

$ lldpadm set-tlvprop -p supported=bridge,router,repeater syscapab
$ lldpadm set-tlvprop -p enabled=router syscapab
$ lldpadm set-tlvprop -p ipaddr=192.0.2.2 mgmtaddr

$ 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            --

For information about configuring per-agent TLV properties, see Managing Converged Networks by Using Data Center Bridging.