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
Switch(config-network-policy)# exit
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)# network-policy profile 1
Switch(config-if)# lldp med-tlv-select network-policy
This example shows how to configure the voice application type for the native VLAN with priority tagging:
Switchconfig-network-policy)# voice vlan dot1p cos 4
Switchconfig-network-policy)# voice vlan dot1p dscp 34
Monitoring and Maintaining LLDP, LLDP-MED, and Wired Location Service
Commands for monitoring and maintaining LLDP, LLDP-MED, and wired location service.
DescriptionCommand
Resets the traffic counters to zero.clear lldp counters
Deletes the LLDP neighbor information table.clear lldp table
Clears the NMSP statistic counters.clear nmsp statistics
Displays global information, such as frequency of
transmissions, the holdtime for packets being sent,
and the delay time before LLDP initializes on an
interface.
show lldp
Displays information about a specific neighbor.
You can enter an asterisk (*) to display all neighbors,
or you can enter the neighbor name.
show lldp entry entry-name
Displays information about interfaces with LLDP
enabled.
You can limit the display to a specific interface.
show lldp interface [interface-id]
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
74
Configuration Examples for LLDP, LLDP-MED, and Wired Location Service