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.
Switch(config-civic)# number 3550
Switch(config-civic)# primary-road-name "Cisco
Way"
Switch(config-civic)# city "San Jose"
Switch(config-civic)# state CA
Switch(config-civic)# building 19
Switch(config-civic)# room C6
Switch(config-civic)# county "Santa Clara"
Switch(config-civic)# country US
• geo-location—Specifies geo-spatial location information.
• identifier id—Specifies the ID for the civic, ELIN,
custom, or geo location.
• host—Specifies the host civic, custom, or geo location.
• string—Specifies the site or location information in
alphanumeric format.
Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1
66 OL-29420-01
Configuring LLDP, LLDP-MED, and Wired Location Service
Configuring Location TLV and Wired Location Service