Enabling Or Disabling Lldp On An Interface - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring LLDP
Procedure
Step 1
Step 2
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
Step 5
Command or Action
switch# configure terminal
switch(config)# [no] feature lldp
switch(config)# show running-config
lldp
switch(config)# copy running-config
startup-config
Command or Action
switch# configure terminal
switch(config)# interface interface
slot/port
switch(config-if)# [no] lldp transmit
switch(config-if)# [no] lldp receive
switch(config-if)# show lldp
interface interface slot/port
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Enabling or Disabling LLDP on an Interface
Purpose
Enters global configuration mode.
Enables or disables LLDP on the device. LLDP is
disabled by default.
(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.
(Optional)
Displays the LLDP configuration on the interface.
363

Advertisement

Table of Contents
loading

Table of Contents