beautypg.com

Chapter 8 commands for lldp function, 1 lldp enable, 2 lldp enable (port) – PLANET XGS3-24040 User Manual

Page 135: Lldp enable

background image

8-1

Chapter 8 Commands for LLDP

Function

8.1 lldp enable

Command:

lldp enable

lldp disable

Function:

Globally enable LLDP function; the no operation of this 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

8.2 lldp enable (Port)

Command:

lldp enable

lldp disable

Function:

Enable the LLDP function module of ports in port configuration mode; the no operation of this

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