Configuring LLDP, LLDP-MED, and Wired Location Service

Monitoring and Maintaining LLDP, LLDP-MED, and Wired Location Service

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.

Command

Description

clear lldp counters

Resets the traffic counters to zero.

clear lldp table

Deletes the LLDP neighbor information table.

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 before LLDP initializes on an

 

interface.

show lldp entry entry-name

Displays information about a specific neighbor.

 

You can enter an asterisk (*) to display all neighbors,

 

or you can enter the neighbor name.

show lldp interface [interface-id]

Displays information about interfaces with LLDP

 

enabled.

 

You can limit the display to a specific interface.

show lldp neighbors [interface-id] [detail]

Displays 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.

show lldp traffic

Displays LLDP counters, including the number of

 

packets sent and received, number of packets

 

discarded, and number of unrecognized TLVs.

show location admin-tag string

Displays the location information for the specified

 

administrative tag or site.

 

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

68

OL-29034-01

Page 80
Image 80
Cisco Systems WSC2960X48TDL manual Command Description