Managing Network Datalinks in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Mandatory TLV Units

Certain TLV units are mandatory and are included in the LLDP packets by default when LLDP is enabled. You cannot use the lldpadm command to exclude any of these units.

    The following TLV units are mandatory:

  • Chassis ID – Information that is generated by the hostid command

  • Port ID – MAC address of the physical NIC

  • TTL (time to live)

  • End of protocol data unit (PDU)

Multiple LLDP agents can be enabled on a single system depending on the number of links. The chassis ID and port ID combination uniquely identifies an agent and distinguishes it from other agents on the system.

Example 5-1  Displaying the Chassis ID and Port ID

The following example displays the chassis ID and port ID for an LLDP agent.

# hostid 
004e434e
# dladm show-phys -m net4
LINK                SLOT     ADDRESS            INUSE CLIENT
net4                primary  0:1b:21:87:8b:b4   yes   net4
# lldpadm show-agent -l net4
AGENT               CHASSISID           PORTID
net4                004e434e            00:1b:21:87:8b:b4

Oracle Solaris LLDP agents use hostid as the chassis ID and the port's MAC address as the port ID.