Verifying The Lldp Configuration - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Configuring LLDP
Step 7
Step 8

Verifying the LLDP Configuration

To display the LLDP configuration, perform one of the following tasks:
Command
show running-config lldp
show lldp interface interface slot/port
show lldp timers
show lldp tlv-select
show lldp dcbx interface interface slot/port
show lldp neighbors {detail | interface interface
slot/port}
show lldp traffic
show lldp traffic interface interface slot/port
Use the clear lldp counters command to clear the LLDP statistics.
Configuration Example for LLDP
This example shows how to enable LLDP on a device; disable LLDP on some interfaces; configure optional
parameters such as hold time, delay time, and update frequency; and disable several LLDP TLVs:
switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# feature lldp
switch(config)# interface ethernet 7/9
switch(config-if)# no lldp transmit
switch(config-if)# no lldp receive
switch(config-if)# exit
switch(config)# interface ethernet 7/10
Command or Action
switch(config)# show lldp
tlv-select
switch(config)# copy
running-config startup-config
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Verifying the LLDP Configuration
Purpose
(Optional)
Displays the LLDP TLV configuration.
(Optional)
Copies the running configuration to the startup configuration.
Purpose
Displays the global LLDP configuration.
Displays the LLDP interface configuration.
Displays the LLDP hold time, delay time, and update
frequency configuration.
Displays the LLDP TLV configuration.
Displays the local DCBX control status.
Displays the LLDP neighbor device status.
Displays the LLDP counters, including the number
of LLDP packets sent and received by the device, the
number of discarded packets, and the number of
unrecognized TLVs.
Displays the number of LLDP packets sent and
received on the interface.
365

Advertisement

Table of Contents
loading

Table of Contents