Ip Address Dhcp - Cisco SPS2024 Reference Manual

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

Advertisement

IP Address Commands

ip address dhcp

ip address dhcp
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide
User Guidelines
An IP address cannot be configured for a range of interfaces (range context).
This command is only functional if the device is in Switch mode.
Example
The following example configures VLAN 1 with IP address 131. 1 08. 1 .27 and
subnet mask 255.255.255.0.
Console(config)# interface vlan 1
Console(config-if)# ip address 131.108.1.27 255.255.255.0
The ip address dhcp Interface Configuration (VLAN) mode command acquires an
IP address for an Ethernet interface from the Dynamic Host Configuration Protocol
(DHCP) server. Use the no form of this command to de-configure an acquired IP
address.
Syntax
ip address dhcp [hostname
no ip address dhcp
Parameters
host-name
— Specifies the name of the host to be placed in the DHCP
option 12 field. This name does not have to be the same as the host name
specified in the hostname Global Configuration mode command. (Range: 1-
20 characters)
Default Configuration
This command has no default configuration.
host-name
]
15
209

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sps224g4Sps208g

Table of Contents