CLI ReferenceInterface Configuration Commands LLDP Configuration Commands
lldp enable
Enable the LLDP globally or on the interface. Use no form of this command to disable LLDP globally or
on the interface.
Global (or interface) configuration mode
LLDP takes effect on an interface only when LLDP is enabled globally.
Disable LLDP globally and on the interface:
Ruijie#configure terminal
Ruijie(config)#no lldp enable
Ruijie(config)#interface gigabitethernet 0/1
Ruijie(config-if-GigabitEthernet 0/1)# no lldp enable
Display LLDP status information
Only supported by switch products.
Configure the encapsulation format of LLDP packets. By default, Ethernet II encapsulation is used.
no lldp encapsulation snap
By default, Ethernet II encapsulation format is used.