Cisco Systems 2960 Manual De Usuario

Descargar
Página de 1004
 
26-9
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 26      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 1
Switch(config-network-policy)# voice vlan 100 cos 4
Switch(config-network-policy)# exit
Switch(config)# interface gigabitethernet0/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
Note
To use wired location service, the switch must be running the LAN Base image.
Beginning in privileged EXEC mode, follow these steps to configure location information for an 
endpoint and to apply it to an interface.
Step 5
interface interface-id
Specify the interface on which you are configuring a network-policy 
profile, and enter interface configuration mode.
Step 6
network-policy profile number
Specify the network-policy profile number.
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.