The information can be either local or remote. Local information comes from the local LLDP agent. Remote information comes from other LLDP agents on the network that is received by the local LLDP agent.
Use the lldpadm show-agent command to display the advertised information.
# lldpadm show-agent -[l|r][v] agent
–l displays local information advertised by the local LLDP agent.
–r displays remote information received by the LLDP agent.
–v displays detailed local or remote information.
The following example shows how to display the information that is being advertised locally or remotely by an LLDP agent. By default, the information is displayed in short form. By using the –v option, you can obtain verbose or detailed information.
To display local information that is advertised by the LLDP agent:
# lldpadm show-agent -l net0 AGENT CHASSISID PORTID net0 004bb87f 00:14:4f:01:77:5d
To display remote information that is advertised by the LLDP agent:
# lldpadm show-agent -r net0 AGENT SYSNAME CHASSISID PORTID net0 hostb 0083b390 00:14:4f:01:59:ab
To display local information in the verbose mode, use the –v option:
# lldpadm show-agent -l -v net4 Agent: net4 Chassis ID Subtype: Local(7) Chassis ID: 00843300 Port ID Subtype: MacAddress(3) Port ID: 00:1b:21:89:03:d0 Port Description: -- Time to Live: 21 (seconds) System Name: -- System Description: -- Supported Capabilities: -- Enabled Capabilities: -- Management Address: -- Maximum Frame Size: -- Port VLAN ID: -- VLAN Name/ID: vlan1/22 VNIC PortID/VLAN ID: 02:08:20:63:2d:9d,02:08:20:e5:6c:af/21 Aggregation Information: -- PFC Willing: On PFC Cap: 8 PFC MBC: False PFC Enable: 4 PFC Pending: True Application(s)(ID/Sel/Pri): -- ETS Willing: On ETS Configured CBS: 0 ETS Configured TCS: 8 ETS Configured PAT: 0,1,2,3,4,5,6,7 ETS Configured BAT: 40,20,0,40,0,0,0,0 ETS Configured TSA: 2,2,2,2,2,2,2,2 ETS Recommended PAT: 0,1,2,3,4,5,6,7 ETS Recommended BAT: 40,20,0,40,0,0,0,0 ETS Recommended TSA: 2,2,2,2,2,2,2,2 EVB Mode: Station EVB GID (Station): Not Supported EVB ReflectiveRelay REQ: Not Requested EVB ReflectiveRelay Status: RR Not Enabled EVB GID (Bridge): Not Supported EVB ReflectiveRelay Capable (RRCAP): Not Supported EVB ReflectiveRelay Control (RRCTR): Not Enabled EVB max Retries (R): 0 EVB Retransmission Exponent (RTE): 0 EVB Remote or Local(ROL) and Resource Wait Delay (RWD): Local EVB Resource Wait Delay (RWD): 0 EVB Remote or Local (ROL) and Reinit Keep Alive (RKA): Local EVB Reinit Keep Alive (RKA): 0 Next Packet Transmission: 4 (seconds)
To display remote information in the verbose mode, use the –v option:
# lldpadm show-agent -r -v net4 Agent: net4 Chassis ID Subtype: Local(7) Chassis ID: 00843300 Port ID Subtype: MacAddress(3) Port ID: 00:1b:21:89:03:d0 Port Description: -- Time to Live: 21 (seconds) System Name: -- System Description: -- Supported Capabilities: -- Enabled Capabilities: -- Management Address: -- Maximum Frame Size: -- Port VLAN ID: -- VLAN Name/ID: vlan1/22 VNIC PortID/VLAN ID: 02:08:20:63:2d:9d,02:08:20:e5:6c:af/21 Aggregation Information: -- PFC Willing: On PFC Cap: 8 PFC MBC: False PFC Enable: 4 Application(s)(ID/Sel/Pri): -- ETS Willing: On ETS Configured CBS: 0 ETS Configured TCS: 8 ETS Configured PAT: 0,1,2,3,4,5,6,7 ETS Configured BAT: 40,20,0,40,0,0,0,0 ETS Configured TSA: 2,2,2,2,2,2,2,2 ETS Recommended PAT: 0,1,2,3,4,5,6,7 ETS Recommended BAT: 40,20,0,40,0,0,0,0 ETS Recommended TSA: 2,2,2,2,2,2,2,2 EVB Mode: Station EVB GID (Station): Not Supported EVB ReflectiveRelay REQ: Not Requested EVB ReflectiveRelay Status: RR Not Enabled EVB GID (Bridge): Not Supported EVB ReflectiveRelay Capable (RRCAP): Not Supported EVB ReflectiveRelay Control (RRCTR): Not Enabled EVB max Retries (R): 0 EVB Retransmission Exponent (RTE): 0 EVB Remote or Local(ROL) and Resource Wait Delay (RWD): Local EVB Resource Wait Delay (RWD): 0 EVB Remote or Local (ROL) and Reinit Keep Alive (RKA): Local EVB Reinit Keep Alive (RKA): 0 Information Valid Until: 19 (seconds)