Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

示例:配置 LLDP

以下示例在接口上配置 LLDP,但在所有其他 接口上禁用 LLDP,为所有自动启用的功能显式配置默认值,并为 LLDP 配置通知间隔配置 30 秒值,为物理拓扑陷阱间隔配置 30 秒值。ge-1/1/1

您可以使用几个 show 命令验证 LLDP 的操作:

  • show lldp <detail>

  • show lldp neighbors interface-name

  • show lldp statistics interface-name

  • show lldp local-information

  • show lldp remote-global-statisitics

您可以全局或在接口上清除 LLDP 邻居信息或统计信息:

  • clear lldp neighbors interface-name

  • clear lldp statistics interface-name

您可以使用以下命令 显示有关 LLDP 的基本信息:show lldp detail

有关这些命令输出的更多详细信息,请参阅 CLI 资源管理器。https://www.juniper.net/documentation/content-applications/cli-explorer/junos/