Configure LLDP

Procedure

  1. Enable LLDP.
    • To enable LLDP globally, perform step 2.
    • To enable LLDP at the interface level, go to step 4.
  2. Enter the global configuration mode and enable LLDP globally.
    device# configure terminal
    device(config)# protocol lldp
  3. Optional: Disable LLDP globally.
    device(config)# no protocol lldp
  4. Enter the interface configuration mode and enable LLDP at the interface level.
    device# configure terminal
    device(config)# interface ethernet 0/2
    device(conf-if-eth-0/2)# lldp enable
  5. Optional: Disable LLDP at the interface level.
    device(conf-if-eth-1/2)# no lldp enable