36
584
Command Mode
Global Configuration mode
Ethernet Interface
Example
switchxxxxxx
(config) interface gi1
switchxxxxxx
(config-if) cdp log mismatch native
36.11 cdp device-id format
The cdp device-id format Global Configuration mode command specifies the
format of the Device-ID TLV. The no format of this command returns to default.
Syntax
cdp device-id format {mac | serial-number}
no cdp device-id format
Parameters
•
mac—Specifies that the Device-ID TLV contains the device's MAC address.
•
serial-number—Specifies that Device-ID TLV contains the device's
hardware serial number.
Default Configuration
MAC address is selected by default.
Command Mode
Global Configuration mode
Example
switchxxxxxx
(config) cdp device-id format serial-number
78-21075-01 Command Line Interface Reference Guide
CDP Commands