27-9
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 27 Configuring LLDP, LLDP-MED, and Location Service Configuring LLDP and LLDP-MED, and Location Service
Configuring Network-Policy Profile
To create a network-policy profile, configure the policy attributes, and apply it to an interface, perform
this task:
Use the no form of each command to return to the default setting.
Command Purpose
Step 1 Switch# configure terminal Enters global configuration mode.
Step 2 Switch(config)# network-policy profile
profile number Specifies the network-policy profile number, and enter
network-policy configuration mode. The range is 1 to 4294967295.
Step 3 Switch(config-network-policy)# {voice |
voice-signaling} vlan [vlan-id
{cos cvalue | dscp dvalue}] | [[dot1p
{cos cva lue | dscp dvalue}] | none |
untagged]
Configures the policy attributes:
voice—Specifies the voice application type.
voice-signaling—Specifies the voice-signaling application type.
vlan—Specifies the native VLAN for voice traffic.
vlan-id—(Optional) Specifies the VLAN for voice traffic. The range
is 1 to 4094.
cos cvalue—(Optional) Specifies the Layer 2 priority class of service
(CoS) for the configured VLAN. The range is 0 to 7; the default is 0.
dscp dvalue—(Optional) Specifies the differentiated services code
point (DSCP) value for the configured VLAN. The range is 0 to 63;
the default is 0.
dot1p—(Optional) Configures 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) Configures the telephone to send untagged
voice traffic (the default for the telephone).
Step 4 Switch(config)# exit Returns to global configuration mode.
Step 5 Switch# configure terminal Enters global configuration mode.
Step 6 Switch(config)# interface interface-id Specifies the interface on which you are configuring a network-policy
profile, and enter interface configuration mode.
Step 7 Switch(config-if)# network-policy
profile number Specifies the network-policy profile number.
Step 8 Switch(config-if)# lldp med-tlv-select
network-policy Specifies the network-policy TLV.
Step 9 Switch(config-if)# end Returns to privileged EXEC mode.
Step 10 Switch# show network-policy profile Verifies the configuration.
Step 11 Switch# copy running-config
startup-config (Optional) Saves your entries in the configuration file.