lldp max-neighbors-per-port

Specifies the maximum number of Link Layer Discovery Protocol (LLDP) neighbors per port.
Syntax
lldp max-neighbors-per-port value
no lldp max-neighbors-per-port
Command Default

The default number of LLDP neighbors per port is 4.

Parameters
value
Specifies the number of LLDP neighbors for which LLDP data is retained for each port. The value can range from 1 through 64. The default value is 4.
Modes

Global configuration mode

Usage Guidelines

You can use the show lldp command to view the current configuration.

The no form of the command removes the configured value and restores the default value of 4.

Examples

The following example sets the number of LLDP neighbors per port to 6.

device(config)# lldp max-neighbors-per-port 6