Dell Networking PowerSwitch OS9: Sådan aktiveres og administreres Link Layer Discovery Protocol
Summary: Denne artikel beskriver, hvordan du aktiverer og administrerer LLDP (Link Layer Discovery Protocol) på Dell Networking-switche, der kører OS9.
Instructions
Målsætning
1. Vigtige punkter
2. Konfigurer LLDP
2. Se LLDP-konfiguration
4. Se oplysninger, der offentliggøres af tilstødende LLDP-agenter
Vigtige punkter
- LLDP er som standard aktiveret på firmware version 9.2.0.2. Tidligere versioner af LLDP er som standard deaktiveret.
- Dell Networking-systemer understøtter op til otte naboer pr. interface.
- Dell Networking-systemer understøtter maksimalt 8.000 naboer pr. system. Hvis antallet af grænseflader multipliceret med otte overstiger maksimum, vil systemet ikke konfigurere mere end 8.000.
- Konfigurationer på grænsefladeniveau tilsidesætter alle konfigurationsniveauer.
Konfigurere LLDP
|
Kommando |
Formål |
|
|
Gå til konfigurationstilstand. |
|
|
Gå til LLDP-tilstand. |
|
|
Disable deaktiverer LLDP globalt. No disable aktiverer LLDP globalt. Da protokollen blev indført som "disabled", vil det negative i denne sætning slå protokollen til. |
|
|
Samme LLDP-tilstand findes på grænsefladeniveau. Alle specifikke LLDP-tilstandskommandoer på grænsefladeniveau tilsidesætter eventuelle globalt konfigurerede LLDP-parametre. |
Se 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
Se oplysninger, der offentliggøres af tilstødende LLDP-agenter
Vis kort information om tilstødende enheder.
show lldp neighbors
Vis alle de oplysninger, som naboer annoncerer.
show lldp neighbors detail
Eksempel på visning af kort information, der er annonceret af naboer
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
Eksempel på visning af detaljer, der er annonceret af naboer
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
---------------------------------------------------------------------------