
LLDP Function Operation Configuration
94
Port configuration mode
clear lldp remote-table
Clear Remote-table of the port.
9.3
LLDP Function Typical Example
Fig 9-1 LLDP Function Typical Configuration Example
In the network topology graph above, the port 1,3 of SWITCH B are connected to port
2,4 of SWITCH A. Port 1 of SWITCH B is configured to message-receiving-only mode,
Option TLV of port 4 of SWITCH A is configured as portDes and SysCap.
SWITCH A configuration task sequence:
SwitchA(config)# lldp enable
SwitchA(config)#interface ethernet 1/0/4
SwitchA(Config-If-Ethernet1/0/4)#lldp transmit optional tlv portDesc sysCap
SwitchA(Config-If-Ethernet1/0/4)exit
SWITCH B configuration task sequence:
SwitchB(config)#lldp enable
SwitchB(config)#interface ethernet1/0/1
SwitchB(Config-If-Ethernet1/0/1)#lldp mode receive
SwitchB(Config-If-Ethernet1/0/1)#exit
9.4
LLDP Function Troubleshooting
LLDP function is disabled by default. After enabling the global switch of LLDP, users
can enable the debug switch ―
debug lldp
‖ simultaneously to check debug
information.