Hello friend!
To configure LLDP on the MA5600T, perform the following steps:
1. Run the lldp enable command to enable the global LLDP function.
2. Run the lldp port enable command to enable the port LLDP function. LLDP must be enabled on all ports that are connected to the devices. All LLDP-related configurations take effect only when both global LLDP and port LLDP are enabled.
3. Run the lldp management address command to configure the LLDP management address. Generally, the interface IP address for NMS management is set as the LLDP management address so the management interface IP addresses of the devices can be queried using the LLDP topology.
4. (Optional) Configure the LLDP parameters.
Note:
You are advised to configure the same LLDP parameters on all devices.
Run the lldp message-transmission interval command to configure the interval between sending LLDP notification packets.
Run the lldp message-transmission hold-multiplier command to configure the message hold multiplier. The message hold multiplier is used to calculate the TTL value of a sent packet. The system compares 65535 with hold-value x interval-value + 1, the smaller one is used as the TTL value.
Run the lldp restart-delay command to configure the delay for switching the global or port LLDP status. The delay controls the minimum interval for switching the global or port LLDP status so that the system burden does not increase due to frequently changes of the status.
5. (Optional) Configure the LLDP trap function.
Run the lldp trap enable command to enable the LLDP trap sending function.
Run the lldp trap interval command to configure the interval for a port enabled with Link Layer Discovery Protocol (LLDP) to send traps. After the interval is configured, the device will not send a large number of traps to trouble the NMS or subscribers.
6. Query the LLDP information.
Run the display lldp local command to query the local LLDP information, including the system information, LLDP configuration, number of remote neighbors and ports enabled with LLDP.
Run the display lldp neighbor [ portframeid/slotid/portid ] command to query the detailed neighbor information about the local device and port relationship between the neighbor device and local device.
Run the display lldp neighbor brief command to query the brief neighbor information.
Run the display lldp statistics command to query the packet statistics of all the ports or a specific port.
7. (Optional) Reset the LLDP information.
Run the reset lldp statistics command to clear the packet statistics of all the ports or a specific port.
Run the clear lldp neighbor command to clear the neighbor information about of all the ports or a specific port.
Thanks!