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 個總芳鄰。如果介面數乘以 8 超過最大值,則系統不會設定超過 8000。
- 介面層級組態會覆寫所有組態層級組態。
設定 LLDP
|
命令 |
用途 |
|
|
進入組態模式。 |
|
|
進入 LLDP 模式。 |
|
|
停用會全域關閉 LLDP。「未停用」會全域開啟 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.