mac

113
Parameters: send: Configure the LLDP function as only being able to send messages.
receive: Configure the LLDP function as only being able to receive messages.
both: Configure the LLDP function as being able to both send and receive messages.
disable: Configure the LLDP function as not being able to send or receive messages.
Default: The operating state of the port is ―both‖.
Command mode: Port Configuration Mode.
Usage Guide: Choose the operating state of the lldp Agent on the port.
Example: Configure the state of port ethernet 1/5 of the switch as ―receive‖.
Switch(config)#in ethernet 1/5
Switch(Config-If-Ethernet 1/5)#lldp mode receive
3.5.7 lldp msgTxHold
Command: lldp msgTxHold <value>
no lldp msgTxHold
Function: Set the multiplier value of the aging time carried by update messages sent by
the all ports with LLDP function enabled, the value ranges from 2 to 10.
Parameters: <value> is the aging time multiplier, ranging from 2 to 10.
Default: the value of the multiplier is 4 by default.
Command mode: Global Mode.
Usage Guide: After configuring the multiplier, the aging time is defined as the product of
the multiplier and the interval of sending messages, and its maximum value is 65535
seconds.
Example: Set the value of the aging time multiplier as 6.
Switch(config)#lldp msgTxHold 6
3.5.8 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