mac
112
sending of packets and other information on the port.
Example: Enable the debug switch of LLDP function on the switch.
Switch#debug lldp packets interface ethernet 1/1
%Jan 01 00:02:40 2006 LLDP-PDU-TX PORT= ethernet 1/1
3.5.4 lldp enable
Command: lldp enable
lldp disable
Function: Globally enable LLDP function; disable command globally disables LLDP
function.
Parameters: None.
Default: Disable LLDP function.
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
3.5.5 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 port.
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
Switch(Config-If-Ethernet 1/5)#lldp disable
3.5.6 lldp mode
Command: lldp mode <send | receive | both | disable>
Function: Configure the operating state of LLDP function of the port.










