Administrator Guide

Table Of Contents
Layer 2 Switching Commands 502
Example
console(config)#interface out-of-band
console(config-if)#
ip address (Out-of-Band)
Use the ip address command in Interface Configuration mode to set an IP
address for the out-of-band interface. Use the no form of this command to
return the ip address configuration to its default value.
Syntax
ip address {
ip-address
{
mask
|
prefix-length
} | dhcp}
no ip address
ip-address
—Specifies a valid IPv4 address in dotted-quad notation.
mask
—Specifies a valid subnet (network) mask IPv4 address in dotted
quad notation.
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 out-of-
band port.
2CSNXXX_SWUM204.book Page 502 Monday, January 25, 2016 1:25 PM