Quick Reference Guide

480 IP Addressing Commands
Syntax
ip address {
ip-address
{
mask
|
prefix-length
} | dhcp}
no ip address
ip-address
—Specifies a valid IP address.
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
bits)
dhcp
—Obtain the out-of-band interface address via DHCPv4.
Default Configuration
The out-of-band interface (service port) obtains an IP address via DHCP by
default.
Command Mode
Interface (Out-of-Band) Configuration mode
User Guidelines
When setting the netmask/prefix length on an IPv4 address, a space is
required between the address and the mask or prefix length. Setting an IP
address on the out-of-band port enables switch management over the service
port.
In order to ensure the security of the switches from intruders, it is strongly
recommended that the out-of-band interface be isolated on a physically
separate network from the in-band ports.
Example
The following examples configure the out-of-band interface with an 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)#interface out-of-band
console(config-if)#ip address 131.108.1.27 255.255.255.0
console(config-if)#ip address 131.108.1.27 /24
2CSNXXX_SWUM200.book Page 480 Tuesday, December 10, 2013 1:22 PM