LLDP

Created: Jun 28, 2019 17:17:30Latest reply: Jun 28, 2019 17:27:35 32 1 0 0
  Rewarded Hi-coins: 0 (problem resolved)

How Can a Device Discover Neighbors?


  • x
  • convention:

Featured Answers
MVE Created Jun 28, 2019 17:27:35 Helpful(0) Helpful(0)

Hi
Please find the details

LDP configuration (Huawei)



LDP configuration (Huawei)


 
The Link Layer Discovery Protocol (LLDP) is a standard Layer 2 topology discovery protocol defined in IEEE 802.1ab. LLDP allows a device to send local management information such as management IP address, device ID, and port ID to neighbors. LLDP provides a standard link-layer discovery method. Layer 2 information obtained through LLDP allows the NMS (Network Management System) to detect the topology of neighboring devices. Details, such as device capabilities or device identity can be advertised using this protocol.
 
Enabling global LLDP on Switch:
<Switch>system-view
[Switch]lldp enable
 
Interval for sending LLDP packets- When the LLDP status of a device keeps unchanged, the device sends LLDP packets to its neighbors at a certain interval. The value of interval ranges from 5 to 32768. Increasing the value of interval is not restricted by the value of delay.
Delay in sending LLDP packets- If the device status changes frequently, a delay is required before the device sends an LLDP packet to its neighbors. The value of delay ranges from 1 to 8192. Decreasing the value of delay is not restricted by the value of interval.
Hold time multiplier of device information on neighbors- The hold time multiplier is used to calculate the Time to Live (TTL), which determines how long device information can be saved on the neighbors. You can specify the hold time of device information on the neighbors. After receiving an LLDP packet, a neighbor updates the aging time of the device information from the sender based on the TTL.
The storage time calculation formula is: TTL = Min (65535, (interval x hold)).
 
To configure the interval for sending LLDP packets Run:
lldp message-transmission interval interval
Note: The default interval for sending LLDP packets is 30 seconds.
 
To delay in sending LLDP packets in Run:
lldp message-transmission delay delay
 
To delay in sending LLDP packets in Run:
lldp message-transmission delay delay
Note: The default delay in sending LLDP packets is 2 seconds.
 
To configure the hold-multiplier of device stored on neignbors Run:
lldp message-transmission hold-multiplier hold
Note: The default hold time multiplier is 4
 
Config verification:
  • Run the display lldp localinterface interface-type interface-number ] command to view LLDP local information on a specified interface or all interfaces.
  • Run the display lldp neighborinterface interface-type interface-number ] command to view neighbor information in the system or on an interface.
  • Run the display lldp neighbor briefcommand to view brief information about neighbors.
 
In routine maintenance, you can run the following commands in any view to check the LLDP status.
  • Run the display lldp statisticsinterface interface-type interface-number ] command to view statistics about sent and received LLDP packets in the system or on an interface.
  • Run the display cdp statisticsinterface interface-type interface-number ] command to view statistics about sent and received CDP packets in the system or on an interface.
 
[SwitchA] display lldp neighbor brief
Local Intf   Neighbor Dev             Neighbor Intf             Exptime(s)
GE1/0/1      SwitchB                  GE1/0/1                   101
[SwitchB] display lldp neighbor brief
Local Intf   Neighbor Dev             Neighbor Intf             Exptime(s)
GE1/0/1      SwitchA                  GE1/0/1                   101
  • x
  • convention:

Yogendra%20Jain
All Answers
yogijain MVE Created Jun 28, 2019 17:27:35 Helpful(0) Helpful(0)

Hi
Please find the details

LDP configuration (Huawei)



LDP configuration (Huawei)


 
The Link Layer Discovery Protocol (LLDP) is a standard Layer 2 topology discovery protocol defined in IEEE 802.1ab. LLDP allows a device to send local management information such as management IP address, device ID, and port ID to neighbors. LLDP provides a standard link-layer discovery method. Layer 2 information obtained through LLDP allows the NMS (Network Management System) to detect the topology of neighboring devices. Details, such as device capabilities or device identity can be advertised using this protocol.
 
Enabling global LLDP on Switch:
<Switch>system-view
[Switch]lldp enable
 
Interval for sending LLDP packets- When the LLDP status of a device keeps unchanged, the device sends LLDP packets to its neighbors at a certain interval. The value of interval ranges from 5 to 32768. Increasing the value of interval is not restricted by the value of delay.
Delay in sending LLDP packets- If the device status changes frequently, a delay is required before the device sends an LLDP packet to its neighbors. The value of delay ranges from 1 to 8192. Decreasing the value of delay is not restricted by the value of interval.
Hold time multiplier of device information on neighbors- The hold time multiplier is used to calculate the Time to Live (TTL), which determines how long device information can be saved on the neighbors. You can specify the hold time of device information on the neighbors. After receiving an LLDP packet, a neighbor updates the aging time of the device information from the sender based on the TTL.
The storage time calculation formula is: TTL = Min (65535, (interval x hold)).
 
To configure the interval for sending LLDP packets Run:
lldp message-transmission interval interval
Note: The default interval for sending LLDP packets is 30 seconds.
 
To delay in sending LLDP packets in Run:
lldp message-transmission delay delay
 
To delay in sending LLDP packets in Run:
lldp message-transmission delay delay
Note: The default delay in sending LLDP packets is 2 seconds.
 
To configure the hold-multiplier of device stored on neignbors Run:
lldp message-transmission hold-multiplier hold
Note: The default hold time multiplier is 4
 
Config verification:
  • Run the display lldp localinterface interface-type interface-number ] command to view LLDP local information on a specified interface or all interfaces.
  • Run the display lldp neighborinterface interface-type interface-number ] command to view neighbor information in the system or on an interface.
  • Run the display lldp neighbor briefcommand to view brief information about neighbors.
 
In routine maintenance, you can run the following commands in any view to check the LLDP status.
  • Run the display lldp statisticsinterface interface-type interface-number ] command to view statistics about sent and received LLDP packets in the system or on an interface.
  • Run the display cdp statisticsinterface interface-type interface-number ] command to view statistics about sent and received CDP packets in the system or on an interface.
 
[SwitchA] display lldp neighbor brief
Local Intf   Neighbor Dev             Neighbor Intf             Exptime(s)
GE1/0/1      SwitchB                  GE1/0/1                   101
[SwitchB] display lldp neighbor brief
Local Intf   Neighbor Dev             Neighbor Intf             Exptime(s)
GE1/0/1      SwitchA                  GE1/0/1                   101
  • x
  • convention:

Yogendra%20Jain

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top