Chapter 26
Configuring LLDP, LLDP-MED, and Wired Location Service
Command
Step 3
nmsp notification interval {attachment |
location} interval-seconds
Step 4
end
Step 5
show network-policy profile
Step 6
copy running-config startup-config
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
Monitoring and Maintaining LLDP, LLDP-MED, and Wired
Location Service
To monitor and maintain LLDP, LLDP-MED, and wired location service on your device, perform one or
more of these tasks, beginning in privileged EXEC mode.
Command
clear lldp counters
clear lldp table
clear nmsp statistics
show lldp
show lldp entry entry-name
show lldp interface [interface-id]
show lldp neighbors [interface-id]
[detail]
show lldp traffic
show location admin-tag string
show location civic-location identifier id Display the location information for a specific global civic location.
OL-26520-01
Monitoring and Maintaining LLDP, LLDP-MED, and Wired Location Service
Purpose
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.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
Description
Reset the traffic counters to zero.
Delete the LLDP neighbor information table.
Clear the NMSP statistic counters.
Display global information, such as frequency of transmissions, the holdtime for
packets being sent, and the delay time before LLDP initializes on an interface.
Display information about a specific neighbor.
You can enter an asterisk (*) to display all neighbors, or you can enter the
neighbor name.
Display information about interfaces with LLDP enabled.
You can limit the display to a specific interface.
Display information about neighbors, including device type, interface type and
number, holdtime settings, capabilities, and port ID.
You can limit the display to neighbors of a specific interface or expand the display
for more detailed information.
Display LLDP counters, including the number of packets sent and received,
number of packets discarded, and number of unrecognized TLVs.
Display the location information for the specified administrative tag or site.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
26-11