La información puede ser tanto local como remota. La información local proviene del agente LLDP local. La información remota proviene de otros agentes LLDP de la red y es recibida por el agente LLDP local.
Utilice el comando lldpadm show-agent para mostrar la información anunciada.
# lldpadm show-agent -[l|r][v] agent
–l muestra la información local anunciada por el agente LLDP local.
–r muestra la información remota recibida por el agente LLDP.
–v muestra la información local o remota detallada.
El ejemplo siguiente muestra cómo visualizar la información que anuncie un agente LLDP de manera local o remota. De manera predeterminada, la información se muestra de manera abreviada. Con la opción –v, puede obtener información detallada.
Para mostrar la información local que anuncia el agente LLDP:
# lldpadm show-agent -l net0 AGENT CHASSISID PORTID net0 004bb87f 00:14:4f:01:77:5d
Para mostrar la información remota que anuncia el agente LLDP:
# lldpadm show-agent -r net0 AGENT SYSNAME CHASSISID PORTID net0 hostb 0083b390 00:14:4f:01:59:ab
Para mostrar la información local en el modo detallado, utilice la opción –v:
# 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)
Para mostrar la información remota en el modo detallado, utilice la opción –v:
# 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)