Configuring Location TLV and Wired Location Service
Beginning in privileged EXEC mode, follow these steps to configure location information for an endpoint
and to apply it to an interface.
SUMMARY STEPS
1.
configure terminal
2.
location {admin-tag string | civic-location identifier {id | host} | elin-location string identifier id |
custom-location identifier {id | host} | geo-location identifier {id | host}}
3.
exit
4.
interface interface-id
5.
location {additional-location-information word | civic-location-id {id | host} | elin-location-id id |
custom-location-id {id | host} | geo-location-id {id | host} }
6.
end
7.
Use one of the following:
•
show location admin-tag string
•
show location civic-location identifier id
•
show location elin-location identifier id
8.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Specifies the location information for an endpoint.
location {admin-tag string | civic-location identifier
{id | host} | elin-location string identifier id |
Step 2
• admin-tag—Specifies an administrative tag or site
information.
custom-location identifier {id | host} | geo-location
identifier {id | host}}
Example:
Switch(config)# location civic-location
identifier 1
• civic-location—Specifies civic location information.
• elin-location—Specifies emergency location information
(ELIN).
• custom-location—Specifies custom location information.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
70
How to Configure LLDP, LLDP-MED, and Wired Location Service