XGS-5240-Series User Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
120
debug lldp packets interface ethernet
<IFNAME>
no debug lldp packets interface ethernet
<IFNAME>
Enable or disable the DEBUG
packet-receiving and sending function in
port or global mode.
Port configuration mode
clear lldp remote-table
Clear Remote-table of the port.
13.3 LLDP Function Typical Example
Fig 5-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