25-11
Catalyst 2975 Switch Software Configuration Guide
OL-19720-02
Chapter 25 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.
This example shows how to enable NMSP on a switch and to set the location notification time to 10
seconds:
Switch(config)#
nmsp enable
Switch(config)#
nmsp notification interval location 10
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.
attachment
—Specify 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.