set cdp hold-time

Example

This example shows how to set the CDP interval frequency to 15 seconds:

C3(su)->set cdp interval 15

set cdp hold-time

Use this command to set the hold time value for CDP discovery protocol configuration messages.

Syntax

set cdp hold-time hold-time

Parameters

hold‐time

Specifies the hold time value for CDP messages in seconds.Valid values are

 

from 15 to 600.

 

 

Defaults

None.

Mode

Switch command, read‐write.

Example

This example shows how to set CDP hold time to 60 seconds:

C3(su)->set cdp hold-time 60

clear cdp

Use this command to reset CDP discovery protocol settings to defaults.

Syntax

clear cdp {[state] [port-state port-string] [interval] [hold-time][auth-code]}

Parameters

state

(Optional) Resets the global CDP state to auto‐enabled.

port‐state port‐string

(Optional) Resets the port state on specific port(s) to auto‐enabled.

 

 

interval

(Optional) Resets the message frequency interval to 60 seconds.

 

 

hold‐time

(Optional) Resets the hold time value to 180 seconds.

 

 

auth‐code

(Optional) Resets the authentication code to 16 bytes of 00 (00‐00‐00‐

 

00‐00‐00‐00‐00).

 

 

Defaults

At least one optional parameter must be entered.

SecureStack C3 Configuration Guide 6-5

Page 137
Image 137
Enterasys Networks 9034313-07 manual Set cdp hold-time, Clear cdp