Enabling or Disabling LLDP on an Interface
Step 3
Step 4
Enabling or Disabling LLDP on an Interface
After you globally enable LLDP, it is enabled on all supported interfaces by default. However, you can enable
or disable LLDP on individual interfaces or selectively configure an interface to only send or only receive
LLDP packets.
Before You Begin
Make sure that you have globally enabled LLDP on the device.
Procedure
Step 1
Step 2
Step 3
Step 4
Cisco Nexus 9000 Series NX-OS System Management Configuration Guide, Release 6.x
212
Command or Action
show running-config lldp
Example:
switch(config)# show running-config
lldp
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
interface interface slot/port
Example:
switch(config)# interface ethernet
7/1
switch(config-if)#
[no] lldp transmit
Example:
switch(config-if)# lldp transmit
[no] lldp receive
Example:
switch(config-if)# lldp receive
Purpose
(Optional)
Displays the global LLDP configuration. If LLDP
is enabled, it shows "feature lldp." If LLDP is
disabled, it shows an "Invalid command" error.
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Enters global configuration mode.
Specifies the interface on which you are enabling
LLDP and enters the interface configuration mode.
Enables or disables the transmission of LLDP
packets on an interface. After you globally enable
LLDP, it is enabled on all supported interfaces by
default.
Enables or disables the reception of LLDP packets
on an interface. After you globally enable LLDP,
it is enabled on all supported interfaces by default.
Configuring LLDP