set ciscodp port

Use this command to set the status, voice VLAN, extended trust mode, and CoS priority for untrusted traffic for the Cisco Discovery Protocol on one or more ports.

Syntax

set ciscodp port {[status {disable | enable}] [vvid {vlan-id | none | dot1p | untagged}] [trust-ext {trusted | untrusted}] [cos-ext value]} port-string

Parameters

status Sets the CiscoDP port operational status.
disable Does not transmit or process CiscoDP PDUs.
enable Transmits and processes CiscoDP PDUs.
vvid Sets the port voice VLAN for CiscoDP PDU transmission.
vlan-id Specifies the VLAN ID, range 1-4094.
none No voice VLAN will be used in CiscoDP PDUs.
dot1p Instructs attached phone to send 802.1p tagged frames.
untagged Instructs attached phone to send untagged frames.
trust-ext Sets the extended trust mode on the port.
trusted Instructs attached phone to allow the device connected to it to transmit traffic containing any CoS or Layer 2 802.1p marking. This is the default value.
untrusted Instructs attached phone to overwrite the 802.1p tag of traffic transmitted by the device connected to it to 0, by default, or to the value configured with the cos-ext parameter.
cos-ext value Instructs attached phone to overwrite the 802.1p tag of traffic transmitted by the device connected to it with the specified value, when the trust mode of the port is set to untrusted. Value can range from 0 to 7, with 0 indicating the lowest priority.
port-string Specifies the port(s) on which status will be set. For a detailed description of possible port-string values, refer to the S-, K-, and 7100 Series Configuration Guide.

Defaults

None.

Mode

All command modes.

Usage

Note

Note

The Cisco Discovery Protocol must be globally enabled using the set ciscodp status command as described in set ciscodp status before operational status can be set on individual ports.

The following points describe how the Cisco DP extended trust settings work on the Extreme Networks device.

  • A Cisco DP port trust status of trusted or untrusted is only meaningful when a Cisco IP phone is connected to a switch port and a PC or other device is connected to the back of the Cisco IP phone.
  • A Cisco DP port state of trusted or untrusted only affects tagged traffic transmitted by the device connected to the Cisco IP phone. Untagged traffic transmitted by the device connected to the Cisco IP phone is unaffected by this setting.
  • If the switch port is configured to a Cisco DP trust state of trusted (with the trust-ext trusted parameter of this command), this setting is communicated to the Cisco IP phone instructing it to allow the device connected to it to transmit traffic containing any CoS or Layer 2 802.1p marking.
  • If the switch port is configured to a Cisco DP trust state of untrusted, this setting is communicated to the Cisco IP phone instructing it to overwrite the 802.1p tag of traffic transmitted by the device connected to it to 0, by default, or to the value specified by the cos-ext parameter of this command.

There is a one-to-one correlation between the value set with the cos-ext parameter and the 802.1p value assigned to ingressed traffic by the Cisco IP phone. A value of 0 equates to an 802.1p priority of 0. Therefore, a value of 7 is given the highest priority.

Examples

This example shows how to set the Cisco DP port voice VLAN ID to 3 on port ge.1.6 and enable the transmission and processing of the Cisco DP PDUs on the port:

System(rw)->set ciscodp port status enable vvid 3 ge.1.6

This example shows how to set the Cisco DP extended trust mode to untrusted on port ge.1.5 and set the CoS priority to 1:

System(rw)->set ciscodp port trust-ext untrusted cos-ext 1 ge.1.5