32-12
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
 
Chapter 32      Configuring LLDP, LLDP-MED, and Location Service
Configuring LLDP and LLDP-MED, and Location Service
This example shows how to enable LLDP power negotiation on interface Gigabit Ethernet 3/1:
Switch# config t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)# int gi 3/1
Switch(config-if)# lldp tlv-select power-management
Configuring Location TLV and Location Service
To configure location information for an end-point and to apply it to an interface, perform this task:
Step 3
Switch(config-if)# lldp tlv-select 
power-management
Enables LLDP power negotiation.
Step 4
Switch(config-if)# end
Returns to privileged EXEC mode.
Step 5
Switch# copy running-config 
startup-config
(Optional) Saves your entries in the configuration file.
Command Purpose
Command Purpose
Step 1
Switch# configure terminal
Enters global configuration mode.
Step 2
Switch(config)# location {admin-tag 
string | civic-location identifier id | 
elin-location string identifier id}
Specifies the location information for an endpoint.
• admin-tag—Specify an administrative tag or site information.
• civic-location—Specify civic location information.
Note The civic location identifier in the LLDP-MED TLV is 
limited to 250 bytes or less. To avoid receiving error 
messages regarding available buffer space during switch 
configuration, never allow the total length of all civic location 
information specified for each civic-location identifier to 
exceed 250 bytes.
• elin-location—Specify emergency location information (ELIN).
• identifier id—Specify the ID for the civic location.
• string—Specify the site or location information in alphanumeric 
format.
Step 3
Switch(config-civic)# exit
Returns to global configuration mode.
Step 4
Switch(config)# interface interface-id
Specifies the interface on which you are configuring the location 
information, and enter interface configuration mode.