DELL PC6224F User Manual

Page of 1356
IP Addressing Commands
357
mask — Specifies a valid subnet (network) mask IP address.
prefix-length — The number of bits that comprise the IP address prefix. 
The prefix length must be preceded by a forward slash (/). (Range: 1-30)
Default Configuration
The switch management interface obtains an IP address via DHCP by 
default.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
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