Configuring LLDP, LLDP-MED, and Wired Location Service

Configuration Examples for LLDP, LLDP-MED, and Wired Location Service

 

Command or Action

Purpose

Step 2

nmsp enable

Enables the NMSP features on the switch.

 

Example:

 

 

Switch(config)# nmsp enable

 

Step 3

nmsp notification interval {attachment location}

 

interval-seconds

Example:

Switch(config)# nmsp notification interval location 10

Step 4

end

Example:

Switch(config)# end

Specifies the NMSP notification interval.

attachmentSpecifies the attachment notification interval.

locationSpecifies the location notification interval.

interval-secondsDuration in seconds before the switch sends the MSE the location or attachment updates. The range is 1 to 30; the default is 30.

Returns to privileged EXEC mode.

Step 5

show network-policy profile

Verifies the configuration.

Example:

Switch# show network-policy profile

Step 6

copy running-config startup-config

(Optional) Saves your entries in the configuration file.

Example:

Switch# copy running-config startup-config

Configuration Examples for LLDP, LLDP-MED, and Wired Location Service

Configuring Network-Policy TLV: Examples

This example shows how to configure VLAN 100 for voice application with CoS and to enable the network-policy profile and network-policy TLV on an interface:

Switch# configure terminal

Switch(config)# network-policy 1

Switch(config-network-policy)# voice vlan 100 cos 4

Catalyst 2960-X Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX

OL-29034-01

67

Page 79
Image 79
Cisco Systems WSC2960X48TDL Configuring Network-Policy TLV Examples, Nmsp enable Enables the Nmsp features on the switch