21-7
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 21 Configuring LLDP and LLDP-MED
Monitoring and Maintaining LLDP and LLDP-MED
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
LLDP and Ethernet Flow Points (EFPs)
For LLDP to peer with a neighbor on a port that has an Ethernet Virtual Connection (EVC) EFP service
instance configured, you need to enter the l2 protocol peer lldp service-instance configuration
command on the service instance. See the
“Configuring Ethernet Virtual Connections (EVCs)”
chapter
for more information on EFPs.
This example shows how to configure Layer 2 protocol peer on a service instance:
Switch (config)#
interface gigabitethernet0/1
Switch (config-if)#
switchport mode trunk
Switch (config-if)#
switchport trunk allowed vlan none
Switch (config-if)#
service instance
1
Ethernet
Switch (config-if-srv)#
encapsulation untagged
Switch (config-if-srv)#
l2protocol peer lldp
Switch (config-if-srv)#
bridge-domain 10
Switch (config-if-srv)#
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.
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
Purpose
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.