Command Reference, Cisco Ios Xe Everest 16.5.1A (Catalyst 3650 Switches - Cisco Catalyst 3650 series Command Reference Manual

Cisco ios xe everest 16.5.1a
Hide thumbs Also See for Catalyst 3650 series:
Table of Contents

Advertisement

ip address dhcp
The no ip address dhcp command removes any IP address that was acquired, thus sending a DHCPRELEASE
message.
You might need to experiment with different configurations to determine the one required by your DHCP
server. The table below shows the possible configuration methods and the information placed in the DISCOVER
message for each method.
Table 10: Configuration Method and Resulting Contents of the DISCOVER Message
Configuration Method
ip address dhcp
ip address dhcp hostname hostname
ip address dhcp client-id ethernet 1
ip address dhcp client-id ethernet 1 hostname
hostname
Examples
In the examples that follow, the command ip address dhcp is entered for Ethernet interface 1. The DISCOVER
message sent by a device configured as shown in the following example would contain "cisco- mac-address
-Eth1" in the client-ID field, and the value abc in the option 12 field.
hostname abc
!
interface GigabitEthernet 1/0/1
ip address dhcp
The DISCOVER message sent by a device configured as shown in the following example would contain
"cisco- mac-address -Eth1" in the client-ID field, and the value def in the option 12 field.
hostname abc
!
interface GigabitEthernet 1/0/1
ip address dhcp hostname def
The DISCOVER message sent by a device configured as shown in the following example would contain the
MAC address of Ethernet interface 1 in the client-id field, and the value abc in the option 12 field.
hostname abc
!

Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)

168
Contents of DISCOVER Messages
The DISCOVER message contains "cisco-
mac-address -Eth1" in the client ID field. The
mac-address is the MAC address of the Ethernet 1
interface and contains the default hostname of the
device in the option 12 field.
The DISCOVER message contains "cisco-
mac-address -Eth1" in the client ID field. The
mac-address is the MAC address of the Ethernet 1
interface, and contains hostname in the option 12
field.
The DISCOVER message contains the MAC address
of the Ethernet 1 interface in the client ID field and
contains the default hostname of the device in the
option 12 field.
The DISCOVER message contains the MAC address
of the Ethernet 1 interface in the client ID field and
contains hostname in the option 12 field.

Advertisement

Table of Contents
loading

Table of Contents