mac
Commands for LLDP Function
125
Default: Disable the debug information on the port.
Command Mode: Admin Mode.
Usage Guide: When the debug switch is enabled, users can check the receiving and
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
7.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
7.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-Ethernet1/5)#lldp disable










