3 lldp function typical example, 4 lldp function troubleshooting, Lldp – PLANET XGS3-24042 User Manual
Page 108: Unction, Ypical, Xample, Roubleshooting

11-5
11.3 LLDP Function Typical Example
Figure 11-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
11.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.
Using “show” function of LLDP function can display the configuration information in global or port
configuration mode.