show lldp
语法
show lldp <detail>
说明
显示有关链路层发现协议 (LLDP) 的信息。
选项
detail | (可选)显示详细的输出级别。 |
必需的权限级别
视图
输出字段
表 1 介绍了命令的 show lldp
输出字段。输出字段按其显示大致顺序列出。
字段名称 |
字段说明 |
---|---|
LLDP |
LLDP 状态:Enabled 或 Disabled。 |
Advertisement interval |
播发间隔参数的值。 |
Transmit delay |
传输延迟参数的值。 |
Hold timer |
保持计时器参数的值。 |
Notification interval |
通知间隔参数的值。 |
Config Trap Interval |
配置陷阱参数的值。 |
Connection Hold timer |
连接保持计时器参数的值。 |
|
|
端口说明TLV类型 |
以下值用于端口描述TLV:
|
Interface |
报告 LLDP 配置信息的接口名称 有关接口名称的信息,请参阅 接口命名概述。有关 TX Matrix 路由器的接口名称的信息,请参阅 TX Matrix 路由器机箱和接口名称。有关 TX Matrix 路由器上的 FPC 编号的信息,请参阅 使用 TX Matrix 路由器 FPC 编号的路由矩阵。 |
|
接口所属的聚合以太网接口的名称(如果有)。 |
|
LLDP 运行状态。该状态可以启用或禁用。 |
|
LLDP-MED 操作状态。该状态可以启用或禁用。 |
|
LLDP 功率协商操作状态。该状态可以启用或禁用。 |
LLDP basic TLVs supported |
此设备支持的基本 LLDP TLV 列表(detail 仅限)。 |
LLDP 802 TLVs supported |
此设备支持的 IEEE 802.1 LLDP TLV 列表(detail 仅限)。 |
示例输出
show lldp
user@host> show lldp LLDP : Enabled Advertisement interval : 30 seconds Transmit delay : 2 seconds Hold timer : 120 seconds Notification interval : 0 Second(s) Config Trap Interval : 0 seconds Connection Hold timer : 300 seconds Port ID TLV subtype : locally-assigned Port Description TLV type : interface-description (ifDescr) Interface Parent Interface LLDP LLDP-MED Power Negotiation all - Enabled
示例输出
显示 lldp 详细信息
user@host> show lldp detail LLDP : Enabled Advertisement interval : 30 seconds Transmit delay : 2 seconds Hold timer : 120 seconds Notification interval : 0 Second(s) Config Trap Interval : 0 seconds Connection Hold timer : 300 seconds Port ID TLV subtype : locally-assigned Port Description TLV type : interface-description (ifDescr) Interface Parent Interface LLDP LLDP-MED Power Negotiation Neighbor count all - Enabled 2 Interface Parent Interface Vlan-id Vlan-name xe-0/0/0 - 4080 vlan-4080 xe-0/0/1 - 4080 vlan-4080 Basic Management TLVs supported: End Of LLDPDU, Chassis ID, Port ID, Time To Live, Port Description, System Name, System Description, System Capabilities, Management Address Organizationally Specific TLVs supported: Port VLAN tag, VLAN Name, MAC/PHY Configuration/Status, Link Aggregation,Maximum Frame Size
发布信息
在 Junos OS 9.6 版中引入的命令。