26-10
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 26 Configuring LLDP, LLDP-MED, and Wired Location Service
Configuring LLDP, LLDP-MED, and Wired Location Service
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(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
Beginning in privileged EXEC mode, follow these steps to enable wired location service on the switch.
Note Your switch must be running the cryptographic (encrypted) software image to enable the nmsp global
configuration commands.
Step 4 interface interface-id Specify the interface on which you are configuring the location
information, and enter interface configuration mode.
Step 5 location {additional-location-information
word | civic-location-id id | elin-location-id
id}
Enter location information for an interface:
additional-location-information—Specify additional information
for a location or place.
civic-location-id—Specify global civic location information for an
interface.
elin-location-id—Specify emergency location information for an
interface.
id—Specify the ID for the civic location or the ELIN location. The ID
range is 1 to 4095.
word—Specify a word or phrase with additional location
information.
Step 6 end Return to privileged EXEC mode.
Step 7 show location Verify the configuration.
Step 8 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 nmsp enable Enable the NMSP features on the switch.