CDP Commands
cdp device-id format
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
105
7
switchxxxxxx(config)#
cdp appliance-vlan enable
cdp device-id format
To specify the format of Device-ID TLV, use the cdp device-id format Global
Configuration mode command.
Syntax
cdp device-id format {mac | serial-number | hostname}
Parameters
•
mac—The Device-ID TLV contains the MAC address of the switch.
•
serial-number—The Device-ID TLV contains the hardware serial number of
the switch.
•
hostname—The Device-ID TLV contains the hostname of the switch.
Default Configuration
The MAC address of the switch is contained by default.
Command Mode
Global Configuration mode
Example
switchxxxxxx(config)#
cdp device-id format serial-number
cdp enable
To enable CDP on an interface, use the cdp enable Interface Configuration mode
command.
To disable CDP on an interface, use the no form of this command.