3.2.2.2
set cdp state
Use this command to enable or disable the CDP discovery protocol on one or more ports.
set cdp state {auto | disable | enable} [port-string]
Syntax Description
auto | disable |
enable
port-string
Command Defaults
If port-string is not specified, the CDP state will be globally set.
Command Type
Switch command.
Command Mode
Read-Write.
Examples
This example shows how to globally enable CDP:
Matrix(rw)->set cdp state enable
This example shows how to enable the CDP for port fe.1.2:
Matrix(rw)->set cdp state enable fe.1.2
This example shows how to disable the CDP for port fe.1.2:
Matrix(rw)->set cdp state disable fe.1.2
Auto-enables, disables or enables the CDP protocol on the
specified port(s). In auto-enable mode, which is the default
mode for all ports, a port automatically becomes
CDP-enabled upon receiving its first CDP message.
(Optional) Enables or disables CDP on specific port(s). For
a detailed description of possible port-string values, refer to
Section
4.1.1.
Matrix DFE-Platinum and Diamond Series Configuration Guide
Discovery Protocols Command Set
Enterasys Discovery Protocol
3-7