Usage Scenario
To view the Layer 2 link status
or analyze network topology, run the lldp enable command.
Configuration Impact
After LLDP is enabled
globally, the device sends its own status information to LLDP-enabled
neighbors and receives the status information from the neighbors.
Precautions
After the global LLDP is disabled, the
LLDP configuration is deleted from all interfaces.
The interval between enabling LLDP globally and disabling LLDP cannot
be shorter than 10 seconds; otherwise, an error message is displayed.
LLDP can be enabled in the system view and the interface view.
- After LLDP is enabled in the system view, all interfaces are enabled
with LLDP.
- After LLDP is disabled in the system view, all LLDP settings are
restored to the default settings except the setting of LLDP trap.
Therefore, LLDP is also disabled on all interfaces.
- An interface can send and receive LLDP packets only after LLDP
is enabled in both the system view and the interface view.
- After LLDP is disabled globally, the commands for enabling and
disabling LLDP on an interface do not take effect.
For the device running a version earlier than V200R011C10SPC200:
- By default, LLDP is disabled globally, and the configuration file
does not have the undo lldp enable configuration.
After the device is upgraded to V200R011C10SPC200 or a later version,
the configuration file has the undo lldp enable configuration.
- If lldp enable has been executed to enable
LLDP globally, the configuration file has the lldp enable configuration. After the device is upgraded to V200R011C10SPC200
or a later version, the configuration file no longer has the lldp enable configuration.
The status of global LLDP does not change after the device is
upgraded.