30-9
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 30 Configuring LLDP, LLDP-MED, and Wired Location Service Configuring LLDP, LLDP-MED, and Wired Location Service
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 profile 1
Switch(config-network-policy)# voice vlan 100 cos 4
Switch(config)# exit
Switch# configure terminal
Switch# interface_id
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
Beginning in privileged EXEC mode, follow these steps to configure location information for an
endpoint and to apply it to an interface.
Step 7 lldp med-tlv-select network-policy Specify the network-policy TLV.
Step 8 end Return to privileged EXEC mode.
Step 9 show network-policy profile Verify the configuration.
Step 10 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 location {admin-tag string | civic-location
identifier id | elin-location string identifier
id}
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.
Step 3 exit Return to global configuration mode.
Step 4 interface interface-id Specify the interface on which you are configuring the location
information, and enter interface configuration mode.