Set cdp state, Set cdp auth, Set cdp state -3 set cdp auth -3 – Enterasys Networks Enterasys D2 D2G124-12P User Manual

Page 95: Cdp state, Fer to, Set cdp, Auth

Advertising
background image

set cdp state

D-Series CLI Reference 3-3

set cdp state

Use this command to enable or disable the CDP discovery protocol on one or more ports.

Syntax

set cdp state {auto | disable | enable} [port-string]

Parameters

Defaults

If port‐string is not specified, the CDP state will be globally set.

Mode

Switch command, read‐write.

Examples

This example shows how to globally enable CDP:

D2(su)->set cdp state enable

This example shows how to enable the CDP for port 

ge

.1.2:

D2(su)->set cdp state enable ge.1.2

This example shows how to disable the CDP for port 

ge

.1.2:

D2(su)->set cdp state disable ge.1.2

set cdp auth

Use this command to set a global CDP authentication code.

Syntax

set cdp auth auth-code

Status

Whether CDP is enabled, disabled or auto-enabled on the port.

Table 3-8 show cdp Output Details (Continued)

Output Field

What It Displays...

auto | disable | 
enable 

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.

port‐string

(Optional) Enables or disables CDP on specific port(s). For a detailed 
description of possible port‐string values, refer to 

Port String Syntax Used in

the CLI

” on page 4‐1.

Advertising
This manual is related to the following products: