Cisco SPS2024 Reference Manual page 212

Cisco systems ethernet switch reference guide
Hide thumbs Also See for SPS2024:
Table of Contents

Advertisement

IP Address Commands
ip address dhcp
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide
Command Mode
Interface Configuration (VLAN) mode
User Guidelines
This command is only functional if the device is in Switch mode.
The ip address dhcp command allows any interface to dynamically learn its IP
address by using the DHCP protocol.
Some DHCP servers require that the DHCPDISCOVER message have a specific
host name. The ip address dhcp hostname
used when the host name is provided by the system administrator.
If the device is configured to obtain its IP address from a DHCP server, it sends a
DHCPDISCOVER message to provide information about itself to the DHCP server
on the network.
If the ip address dhcp command is used with or without the optional keyword, the
DHCP option 12 field (host name option) is included in the DISCOVER message. By
default, the specified DHCP host name is the globally configured host name of the
device. However, the ip address dhcp hostname
used to place a different host name in the DHCP option 12 field.
The no ip address dhcp command de-configures any IP address acquired, and
sends a DHCPRELEASE message.
Example
The following example acquires an IP address for Ethernet port e16 from DHCP.
Console(config)# interface vlan 1
Console(config-if)# ip address dhcp
host-name
command is most typically
host-name
command can be
15
210

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sps224g4Sps208g

Table of Contents