Configure LLDP-MED Network Policies on Ports

About this task

Perform this procedure to configure network policies on specific ports.

Procedure

  1. Enter GigabitEthernet Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...]}

    Note

    Note

    If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

  2. Configure a network policy:

    lldp med-network-policies {guest-voice | guest-voice-signaling | softphone-voice | streaming-video | video-conferencing | video-signaling | voice | voice-signaling} [dscp <0-63>] [priority <0-7>] [tagging {tagged|untagged}] [vlan-id <0-4059>]

Example

Configuring guest voice network policy on port 1/2:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#interface gigabitEthernet 1/2
Switch:1(config-if)#lldp med-network-policies guest-voice dscp 1 priority 5 tagging tagged vlan-id 5

Variable Definitions

The following table defines parameters for the lldp med-network-policies command.

Variable

Value

{guest-voice | guest-voice-signaling | softphone-voice | streaming-video | video-conferencing | video-signaling | voice | voice-signaling}

Specifies the type of network policy.

dscp <0-63>

Specifies the Layer 3 DiffServ Code Point (DSCP) value, as defined in IETF RFC 2474 and RFC 2475. The default is 0.

priority <0-7>

Specifies the priority level, as defined in IEEE 802.1D. The default is 0.

tagging {tagged | untagged}

Specifies the type of VLAN tagging to apply on the selected ports. The default is untagged.

vlan-id <0-4059>

Specifies the VLAN ID for the port, as defined in IEEE 802.1Q. If you configure priority tagged frames, the system recognizes only the 802.1D priority level and uses a value of 0 for the VLAN ID of the ingress port.

The default is 0.