31-9
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 31 Configuring LLDP, LLDP-MED, and Wired Location Service
Configuration Examples for Configuring 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/1
Switch(config-if)# lldp transmit
Switch(config-if)# lldp receive
Switch(config-if)# end

Configuring LDP Parameters: Examples

This example shows how to configure LLDP parameters:
Switch# configure terminal
Switch(config)# lldp holdtime 120
Switch(config)# lldp reinit 2
Switch(config)# lldp timer 30
Switch(config)# end

Configuring TLV: Example

This example shows how to enable a TLV on an interface:
Switch# configure terminal
Switch(config)# interface gigabitethernet1/1
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.
Command Description