Dell Networking PowerSwitch OS9:如何启用和管理链路层发现协议

Summary: 本文介绍如何在运行 OS9 的 Dell Networking 交换机上启用和管理链路层发现协议 (LLDP)。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

目标

1.
重点 2.配置 LLDP
2。查看 LLDP 配置
4。查看相邻LLDP代理公告的信息

 

要点

  • 从固件版本9.2.0.2开始,默认启用LLDP。以前版本的LLDP默认被禁用。
  • Dell Networking系统的每个接口支持多达八个邻居。
  • 每个Dell Networking系统总共支持最多8000个邻居。如果接口数量乘以八超过此最大值,系统不会配置超过8000。
  • 接口级别配置覆盖所有配置级别配置。

 

配置LLDP
 

命令

目的

FTOS# configure

输入配置模式。

FTOS(config)# protocol LLDP

进入LLDP模式。

FTOS(config-lldp)# no disable

Disable将全局关闭LLDP。No disable将全局开启LLDP。由于协议引入时处于disabled(禁用)状态,该语句的否定形式将开启此协议。

FTOS(conf-if-te-0/10)#protocol lldp

在接口级别找到相同的LLDP模式。所有特定接口级别LLDP模式命令覆盖任何全局配置的LLDP参数。

 

查看LLDP配置

 

Dell(conf)# protocol lldp

Dell(conf-lldp)# show config
!
protocol lldp
advertise dot1-tlv port-protocol-vlan-id port-vlan-id
advertise dot3-tlv max-frame-size
advertise management-tlv system-capabilities system-description hello 10
no disable

Dell(conf-lldp)# exit

Dell(conf)# interface gigabitethernet 1/31

Dell(conf-if-gi-1/31)# show config
!
interface GigabitEthernet 1/31
no ip address
switchport
no shutdown
Dell(conf-if-gi-1/31)# protocol lldp

Dell(conf-if-gi-1/31-lldp)# show config
!
protocol lldp

查看相邻LLDP代理公告的信息
 

显示有关相邻设备的简要信息。

show lldp neighbors

显示邻居正在通告的所有信息。

show lldp neighbors detail

 

查看邻居公告的简要信息的示例

Dell(conf-if-te-0/3-lldp)# end

Dell (conf-if-te-0/3)# do show lldp neighbors

Loc      PortID      Rem Host Name        Rem Port Id                Rem Chassis Id
---------------------------------------------------------------------------------------------

Te 0/1                     -                     TenGigabitEthernet 0/5      00:01:e8:05:40:46
Te 0/2                     -                     TenGigabitEthernet 0/6      00:01:e8:05:40:46

 

查看邻居公告的详细信息的示例

Dell# show lldp neighbors detail
========================================================================
Local Interface Te 0/4 has 1 neighbor
Total Frames Out: 6547
Total Frames In: 4136
Total Neighbor information Age outs: 0
Total Frames Discarded: 0
Total In Error Frames: 0
Total Unrecognized TLVs: 0
Total TLVs Discarded: 0
Next packet will be sent after 7 seconds
The neighbors are given below:
-----------------------------------------------------------------------

Remote Chassis ID Subtype: Mac address (4)
Remote Chassis ID: 00:01:e8:06:95:3e
Remote Port Subtype: Interface name (5)
Remote Port ID: TeGigabitEthernet 2/11
Local Port ID: TenGigabitEthernet 1/21
Locally assigned remote Neighbor Index: 4
Remote TTL: 120
Information valid for next 120 seconds
Time since last information change of this neighbor: 01:50:16
Remote MTU: 1554
Remote System Desc: Dell Networks Real Time Operating System Software
Dell Operating System Version: 1.0.
Dell Application Software Version: 9.4.0.0. Copyright (c) 1999-2014
Build Time: Thu Aug 9 01:05:51 PDT 1999-2014
Existing System Capabilities: Repeater Bridge Router
Enabled System Capabilities: Repeater Bridge Router
Remote Port Vlan ID: 1
Port and Protocol Vlan ID: 1, Capability: Supported, Status: Enabled

---------------------------------------------------------------------------

Affected Products

PowerSwitch S3048-ON, PowerSwitch S4048-ON, PowerSwitch S4810P, PowerSwitch S4810-ON, PowerSwitch S4820T, PowerSwitch S5000, Force10 S60-44T, PowerSwitch S6000, PowerSwitch S6000 ON, PowerSwitch S4048T-ON, PowerSwitch S5048F-ON, PowerSwitch S6010-ON , PowerSwitch S6100-ON, PowerSwitch Z9100-ON ...
Article Properties
Article Number: 000120105
Article Type: How To
Last Modified: 31 Dec 2025
Version:  8
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.