![Cisco 2975 - Catalyst LAN Base Switch Software Configuration Manual Download Page 617](http://html.mh-extra.com/html/cisco/2975-catalyst-lan-base-switch/2975-catalyst-lan-base-switch_software-configuration-manual_67480617.webp)
25-9
Catalyst 2975 Switch Software Configuration Guide
OL-19720-02
Chapter 25 Configuring LLDP, LLDP-MED, and Wired Location Service
Configuring LLDP, LLDP-MED, and Wired Location Service
Configuring Network-Policy TLV
Beginning in privileged EXEC mode, follow these steps to create a network-policy profile, configure the
policy attributes, and apply it to an interface.
Use the
no
form of each command to return to the default setting.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
network-policy profile
profile number
Specify the network-policy profile number, and enter network-policy
configuration mode. The range is 1 to 4294967295.
Step 3
{
voice
|
voice-signaling
}
vlan
[
vlan-id
{
cos
cvalue
|
dscp
dvalue
}] | [[
dot1p
{
cos
cvalue
|
dscp
dvalue
}]
| none
|
untagged
]
Configure the policy attributes:
voice
—Specify the voice application type.
voice-signaling
—Specify the voice-signaling application type.
vlan
—Specify the native VLAN for voice traffic.
vlan-id
—(Optional) Specify the VLAN for voice traffic. The range is 1 to
4094.
cos
cvalue
—(Optional) Specify the Layer 2 priority class of service (CoS)
for the configured VLAN. The range is 0 to 7; the default is 5.
dscp
dvalue
—(Optional) Specify the differentiated services code point
(DSCP) value for the configured VLAN. The range is 0 to 63; the default
is 46.
dot1p
—(Optional) Configure the telephone to use IEEE 802.1p priority
tagging and use VLAN 0 (the native VLAN).
none
—(Optional) Do not instruct the IP telephone about the voice VLAN.
The telephone uses the configuration from the telephone key pad.
untagged
—(Optional) Configure the telephone to send untagged voice
traffic. This is the default for the telephone.
Step 4
exit
Return to global configuration mode.
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.