Cisco Systems 310 Switch User Manual


  Open as PDF
of 1216
 
27-7
Cisco Catalyst Switch Module 3110 and 3012 for IBM BladeCenter Software Configuration Guide
OL-12189-01
Chapter 27 Configuring LLDP and LLDP-MED
Monitoring and Maintaining LLDP and LLDP-MED
Beginning in privileged EXEC mode, follow these steps to enable a TLV on an interface:
This example shows how to enable a TLV on an interface when it has been disabled.
Switch# configure terminal
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)# lldp med-tlv-select inventory management
Switch(config-if)# end
Monitoring and Maintaining LLDP and LLDP-MED
To monitor and maintain LLDP and LLDP-MED on your device, perform one or more of these tasks,
beginning in privileged EXEC mode.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Specify the interface on which you are configuring an LLDP-MED
TLV, and enter interface configuration mode.
Step 3
lldp med-tlv-select tlv Specify the TLV to enable.
Step 4
end Return to privileged EXEC mode.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Description
clear lldp counters Reset the traffic counters to zero.
clear lldp table Delete the LLDP table of information about neighbors.
show lldp Display global information, such as frequency of transmissions, the holdtime for
packets being sent, and the delay time for LLDP to initialize on an interface.
show lldp entry entry-name Display information about a specific neighbor.
You can enter an asterisk (*) to display all neighbors, or you can enter the name
of the neighbor about which you want information.
show lldp interface [interface-id] Display information about interfaces where LLDP is enabled.
You can limit the display to the interface about which you want information.
show lldp neighbors [interface-id]
[detail]
Display information about neighbors, including device type, interface type and
number, holdtime settings, capabilities, and port ID.
You can limit the display to neighbors of a specific interface or expand the display
to provide more detailed information.
show lldp traffic Display LLDP counters, including the number of packets sent and received,
number of packets discarded, and number of unrecognized TLVs.