Configuring an LLDP profile to an interface

You can assign only one LLDP profile to an interface. If you do not use the lldp profile option at the interface level, the interface uses the global LLDP configuration.

To configure LLDP interface-level command options, perform the following steps.

  1. In privileged EXEC mode, access global configuration mode.
    device# configure terminal
  2. Access the interface configuration mode.
    device(config)# interface Ethernet 0/8
  3. Apply an LLDP profile to the interface.
    device(conf-if-eth-0/8)# lldp profile network_standard
  4. Return to privileged EXEC mode.
    device(conf-if-eth-0/8)# end
  5. Save the running-config file to the startup-config file.
    device# copy running-config startup-config

Example

The following configuration is an example of the previous steps.

device# configure terminal
device(config)# interface Ethernet 0/8
device(conf-if-eth-0/8)# lldp profile network_standard