Use this command to set a global CDP authentication code.
auth-code | Specifies an authentication code for the CDP protocol. This can be up to 16 hexadecimal values separated by commas. The default value is 00-00-00-00-00-00-00-00. |
None.
All command modes.
This value determines a device‘s CDP domain. If two or more devices 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 device with the default authentication code (16 null characters) will recognize all devices, no matter what their authentication code, and enter them into its CDP neighbor table.
This example shows how to set the CDP authentication code to 1,2,3,4,5,6,7,8:
System(rw)->set cdp auth 1,2,3,4,5,6,7,8