Dell Networking PowerSwitch OS9: Aktivera och hantera Link Layer Discovery Protocol
Summary: I den här artikeln förklaras hur du aktiverar och hanterar LLDP-protokoll (Link Layer Discovery Protocol) på Dell Networking-switchar som kör OS9.
Instructions
Målsättningar
1. Viktiga punkter
2. Konfigurera LLDP
2. Visa LLDP-konfiguration
4. Visa information som annonseras av intilliggande LLDP-ombud
Viktiga punkter
- LLDP är aktiverat som standard från version 9.2.0.2. I tidigare versioner är LLDP inaktiverat som standard.
- Dell Networking-systemen har stöd för upp till åtta grannar per gränssnitt.
- Dell Networking-systemen kan hantera maximalt 8 000 grannar totalt per system. Om antalet gränssnitt multiplicerat med åtta överskrider den maxgränsen konfigurerar inte systemet mer än 8 000.
- Konfigurationer på gränssnittsnivå ersätter alla konfigurationer på konfigurationsnivå.
Konfigurera LLDP
|
Kommando |
Syfte |
|
|
Gå till konfigurationsläget. |
|
|
Gå till LLDP-läget. |
|
|
Disable (inaktivt) gör att LLDP stängs av globalt. No disable (inte inaktivt) gör att LLDP slås på globalt. Eftersom protokollet introducerades som ”disabled” (inaktivt) är det den negativa frasen som gör att protokollet aktiveras. |
|
|
Samma LLDP-läge hittas på gränssnittsnivå. Alla kommandon på gränssnittsnivå i LLDP-läget ersätter alla globalt konfigurerade LLDP-parametrar. |
Visa LLDP-konfiguration
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
Visa information som annonseras av intilliggande LLDP-ombud
Visa kortfattad information om intilliggande enheter.
show lldp neighbors
Visa all information som grannar annonserar.
show lldp neighbors detail
Exempel på kortfattad information som annonseras av grannar
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
Exempel på detaljerad information som annonseras av grannar
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
---------------------------------------------------------------------------