Enabling or Disabling LLDP
Global LLDP Setting
Transmit and Receive Control
© Copyright Lenovo 2015
By default, LLDP is enabled on the CN4093. To turn LLDP off or on, use the
following command:
CN4093(config)# [no] lldp enable
The CN4093 can also be configured to transmit or receive LLDP information on a
port‐by‐port basis. By default, when LLDP is globally enabled on the switch,
CN4093 ports transmit and receive LLDP information (see the tx_rx option
below). To change the LLDP transmit and receive state, the following commands
are available:
CN4093(config)# interface port <x>
CN4093(configif)# lldp adminstatus tx_rx
CN4093(configif)# lldp adminstatus tx_only
CN4093(configif)# lldp adminstatus rx_only
CN4093(configif)# no lldp adminstatus
CN4093(configif)# exit
To view the LLDP transmit and receive status, use the following commands:
CN4093(config)# show lldp port
CN4093(config)# show interface port <n> lldp
(Turn LLDP on or off globally)
(Select a switch port)
(Transmit and receive LLDP)
(Only transmit LLDP)
(Only receive LLDP)
(Do not participate in LLDP)
(Exit port mode)
(status of all ports)
(status of selected port)
Chapter 36: Link Layer Discovery Protocol
491