492
Configuring LLDP, LLDP-MED, and Wired Location Service
How to Configure LLDP, LLDP-MED, and Wired Location Service
Configuring LLDP-MED TLVs
Configuring Network-Policy TLV
This task explains how to create a network-policy profile, configure the policy attributes, and apply it to an interface.
Command Purpose
1. configure terminal Enters global configuration mode.
2. interface interface-id Specifies the interface on which you are configuring an LLDP-MED
TLV, and enters interface configuration mode.
3. lldp med-tlv-select tlv Specifies the TLV to enable.
4. end Returns to privileged EXEC mode.
Command Purpose
1. configure terminal Enters global configuration mode.
2. network-policy profile profile number Specifies the network-policy profile number, and enters
network-policy configuration mode. The range is 1 to 4294967295.
3. {voice | voice-signaling} vlan [vlan-id
{cos cvalue | dscp dvalue}] | [[dot1p
{cos cvalue | 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 4096.
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) Does 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. This is the default for the telephone.
4. exit Returns to global configuration mode.
5. interface interface-id Specifies the interface on which you are configuring a network-policy
profile, and enter interface configuration mode.
6. network-policy profile number Specifies the network-policy profile number.
7. lldp med-tlv-select network-policy Specifies the network-policy TLV.
8. end Returns to privileged EXEC mode.