信息可以是本地信息,也可以是远程信息。本地信息来自本地 LLDP 代理。远程信息来自网络上的其他 LLDP 代理,由本地 LLDP 代理接收。
使用 lldpadm show-agent 命令可以显示通告的信息。
# lldpadm show-agent -[l|r][v] agent
–l 显示本地 LLDP 代理通告的本地信息。
–r 显示 LLDP 代理接收的远程信息。
–v 显示详细的本地或远程信息。
以下示例说明了如何显示 LLDP 代理以本地或远程方式通告的信息。缺省情况下,信息以短格式显示。通过使用 –v 选项,您可以获取详细信息。
显示 LLDP 代理通告的本地信息:
# lldpadm show-agent -l net0 AGENT CHASSISID PORTID net0 004bb87f 00:14:4f:01:77:5d
显示 LLDP 代理通告的远程信息:
# lldpadm show-agent -r net0 AGENT SYSNAME CHASSISID PORTID net0 hostb 0083b390 00:14:4f:01:59:ab
要以详细模式显示本地信息,请使用 –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)
要以详细模式显示远程信息,请使用 –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)