beautypg.com

Ip address dhcp, Ip address vlan – Dell PowerEdge M600 User Manual

Page 322

background image

304

IP Addressing Commands

www

.dell.com | support.dell.com

User Guidelines

IP address protocol should be set to none before setting the static IP address.

Examples

The following examples configure the IP address 131.108.1.27 and subnet mask 255.255.255.0
and the same IP address with prefix length of 24 bits.

console(config)#ip address 131.108.1.27 255.255.255.0

console(config)#ip address 131.108.1.27 /24

ip address dhcp

Use the ip address dhcp command in Global Configuration mode to acquire an IP address for
management interface from the Dynamic Host Configuration Protocol (DHCP) server. To
deconfigure any acquired address, use the no form of this command.

Syntax

ip address {dhcp|bootp|none}

dhcp--Sets protocol to dhcp

bootp--Sets protocol to bootp

none--No protocol is set

Default Configuration

This command has no default configuration.

Command Mode

Global Configuration mode

User Guidelines

The ip address dhcp command allows the switch to dynamically obtain an IP address by using
the DHCP protocol.

Example

The following example acquires an IP address for the switch management interface from
DHCP.

console(config)#ip address dhcp

ip address vlan

Use the ip address vlan command in Global Configuration mode to set the management VLAN.