Enabling LLDP

You can enable or disable LLDP using the below command:

Reference

Command

lldp { disabled | rx-and-tx | rx-only | tx-only }

Description

Enable/Disable LLDP receive and transmit

Parameters

disabled Disable LLDP

rx-and-tx Enable Rx and Tx

rx-only Enable Rx-Only

tx-only Enable Tx-Only

Mode

INTERFACE

CLI Example

pbnoscli# configure terminal
pbnoscli(config)# interface ethernet Ethernet1/1
pbnoscli(config-if)# lldp 
  disabled              Disable LLDP
  rx-and-tx             Enable Rx and Tx
  rx-only               Enable Rx-Only
  tx-only               Enable Tx-Only
pbnoscli(config-if)# lldp rx-and-tx 
pbnoscli(config-if)# 

You can verify the configuration by using the command(s) below:

pbnoscli# sh running-config 
configure terminal
interface ethernet Ethernet1/1
lldp rx-and-tx
!
interface ethernet Ethernet2/1
lldp rx-only
!
interface ethernet Ethernet3/1
lldp disabled
!
interface mgmt
ip address 10.4.4.52/24 gateway 10.4.4.1
!
pbnoscli#