set lldp port network-policy

Use this command to configure network policy for a set of applications on a port or range of ports.

Syntax

set lldp port network-policy {all | voice | voice-signaling | guest-voice | guest-voice-signaling | softphone-voice | video-conferencing | streaming-video | video-signaling} [state {enable | disable}] [tag {tagged | untagged}] 
[vid {vlan-id | dot1p}] [cos cos-value] [dscp dscp-value] port-string

Parameters

all Configures all applications.
voice Configures the voice application.
voice-signaling Configures the voice signaling application.

This application will not be advertised if the voice application is configured with the same parameters.

guest-voice Configures the guest voice application.
guest-voice-signaling Configures the guest voice signaling application.

This application will not be advertised if the guest-voice application is configured with the same parameters.

softphone-voice Configures the softphone voice application.
video-conferencing Configures the video conferencing application.
streaming-video Configures the streaming video application.
video-signaling Configures the video signaling application.

This application will not be advertised if the video-conferencing application is configured with the same parameters.

state enable | disable (Optional) Enables or disables advertising the application information being configured.
tag tagged | untagged (Optional) Indicates whether the application being configured is using a tagged or untagged VLAN. If untagged, both the VLAN ID and the CoS priority fields are ignored and only the DSCP value has relevance.
vid vlan-id | dot1p (Optional) VLAN identifier for the port. The value of vlan-id can range from 1 to 4094.

Use dot1p if the device is using priority tagged frames, meaning that only the IEEE 802.1D priority level is significant and the default PVID of the ingress port is used.

cos cos-value (Optional) Specifies the Layer 2 priority to be used for the application being configured. The value can range from 0 to 7. A value of 0 represents use of the default priority as defined in IEEE 802.1D.
dscp dscp-value (Optional) Specifies the DSCP value to be used to provide Diffserv node behavior for the application being configured. The value can range from 0 to 63. A value of 0 represents use of the default DSCP value as defined in RFC 2475.
port-string Specifies the port or range of ports to be affected.

Defaults

None.

Mode

All command modes.

Usage

As described in the ANSI/TIA Standards document 1057, the Network Policy TLV is “intended for use with applications that have specific real-time network policy requirements, such as interactive voice and/or video services” and should be implemented only on direct links between network connectivity devices and endpoint devices. Refer to the ANSI/TIA Standards document 1057 for descriptions of the application types.

After you configure Network Policy TLVs, you must also configure the port to send the Network Policy TLV with the command.

The policies configured with this command are sent in LLDPDUs as LLDP-MED Network Policy TLVs. Multiple Network Policy TLVs can be sent in a single LLDPDU.

Example

This example configures the voice application TLV on port ge.2.1 and then configures the port to send the Network Policy TLV.

System(rw)->set lldp port network-policy voice state enable tag tagged vlan dot1p ge.2.1
System(rw)->set lldp port tx-tlv med-pol ge.2.1