mac
Commands for LLDP Function
129
Switch(Config-If-Ethernet1/5)# lldp transmit optional tlv portDesc sysCap
7.13 lldp trap
Command: lldp trap <enable | disable>
Function: enable: configure to enable the Trap function on the specified port; disable:
configure to disable the Trap function on the specified port.
Parameters: None.
Default: The Trap function is disabled on the specified port by default.
Command Mode: Port Configuration Mode.
Usage Guide: The function of sending Trap messages is enabled on the port.
Example: Enable the Trap function on port ethernet 1/5 of the switch.
Switch(config)#in ethernet1/5
Switch(Config-If-Ethernet1/5)#lldp trap enable
7.14 lldp tx-interval
Command: lldp tx-interval <integer>
no lldp tx-interval
Function: Set the interval of sending update messages on all the ports with LLDP
function enabled, the value of which ranges from 5 to 32768 seconds and is 30 seconds
by default.
Parameters: <integer> is the interval of sending updating messages, ranging from 5 to
32768 seconds.
Default: 30 seconds.
Command Settings: Global Mode.
Usage Guide: After configuring the interval of sending messages, LLDP messages can
only be received after a period as long as configured. The interval should be less than or
equal with half of aging time, for a too long interval will cause the state of being aged and
reconstruction happen too often; while a too short interval will increase the flow of the
network and decrease the bandwidth of the port. The value of the aging time of
messages is the product of the multiplier and the interval of sending messages. The
maximum aging time is 65535 seconds.
When tx-interval is the default value and transmit delay is configured via some
commands, tx-interval will become four times of the latter, instead of the default 40.
Example: Set the interval of sending messages as 40 seconds.
Switch(config)#lldp tx-interval 40










