This article provides instructions on how to configure Cisco Discovery Protocol (CDP) settings on your CBS220 switch using the Graphical User Interface (GUI).
The Cisco Discovery Protocol (CDP) is a protocol used by Cisco devices to share device information with other connected Cisco devices. This includes the type of device, firmware version, IP address, serial number, and other identifying information. CDP is enabled by default.
CDP settings can be adjusted globally or on an individual port basis. Let’s get started!
Log in to the CBS220 switch.
Choose Administration > Discovery CDP > Properties.
In the CDP Status field, check the Enable checkbox to activate CDP on the switch.
It is enabled by default.
If CDP is not enabled, select a radio button corresponding to the action you want the switch to take when it receives a CDP packet. The options are:
In the CDP Voice VLAN Advertisement field, check the Enable checkbox to have the switch advertise the voice VLAN over CDP on all ports that have CDP enabled and are members of the voice VLAN.
In the CDP Mandatory TLVs Validation field, check the Enable checkbox to discard incoming CDP packets that do not contain the mandatory TLV (type-length-value).
In the CDP Version field, select a radio button to choose which version of CDP to use (Version 1 or Version 2).
In the CDP Hold Time field, select a radio button to determine the amount of time CDP packets are held before being discarded. Select Use Default to use the default amount of time (180 seconds) or User Defined to specify a custom amount of time between 10 - 255 seconds.
In the CDP Transmission Rate field, select a radio button to determine the transmission rate of CDP packets in seconds. Select Use Default to use the default amount of time (60 seconds) or User Defined to specify a custom amount of time between 5 - 254 seconds.
In the Device ID Format field, select a radio button to determine the format of the device ID.
In the Source Interface field, select a radio button to determine what IP address will be used in the TLV field of outgoing CDP packets. Select Use Default to use the IP address of the outgoing interface, or User Defined to choose an interface (the selected interface’s IP address will be used) from the drop-down menu in the Interface field.
In the Syslog Voice VLAN Mismatch field, check the Enable checkbox to send a syslog message when a voice VLAN mismatch is detected. A VLAN mismatch is when VLAN information in an incoming frame does not match the advertised capabilities of the local device.
In the Syslog Native VLAN Mismatch field, check the Enable checkbox to send a syslog message when a native VLAN mismatch is detected.
In the Syslog Duplex Mismatch field, check the Enable checkbox to send a syslog message when a duplex mismatch is detected.
Click Apply. The CDP properties are defined.
The Port Settings page allows you to enable/disable CDP per port. By setting these properties, it is possible to select the types of information to be provided to devices that support the protocol.
Click Administration > Discovery CDP > Port Settings.
Select a port and click Edit.
The Interface field displays the port selected in the CDP Interface Settings Table. You can use the Port and LAG drop-down lists to select another port and LAG to configure, respectively.
In the CDP Status field, check the Enable checkbox to enable CDP on the port specified.
In the Syslog Voice VLAN Mismatch field, check the Enable checkbox to send a syslog message when a voice VLAN mismatch is detected on the port specified. A VLAN mismatch is when VLAN information in an incoming frame does not match the advertised capabilities of the local device.
In the Syslog Native VLAN Mismatch field, check the Enable checkbox to send a syslog message when a native VLAN mismatch is detected on the port specified.
In the Syslog Duplex Mismatch field, check the Enable checkbox to send a syslog message when a duplex mismatch is detected on the port specified.
Click Apply. The changes will be applied to the port specified.
To quickly copy a port’s settings to another port or ports, select its radio button and click the Copy Settings icon. The Copy Settings window opens.
In the text field, enter the port or ports (separated by commas) that you want to copy the specified port’s settings to. You can also enter a range of ports. Click Apply.
That’s it! You have successfully configured CDP settings either globally or on individual ports on your CBS220 switch.
For more configurations, refer to the Cisco Business 220 Series Switches Administration Guide.