Link Layer Discovery Protocol (LLDP) Commands
78-21075-01 Command Line Interface Reference Guide
Parameters
•
number—Specifies the network policy sequential number. The range is
1-32
•
number
add/remove
the interface.
Default Configuration
No network policy is attached to the interface.
Command Mode
Interface Configuration (Ethernet) mode
User Guidelines
For each port, only one network policy per application (voice, voice-signaling, etc.)
can be defined.
Example
This example creates a network policy for the voice-signally application and
attaches it to port 1. LLDP packets sent on port 1 will contain the information
defined in the network policy.
switchxxxxxx
(config)# lldp med network-policy 1 voice-signaling vlan 1
vlan-type untagged up 1 dscp 2
switchxxxxxx(config)#
switchxxxxxx(config-if)#
37.19 lldp med network-policy voice auto
A network policy for voice LLDP packets can be created by using the
network-policy
(global). The lldp med network-policy voice auto Global
Configuration mode is simpler in that it uses the configuration of the Voice
application to create the network policy instead of the user having to manually
configure it.
This command generates an LLDP MED network policy for voice, if the voice VLAN
operation mode is auto voice VLAN. The voice VLAN, 802.1p priority, and the
DSCP of the voice VLAN are used in the policy. Use the no form of this command
—Attaches/removes the specified network policy to
interface gi1
lldp med network-policy add
37
1
lldp med
617