LLDP Commands
[no] lldp
Enable/Disable LLDP global option
lldp hello‐time <5‐32768>
Set LLDP hello time which is the time interval between the transmission LLDP info packets. The range is from 5 to 32768 seconds.
Default is 30 seconds.
lldp hod‐time <2‐10>
Set LLDP hold time. The range is from 2 to 10. Default is 4.
lldp port <rx|tx|both> [<PORT‐LIST>]
Set LLDP port‐based receive and transmit packet mode.
Parameters:
<rx|tx|both> rx: the port only receive LLDP packets; tx: the port only transmit LLDP packets;
both: the port can receive and transmit LLDP packets.
[<PORT‐LIST>] specifies the ports to be set. If not specified, all ports are set.
no lldp port [<PORT‐LIST>]
Disable LLDP port‐based receive and transmit packet mode.
Parameters:
[<PORT‐LIST>] specifies the ports to be set. If not specified, all ports are set.
show lldp
Show the LLDP global option, all the ports configuration and the neighbor's information.
show lldp port [<PORT‐LIST>]
show LLDP port configuration and the neighbor's information..
Parameters:
[<PORT‐LIST>] specifies the ports to be set. If not specified, all ports are set.
An LLDP example refer to the figure in previous page, the following commands will be used:
lldp (for switch A & B)
lldp port both 8 (for switch A)
lldp port both 12 (for switch B)
show lldp port 8 (for switch A to see the switch B's LLDP info learned by Switch A)
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
Port8 Information
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
State
Pkt Tx
Pkt Rx
Neighbor Count
Neighbor 1 information
TTL Time
Class ID
Port ID
System Name
System Description
Port Description
Port SetSpeed
Port ActualSpeed
Port Link Aggregation
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
: RX and TX
: 3868
: 46409
: 1
: 5879
: 56:78:17:45:25:00
: port(12)
:
: VIA TEG‐S2620ISwitch v2.16
: Port 12
: Auto
: FULL‐100
: not support