set cdp auth

set cdp auth

Use this command to set a global CDP authentication code.

Syntax

set cdp auth auth-code

Parameters

auth‐code

Specifies an authentication code for the CDP protocol. This can be up to 16

 

hexadecimal values separated by commas.

 

 

Defaults

None.

Mode

Switch command, read‐write.

Usage

The authentication code value determines a switch’s CDP domain. If two or more switches have the same CDP authentication code, they will be entered into each other’s CDP neighbor tables. If they have different authentication codes, they are in different domains and will not be entered into each other’s CDP neighbor tables.

A switch with the default authentication code (16 null characters) will recognize all switches, no matter what their authentication code, and enter them into its CDP neighbor table.

Example

This example shows how to set the CDP authentication code to 1,2,3,4,5,6,7,8:

C3(su)->set cdp auth 1,2,3,4,5,6,7,8:

set cdp interval

Use this command to set the message interval frequency (in seconds) of the CDP discovery protocol.

Syntax

set cdp interval frequency

Parameters

frequency

Specifies the transmit frequency of CDP messages in seconds.Valid values

 

are from 5 to 900 seconds.

 

 

Defaults

None.

Mode

Switch command, read‐write.

6-4 Discovery Protocol Configuration

Page 136
Image 136
Enterasys Networks 9034313-07 Set cdp auth, Set cdp interval, Use this command to set a global CDP authentication code