30-10
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 30 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.
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-idSpecify 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.
Step 3 nmsp notification interval {attachment |
location} interval-seconds Specify the NMSP notification interval.
attachmentSpecify the attachment notification interval.
location—Specify the location notification interval.
interval-seconds—Duration in seconds before the switch sends the
MSE the location or attachment updates. The range is 1 to 30; the
default is 30.
Step 4 end Return to privileged EXEC mode.
Step 5 show network-policy profile Verify the configuration.
Step 6 copy running-config startup-config (Optional) Save your entries in the configuration file.