Set cdp hold-time, Clear cdp, Set cdp hold-time -5 clear cdp -5 – Enterasys Networks Enterasys D2 D2G124-12P User Manual

Page 97

Advertising
background image

set cdp hold-time

D-Series CLI Reference 3-5

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

Defaults

None.

Mode

Switch command, read‐write.

Example

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

D2(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

Defaults

At least one optional parameter must be entered.

Mode

Switch command, read‐write.

Example

This example shows how to reset the CDP state to auto‐enabled:

D2(su)->clear cdp state

hold‐time

Specifies the hold time value for CDP messages in seconds.Valid values are 
from 15 to 600.

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).

Advertising
This manual is related to the following products: