Cisco Systems 4500 Switch User Manual


  Open as PDF
of 1504
 
27-13
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 27 Configuring LLDP, LLDP-MED, and Location Service
Monitoring and Maintaining LLDP, LLDP-MED, and Location Service
This example shows how to enable NMSP on a switch and set the location notification time to 10
seconds:
Switch# configure terminal
Switch(config)# nmsp enable
Switch(config)# ip device tracking
Switch(config)# nmsp notification interval location 10
Switch(config)# end
Note Location service tracks IP devices only on Layer 2 and Layer 3 physical ports. IP devices that are
connected through SVIs or port-channels are not tracked and reported to the MSE.
Monitoring and Maintaining LLDP, LLDP-MED, and Location
Service
To monitor and maintain LLDP, LLDP-MED, and location service on your device, perform one or more
of the following commands in privileged EXEC mode:
Step 4
Switch(config)# nmsp notification
interval {attachment | location}
interval-seconds
Specifies the NMSP notification interval.
attachment—Specify the attachment notification interval.
location—Specify the location notification interval.
interval-seconds—Duration in seconds before a switch sends the
location or attachment updates to the MSE. The range is 1 to 30; the
default is 30.
Step 5
Switch(config)# interface interface-id
Specifies the interface on which you want to prevent all learned
attachment information from being sent to the MSE.
Step 6
Switch(config-if)# nmsp attachment
suppress
Prevents the attachment information learned on this interface from
being sent to the MSE.
Note Location service is intended for tracking end devices directly
connected to the switch. Please apply this command on all
trunk interfaces to avoid inaccurate tracking information.
Step 7
Switch# end
Returns to privileged EXEC mode.
Step 8
Switch# show nmsp notification
Verifies the notification interval configuration.
Step 9
Switch# show nmsp status
Verifies if NMSP is enabled.
Step 10
Switch# copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Command Purpose
Command Description
clear lldp counters
Resets the traffic and error counters to zero.
clear lldp table
Deletes the LLDP table of information about neighbors.
clear nmsp statistics
Clears the NMSP statistic counters.
show lldp
Displays global information, such as frequency of transmissions, the holdtime for
packets being sent, and the delay time for LLDP to initialize on an interface.