494
Configuring LLDP, LLDP-MED, and Wired Location Service
Monitoring and Maintaining LLDP, LLDP-MED, and Wired Location Service
Monitoring and Maintaining LLDP, LLDP-MED, and Wired
Location Service
Configuration Examples for Configuring LLDP, LLDP-MED, and
Wired Location Service
Enabling LLDP: Examples
This example shows how to globally enable LLDP:
Switch# configure terminal
Switch(config)# lldp run
Switch(config)# end
This example shows how to enable LLDP on an interface:
Switch# configure terminal
Switch(config)# interface GigabitEthernet1/17
Switch(config-if)# lldp transmit
Switch(config-if)# lldp receive
Switch(config-if)# end
Command Description
clear lldp counters Resets the traffic counters to zero.
clear lldp table Deletes the LLDP neighbor information table.
clear nmsp statistics Clears the NMSP statistic counters.
show lldp Displays global information, such as frequency of transmissions, the holdtime for
packets being sent, and the delay time before LLDP initializes on an interface.
show lldp entry
entry-name Displays information about a specific neighbor.
You can enter an asterisk (*) to display all neighbors, or you can enter the
neighbor name.
show lldp interface [interface-id] Displays information about interfaces with LLDP enabled.
You can limit the display to a specific interface.
show lldp neighbors [interface-id]
[detail]
Displays 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
for more detailed information.
show lldp traffic Displays LLDP counters, including the number of packets sent and received,
number of packets discarded, and number of unrecognized TLVs.
show location admin-tag string Displays the location information for the specified administrative tag or site.
show location civic-location identifier
id
Displays the location information for a specific global civic location.
show location elin-location identifier id Displays the location information for an emergency location.
show network-policy profile Displays the configured network-policy profiles.
show nmsp Displays the NMSP information.