debug lldp packets interface ethernet
<IFNAME>
no
debug
lldp
ethernet <IFNAME>
Port mode
clear lldp remote-table
7.3 LLDP Function Commands
7.3.1 lldp enable
Command:lldp enable
lldp disable
Function:Globally enable LLDP function; disable command globally disables LLDP
function.
Parameters:None.
Default:Disable LLDP functions.
Command Mode:Global mode.
Usage Guide: If LLDP function is globally enabled, it will be enabled on every port.
Example:Enable LLDP function on the switch.
Switch(config)#lldp enable
7.3.2 lldp enable(Port)
Command:lldp enable
lldp disable
Function:Enable the LLDP function module of ports in port configuration mode; disable
command will disable the LLDP function module of ports.
Parameters:None.
Default:The LLDP function module of ports is enabled by default in port configuration
mode.
Command Mode:Port configuration mode
Usage Guide:When LLDP is globally enabled, it will be enabled on every port. The
switch on a port is used to disable this function when it is unnecessary on the port.
Example:Disable LLDP function of port on the port ethernet 1/5 of the switch.
Switch(config)#in ethernet 1/5
packets
interface
Enable
or
disable
packet-receiving and sending function in
port or global mode.
Clear Remote-table of the port.
228
the
DEBUG