Chapter 29
Configuring LLDP, LLDP-MED, and Location Service
Command
Step 5
Switch(config-if)# location
{additional-location-information word |
civic-location-id id | elin-location-id
id}
Step 6
Switch(config-if)# end
Step 7
Switch# show location
Step 8
Switch# copy running-config
startup-config
Use the no form of each command to return to the default setting.
This example shows how to configure civic location information on the switch:
Switch# configure terminal
Switch(config)# location civic-location identifier 1
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
Switch(config-civic)# end
To enable location service on the switch, perform this task:
Note
Your switch must be running the cryptographic (encrypted) software image in order to enable the
location service feature. Your Cisco Mobility Service Engine (MSE) must be running Heitz 6.0 or later
software image to support wired location service
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# nmsp enable
Step 3
Switch(config)# ip device tracking
OL-25340-01
Configuring LLDP and LLDP-MED, and Location Service
Purpose
Enters location information for an interface:
additional-location-information—Specifies additional information
for a location or place.
civic-location-id—Specifies global civic location information for an
interface.
elin-location-id—Specifies emergency location information for an
interface.
id—Specifies the ID for the civic location or the ELIN location. The
ID range is 1 to 4095.
word—Specifies a word or phrase that provides additional location
information.
Returns to privileged EXEC mode.
Verifies the configuration.
(Optional) Saves your entries in the configuration file.
Purpose
Enters global configuration mode.
Enables the NMSP features on the switch.
Enables IP device tracking.
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
29-13