Administrator Guide

Switch Management Commands 1983
User Guidelines
This command is not available on the N1100-ON/N1500/N2000 Series
switches, nor on the N2128PX-ON switch.
Example
console(config)#interface out-of-band
console(config-if)#
ip address
Use the ip address command to configure an IP address on an in-band VLAN
or loopback interface. Also use this command to configure one or more
secondary IP addresses on the interface.
Syntax
ip address ip-address {{subnet-mask | prefix-length}
[secondary]|dhcp|none}
no ip address ip-address {subnet-mask | prefix-length} [secondary]
ip-address — IP address of the interface.
dhcp — Obtain the address from a DHCP server.
none — Clear the address assignment method.
subnet-mask — Subnet mask of the interface
prefix-length — Length of the prefix. Must be preceded by a forward slash
(/). (Range: 1-30 bits)
secondary — Indicates the IP address is a secondary address.
Default Configuration
The N1100/N1500/N2000/N2100-ON default IPv4 address assignment
method is DHCP on VLAN 1.
The N3000/N3100/N4000 default IPv4 address assignment method on VLAN
1 is none, and the default address assignment on the out-of-band port is
DHCP. See the ip address (Out-of-band) command for more information.
Use the no interface vlan command to remove an IP routing interface, clear
any bound IP address and set the address assignment method to the default.