C Commands
cdp format device-id
38
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
cdp format device-id
To configure a device ID format for Cisco Discovery Protocol (CDP), use the cdp format device-id
command. To remove the device ID format, use the no form of this command.
cdp format device-id {mac-address | serial-number | system-name}
no cdp format device-id {mac-address | serial-number | system-name}
Syntax Description
Defaults None
Command Modes Global configuration mode (config)
Supported User Roles network-admin
vdc-admin
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to configure a device ID format for CDP:
switch(config)# cdp format device-id mac-address
switch(config)#
This example shows how to remove the device ID format:
switch(config)# no cdp format device-id mac-address
switch(config)#
Related Commands
mac-address Specifies the MAC-address of the chassis.
serial-number Specifies the chassis serial number or Organizationally Unique Identifier (OUI).
system-name Specifies the system name. The default is fully qualified domain name.
Release Modification
4.0(1) This command was introduced.
Command Description
cdp enable Configures a device ID format for CDP.