Defines an Link Layer Discovery Protocol-Media Endpoint Discovery (LLDP-MED) network policy for an endpoint.
lldp med network-policy application
application-type
tagged
vlan
vlan-id
priority
priority-value
dscp
dscp-value
ports
{
all
| [
ethernet
unit/slot/port
[
to
unit/slot/port
]
... ]
}
no lldp med network-policy application
application-type
tagged vlan
vlan-id
priority
priority-value
dscp
dscp-value
ports
{
all
| [
ethernet
unit/slot/port
[
to
unit/slot/port
]
... ]
}
lldp med network-policy application
application-type
untagged
dscp
dscp-value
ports
{
all
| [
ethernet
unit/slot/port
[
to
unit/slot/port
]
... ]
}
no lldp med network-policy application
application-type
untagged
dscp
dscp-value
ports
{
all
| [
ethernet
unit/slot/port
[
to
unit/slot/port
]
... ]
}
lldp med network-policy application
application-type
priority-tagged
priority
priority-value
dscp
dscp-value
ports
{
all
| [
ethernet
unit/slot/port
[
to
unit/slot/port
]
... ]
}
no lldp med network-policy application
application-type
priority-tagged
priority
priority-value
dscp
dscp-value
ports
{
all
| [
ethernet
unit/slot/port
[
to
unit/slot/port
]
... ]
}
An LLDP-MED network policy is not defined.
application-type
| Configures the primary function of the applications defined by this network policy. The application type can be one of the following:
guest-voice
| Limited voice service for guest users and visitors with their own IP telephony handsets or similar devices that support interactive voice services.
|
guest-voice-signaling
| Limited voice service for use in network topologies that require a different policy for guest voice signaling than for guest voice media.
|
softphone-voice
| Softphone voice service for use with multimedia applications that work in association with VoIP technology, enabling phone calls direct from a PC or laptop. Softphones do not usually support multiple VLANs and are typically configured to use an untagged VLAN or a single tagged data-specific VLAN. Note that when a network policy is defined for use with an untagged VLAN, the Layer 2 priority field is ignored and only the DSCP value is relevant.
|
streaming-video
| Applies to broadcast- or multicast-based video content distribution and similar applications that support streaming video services requiring specific network policy treatment. Video applications that rely on TCP without buffering would not be an intended use of this application type.
|
video-conferencing
| Applies to dedicated video conferencing equipment and similar devices that support real-time interactive video/audio services.
|
video-signaling
| For use in network topologies that require a separate policy for video signaling than for video media. Note that this application type should not be advertised if all the same network policies apply as those advertised in the video conferencing policy TLV.
|
voice
| For use by dedicated IP telephony handsets and similar devices that support interactive voice services.
|
voice-signaling
| For use in network topologies that require a different policy for voice signaling than for voice media. Note that this application type should not be advertised if all the same network policies apply as those advertised in the voice policy TLV.
|
|
tagged vlan
vlan-id
| Specifies the tagged VLAN that the specified application type will use.
|
untagged
| Configures the device to use an untagged frame format.
|
priority-tagged
| Configures the device to use priority-tagged frames. In this case, the device uses the default VLAN (PVID) of the ingress port.
|
priority
priority-value
| Configures the Layer 2 priority value to be used for the specified application type. Enter 0 to use the default priority. Valid values are 0 through 7.
|
dscp
dscp-value
| Configures the Layer 3 differentiated services codepoint priority value to be used for the specified application type. Enter 0 to use the default priority. Valid values are 0 through 63.
|
ports
| Specifies the ports.
|
ethernet
unit/slot/port
| Configures the network policy on the specified Ethernet interface.
|
to
unit/slot/port
| Configures the network policy on a range of Ethernet interfaces.
|
Global configuration mode
An LLDP-MED network policy defines an endpoint VLAN configuration (VLAN type and VLAN ID) and associated Layer 2 and Layer 3 priorities that apply to a specific set of applications on a port.
Note: This feature applies to applications that have specific real-time network policy requirements, such as interactive voice or video services. It is not intended to run on links other than links between network connectivity devices and endpoints, and therefore does not advertise the multitude of network policies that frequently run on an aggregated link.
You can specify a list of ports, separated by a space, or a range of ports, or you can combine lists and ranges.
The command cannot support LAG virtual interfaces. Attempting to configure them will have no effect.
The
no form of the command removes the defined LLDP-MED network policy for an Endpoint.
The following example defines an LLDP-MED network policy for an endpoint.
device(config)# lldp med network-policy application voice tagged vlan 99 priority 3 dscp 22 ports ethernet 1/1/1 to 1/1/3