Configuration manual

Configuring Cisco Discovery Protocol
Fixed Switch Configuration Guide 13-11
Refer to your device’s CLI Reference Guide for more information about each command.
Example Enterasys Discovery Protocol Configuration
This example shows how to globally enable CDP:
System(rw)->set cdp state enable
This example shows how to enable the CDP for port ge.1.2:
System(rw)->set cdp state enable ge.1.2
This example shows how to disable the CDP for port ge.1.2:
System(rw)->set cdp state disable ge.1.2
Enterasys Discovery Protocol Show Commands
Table 13-4 lists Enterasys Discovery Protocol show commands.
Refer to your device’s CLI Reference Guide for a description of the output of each command.
Configuring Cisco Discovery Protocol
The following points describe how the Cisco DP extended trust settings work on the switch.
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 trusted yes
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 (trusted no), 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
parameter of this command.
Reset Enterasys Discovery Protocol settings to
defaults.
clear cdp {[state] [port-state port-
string] [interval] [hold-time] [auth-
code]}
Table 13-3 Enterasys Discovery Protocol Configuration Commands (continued)
Task Command
Table 13-4 Enterasys Discovery Protocol Show Commands
Task Command
Display the status of the CDP discovery protocol and
message interval on one or more ports.
show cdp [port-string]
Display Network Neighbor Discovery information
from all supported discovery protocols.
show neighbors [port-string]