Comment activer et gérer le protocole de découverte de la couche de liaison (Link Layer Discovery Protocol, LLDP) sur les commutateurs réseau Dell Networking Force10
Summary: configurer LLDP sur le commutateur Dell FTOS, configurer LLDP sur Dell OS9
Instructions
Cet article explique comment activer et gérer le protocole de découverte de la couche de liaison (Link Layer Discovery Protocol, LLDP) sur les commutateurs réseau Dell Networking Force10.
Objectifs
1. Points importants à ne pas oublier2. Configurer LLDP
2. Afficher la configuration du protocole LLDP
4. Afficher les informations annoncées par les agents LLDP adjacents
Points importants à ne pas oublier
- LLDP est activé par défaut à partir de la version de micrologiciel 9.2.0.2. Les versions antérieures du protocole LLDP sont désactivées par défaut.
- Les systèmes Dell Networking prennent en charge jusqu’à huit voisins par interface.
- Les systèmes Dell Networking peuvent prendre en charge un maximum de 8 000 voisins par système. Si le nombre d’interfaces multiplié par huit dépasse ce maximum, le système ne permet pas d’en configurer plus de 8 000.
- Les configurations au niveau de l’interface remplacent toutes les configurations de la configuration de base.
Configurer LLDP
|
Commande |
Objectif |
|
FTOS# configure |
Accéder au mode de configuration. |
|
FTOS(config)# protocol LLDP |
Accéder au mode LLDP. |
|
FTOS(config-lldp)# no disable |
« Disable » désactive le protocole LLDP globalement. « No disable » active le protocole LLDP globalement. Étant donné que le protocole a été introduit en tant que « désactivé », la forme négative de cette instruction active le protocole. |
|
FTOS(conf-if-te-0/10)#protocol lldp |
Le même mode LLDP se trouve au niveau de l’interface. Toutes les commandes du mode LLDP spécifiées au niveau de l’interface annulent les paramètres LLDP configurés globalement. |
Afficher la configuration du protocole 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)#
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
Dell(conf-if-gi-1/31-lldp)#
Afficher les informations annoncées par les agents LLDP adjacents
Afficher des informations sommaires sur des appareils adjacents.
show lldp neighbors.
Afficher toutes les informations que les voisins annoncent.
show lldp neighbors detail
Exemple d’affichage d’informations sommaires annoncées par les voisins
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 (conf-if-te-0/3)#
Exemple d’affichage des informations annoncées par les voisins
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
---------------------------------------------------------------------------