Chapter 26
Configuring LLDP, LLDP-MED, and Wired Location Service
Command
Step 5
interface interface-id
Step 6
network-policy profile number
Step 7
lldp med-tlv-select network-policy
Step 8
end
Step 9
show network-policy profile
Step 10
copy running-config startup-config
Use the no form of each command to return to the default setting.
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:
Switch(config-network-policy)# voice vlan dot1p cos 4
Switch(config-network-policy)# voice vlan dot1p dscp 34
Configuring Location TLV and Wired Location Service
To use wired location service, the switch must be running the LAN Base image.
Note
Beginning in privileged EXEC mode, follow these steps to configure location information for an
endpoint and to apply it to an interface.
Command
Step 1
configure terminal
Step 2
location {admin-tag string | civic-location
identifier id | elin-location string identifier
id}
Step 3
exit
OL-26520-01
Purpose
Specify the interface on which you are configuring a network-policy
profile, and enter interface configuration mode.
Specify the network-policy profile number.
Specify the network-policy TLV.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Specify the location information for an endpoint.
admin-tag—Specify an administrative tag or site information.
•
civic-location—Specify civic location information.
•
elin-location—Specify emergency location information (ELIN).
•
identifier id—Specify the ID for the civic location.
•
string—Specify the site or location information in alphanumeric
•
format.
Return to global configuration mode.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
Configuring LLDP, LLDP-MED, and Wired Location Service
26-9