Enterasys Networks 9034313-07 manual Set cdp state, Auto disable, Enable

Models: 9034313-07

1 872
Download 872 pages 24.54 Kb
Page 135
Image 135

 

 

set cdp state

 

Table 6-1 show cdp Output Details (Continued)

 

 

 

 

Output Field

What It Displays...

 

 

 

 

CDP Authentication

Authentication code for CDP discovery protocol. The default of 00-00-00-00-00-00-

 

Code

00-00 can be reset using the set cdp auth command. For details, refer to set cdp

 

 

auth” on page 6-4.

 

 

 

 

CDP Transmit

Frequency (in seconds) at which CDP messages can be transmitted. The default of

 

Frequency

60 seconds can be reset with the set cdp interval command. For details, refer to set

 

 

cdp interval” on page 6-4.

 

 

 

 

Port

Port designation. For a detailed description of possible port-stringvalues, refer to

 

 

Port String Syntax Used in the CLI” on page 7-1.

 

 

 

 

Status

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

 

 

 

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

auto disable

Auto‐enables, disables or enables the CDP protocol on the specified port(s).

enable

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 7‐1.

 

 

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:

C3(su)->set cdp state enable

This example shows how to enable the CDP for port ge.1.2:

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

This example shows how to disable the CDP for port ge.1.2:

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

SecureStack C3 Configuration Guide 6-3

Page 135
Image 135
Enterasys Networks 9034313-07 manual Set cdp state, Auto disable, Enable