105
Command Mode: Port Configuration Mode.
Usage Guide: When configuring the optional TLV, each TLV can only appear once in a
message, portDesc optional TLV represents the name of local port; sysName optional
TLV represents the name of local system; sysDesc optional TLV represents the
description of local system; sysCap optional TLV represents the capability of local
system.
Example: Configure that port ethernet 1/5 of the switch carries portDesc and sysCap TLV.
Switch(config)#in ethernet 1/5
Switch(Config-if-ethernet 1/5)# lldp transmit optional tlv portDesc sysCap
7.10 lldp neighbors max-num
Command: lldp neighbors max-num < value >
no lldp neighbors max-num
Function: Set the maximum number of entries can be stored in Remote MIB.
Parameters: <value> is the configured number of entries, ranging from 5 to 500.
Default: The maximum number of entries can be stored in Remote MIB is 100.
Command Mode: Port Configuration Mode.
Usage Guide: The maximum number of entries can be stored in Remote MIB.
Example: Set the Remote as 200 on port ethernet 1/5 of the switch.
Switch(config)#in ethernet 1/5
Switch(Config-if-ethernet 1/5)# lldp neighbors max-num 200
7.11 lldp tooManyNeighbors
Command: lldp tooManyNeighbors {discard|delete}
Function: Set which operation will be done when the Remote Table is full.
Parameters: discard: discard the current message.
delete: Delete the message with the least TTL in the Remoter Table.
Default: Discard.
Command Mode: Port Configuration Mode.
Usage Guide: When the Remote MIB is full, Discard means to discard the received
message; Delete means to the message with the least TTL in the Remoter Table.
Example: Set port ethernet 1/5 of the switch as delete.
Switch(config)#in ethernet 1/5
Switch(Config-if-ethernet 1/5)# lldp tooManyNeighbors delete